Total pressure boundary condition
Hi everybody,
I'm looking for a way to impose the total pressure as inlet boundary condition, instead than a velocity. My first try was to set the inlet with a fixedValue in both pressure and velocity, but this way the simulation gives bad results: even if i'm working with an incompressible flow, the flow rate decrease during the simulation. This should be obviously impossible in incompressible flow, but it happens. After some research I found a pressure boundary condition called, indeed, totalPressure. http://www.openfoam.org/docs/cpp/ Code:
myPatch What kind of BC do I have to set in the U file? Do you have other advices about this topic? Thank you very much, Luca |
for a start you may want to look at pressureInletOutletVelocity b.c for your velocity at the outlet...I guess this is self adapting based on the pressure...I guess some more details on the case could be more helpful...
|
All times are GMT -4. The time now is 23:15. |