CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

bc:Inletmassflow as function of pressure drop

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2014, 04:36
Default bc:Inletmassflow as function of pressure drop
  #1
New Member
 
Thomas
Join Date: May 2014
Posts: 14
Rep Power: 11
Meister is on a distinguished road
Hi everyone,

im quite new to of but i already setup some geometries and simulated successfully with icoFoam and simpleFoam.
I want to compare a existing cfx-simulation with of. It is stationary, incompressible and isotherm and the geometry is more or less a tube. For the Inlet boundary-condition in cfx I used a user-function which measures a pressure-drop (between two interfaces) and puts a related massflow to the Inlet. So my question is how can i establish such a "user-function" in of, does anyone has a Idea?

Thanks!
Meister is offline   Reply With Quote

Old   June 27, 2014, 12:47
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Have a look at groovyBC http://openfoamwiki.net/index.php/Contrib_groovyBC

I think it should be possible with it (you can determine the pressures at different positions and calculate values based on them to be used as boundary conditions). Also search this forum.

See also http://openfoamwiki.net/images/7/7a/...icTraining.pdf and search for Boundary conditions with feedback
jherb is offline   Reply With Quote

Old   June 30, 2014, 08:23
Default Thanks!
  #3
New Member
 
Thomas
Join Date: May 2014
Posts: 14
Rep Power: 11
Meister is on a distinguished road
Hi Jherb,

thanks for the helpful links, I will try groovyBC for that.

Thank you!
Meister is offline   Reply With Quote

Reply

Tags
boundary condition, user defined function


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
channelFoam for a 3D pipe AlmostSurelyRob OpenFOAM 3 June 24, 2011 13:06
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
Pipe Flow - Pressure Drop Daniel L FLOW-3D 2 December 10, 2010 04:23
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


All times are GMT -4. The time now is 19:48.