CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Variable inlet speed in function of time (http://www.cfd-online.com/Forums/openfoam/67672-variable-inlet-speed-function-time.html)

Pascal_doran August 22, 2009 19:06

Variable inlet speed in function of time
 
Hi all,

Does anyone could explain to me how to set a variable (in function of time) inlet speed ? (i.e variable boundary condition for the inlet in a sonic flow)

Thank you very much,

Pascal

sega August 23, 2009 03:34

Maybe you can realize this with groovyBC: http://openfoamwiki.net/index.php/Contrib_groovyBC

Schag August 24, 2009 05:03

If you do not manage to use groovyBC, you can also do that by adding a small piece of code into your solver that modifies the inlet condition at each time step.


All times are GMT -4. The time now is 02:06.