CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   A question about boundary condition?? (http://www.cfd-online.com/Forums/openfoam-solving/89763-question-about-boundary-condition.html)

lfgmarc June 21, 2011 22:13

A question about boundary condition??
 
Hi, I trying to setup a case, in which I need that the inlet pressure changing according to the value of the outlet pressure. any suggestion ?

Best Regards, and thanks for your help

fg

wschosta June 22, 2011 18:08

one possible solution is as follows:

if your inlet condition needs to be the same as your outlet you could make the walls at your inlet and outlet cyclic (periodic) which would basically mean that anything going out the outlet would come back in through the inlet. The problem with that is it also preserves any funky things going on with your fluid. And because the pressure is changing I'm guessing some funky things are happening.

that said I've tried my own interesting wall conditions and you might want to look at swak4foam, it was recommended to me while I was on my quest. It's an additional library that allows you to use equations for the boundary conditions. I didn't end up using it so I don't really know much more about it besides that.

best of luck!

Walter


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