-
Notifications
You must be signed in to change notification settings - Fork 34
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
Varying inflow velocity using bc_profile #111
Comments
Hi @DynoAbd786-Uni . Yes, XLB is capable of that but right now, that particualr use case is not shown in any of our examples. With our current APIs, this is what you would need to do to enable this feature (althoguh this could be further improved for performance):
Hopefully this will get you going in the right track. But please let me know if you have any further issues. |
Thanks for your help. I've looked into the source code and have tried to make a custom class that implements updating the timestep for the ZouHe bc rather than recreating the bc per run cycle. Every run cycle in my code calls to update the timestep according to the current timestep in the run loop. it is inheriting the existing ZouHe bc class and is overriding some JAX and WARP functions. I think it essentially is a direct copy of the ZouHe class but just with an added This is running on the latest release version v0.2.1. |
That sounds great. Please see the contribution guidelines and submit a PR 😊. |
I'd be happy to, but some aspects of my code serve as my dissertation. I'd be happy to contribute once my dissertation has been handed in if that's OK 😊. |
Hi. I'm looking into varying the velocity of inflow to be time-dependant, e.g. following a sinusoidal flow pattern where peaks represent max velocity at the inlet. Is XLB capable of this if I create a bc_profile with the ZouHeBC
The text was updated successfully, but these errors were encountered: