CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Runtime Variables in OpenFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 16, 2010, 16:14
Default Runtime Variables in OpenFoam
James Baker
Join Date: Dec 2009
Posts: 35
Rep Power: 9
fijinx is on a distinguished road
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.
fijinx is offline   Reply With Quote

Old   August 17, 2010, 18:08
Default groovyBC might be the answer
Senior Member
chegdan's Avatar
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 613
Rep Power: 22
chegdan will become famous soon enoughchegdan will become famous soon enough
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

there are also plenty of posts around here that deal with it.

Start here after the wiki:

hope this helps.

chegdan is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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

All times are GMT -4. The time now is 01:11.