CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   bc:Inletmassflow as function of pressure drop (https://www.cfd-online.com/Forums/openfoam-pre-processing/136405-bc-inletmassflow-function-pressure-drop.html)

Meister May 28, 2014 04:36

bc:Inletmassflow as function of pressure drop
 
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!

jherb June 27, 2014 12:47

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

Meister June 30, 2014 08:23

Thanks!
 
Hi Jherb,

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

Thank you!


All times are GMT -4. The time now is 18:55.