Runtime Variables in OpenFoam
Is there any way to implement runtime variables in openfoam? For example setting an inlet mass flow rate as a function of the average pressure over the boundary. I have looked through the documentation but did not see anything on this, perhaps I missed it.
|
groovyBC might be the answer
You might want to check out the utility groovyBc. For setting complicated boundary conditions or making them a function of another value (average outlet pressure), you might want to use this
http://openfoamwiki.net/index.php/Contrib_groovyBC there are also plenty of posts around here that deal with it. Start here after the wiki: http://www.cfd-online.com/Forums/ope...rb-mesh-2.html hope this helps. Dan |
All times are GMT -4. The time now is 03:35. |