CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Unsteady ramp inlet velocity (https://www.cfd-online.com/Forums/su2/234760-unsteady-ramp-inlet-velocity.html)

alicezanella March 17, 2021 12:56

Unsteady ramp inlet velocity
 
Hello,



I was wondering if it's possible to add a ramp inlet velocity to an unsteady simulation.

I would like for the velocity to grow for the first 2s as a ramp.



Thank you for your help,



Alice

koray March 21, 2021 13:09

Hi there, "Laminar Backward-facing Step" tutorial might be helpful.

TKatt March 23, 2021 05:06

Hi,


From the code it looks like the method of prescribing inlet profiles is possible for each time step. In the mentioned tutorial https://su2code.github.io/tutorials/Inc_Laminar_Step/ it is done for a steady state simulation.


For unsteady you would add a 'inlet_filename' + '_00000.dat' (+ _00001.dat and so on) extension that represent the time iteration. so one inlet file is loaded each timestep. I recommend putting those in an extra folder and then INLET_FILENAME= folder/inlet_filename in the config to not clutter everything ;)

Not really the most elegant way and requires a bit of (most likely python) scripting but it is the most flexibel option imo.



hope that helps :)



Cheers, Tobi


All times are GMT -4. The time now is 13:46.