-
Notifications
You must be signed in to change notification settings - Fork 848
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
time-varying boundary conditions #1079
Comments
This is possible using the Python wrapper. There are no tutorials for this yet, but you can check out PR #488, PR #503. PR #516. There's currently a regression test using unsteady heat-transfer boundary conditions at: https://github.com/su2code/SU2/tree/master/TestCases/py_wrapper/flatPlate_unsteady_CHT . You can use that as an example. Velocity BCs will be very similar. |
Thank you Clark, Best regards |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still a relevant issue please comment on it to restart the discussion. Thank you for your contributions. |
Hello SU2 developers, I am reopening this topic because I am studying a case of jet impingement on a wall with a time-varying flow at the inlet. I have used compressible RANS and TOTAL_CONDITIONS as inlet BC. Specifically, I have set a time-varying stagnation pressure at inlet. To do this, I used the Python script mentioned in the previous messages, modifying some commands to suit my problem. I should mention that I do not use Python frequently, so there are likely some errors. Indeed, I checked the documentation and noticed that the command I used to vary the pressure at the inlet (SetMarkerCustomPtotal) is not listed. However, when I run the simulation, it seems to work quite well. Unfortunately, when examining the pressure field, it appears that the time-varying boundary conditions are applied on the walls with no-slip conditions (represented by the MARKER_ISOTHERMAL command) and not at the inlet as I want. Could you please tell me what changes I need to make in the Python script to correctly set up the problem? For completeness, I am attaching the script I modified, the configuration file, and a video of the pressure field. Thank you in advance for your help. Best Regards. |
Seems like we lost that function recently, I'll try to fix it and put together a working example, then you can adapt it to your problem. |
Thanks a lot for your reply. I look forward to your future updates. |
I might rename some stuff before merging, but see if this helps with your case #2296 |
Sorry to bother you again. I am trying to figure out how (from a practical point of view) implement your changes in my SU2 code. May I just add your three lines somewhere? In such case could you help me with the name of the file that I should edit? Thank you in advance for your support. |
Hi, |
Dear SU2 developers,
Is it possible to have a time-varying boundary condition? I would interested in the possibility to apply a time-varying velocity
Thank you for your job
Best regards
The text was updated successfully, but these errors were encountered: