|
[Sponsors] |
August 16, 2010, 16:14 |
Runtime Variables in OpenFoam
|
#1 |
Member
James Baker
Join Date: Dec 2009
Posts: 35
Rep Power: 16 |
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.
|
|
August 17, 2010, 18:08 |
groovyBC might be the answer
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User Fortran - Alter variables in runtime | ellevset | CFX | 3 | July 6, 2010 18:37 |
Modified OpenFOAM Forum Structure and New Mailing-List | pete | Site News & Announcements | 0 | June 29, 2009 05:56 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 13:50 |