CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Runtime Variables in OpenFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2010, 16:14
Default Runtime Variables in OpenFoam
  #1
Member
 
James Baker
Join Date: Dec 2009
Posts: 35
Rep Power: 16
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
  #2
Senior Member
 
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0
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

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
chegdan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 16:44.