-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two inhomogeneous directions? #16
Comments
Hej Sean-Christophe |
Hi, Just wanted to make a note that with PR #21 there is now a generic solver for 2 inhomogeneous directions (see link). The solver makes use of sparse linear algebra from scipy, but is not highly optimized for speed. The solver is direct but the factorizations are (for now) not stored as would be efficient for multiple solves. Can be easily added later. Some demos are:: |
Happy New Year! Awesome! Thanks a lot for the update! Haven't had time to keep working on my Rayleigh-Benard code, but I'll keep you updated once I have a working version. |
Great:-) I have also (slowly) been adding some more documentation, which may be of help in understanding how things actually work:-) |
Hey Mikael, thank you for providing such a cool package! For me it would be quite interesting to have a solver for 3 non-periodic directions (Legendre, Chebyshev). Are there any plans to extend this functionality? |
Hi @stefmech Three non-periodic directions are actually already possible. There may be limited possibilities in terms of linear algebra, but I just verified that this works:
|
Hej Mikael,
I have successfully written as small python code for two-dimensional turbulence using shenfun. I am planning to move on to a fully three-dimensional channel flow, and maybe eventually a duct flow. In that matter, it is written in the abstract of the shenfun paper:
Do you have any plan of adding eventually multiple (say just two to begin with) inhomogeneous directions? That would be extremely valuable for people interested in confined flows (e.g. lid-driven cavity flows or duct flow to mention just two of them).
Thanks a lot anyway for developing shenfun. A really cool package!
The text was updated successfully, but these errors were encountered: