Since you are using simpleFoam just add the following:
type totalPressure; gamma 1.0; p0 uniform 0; value uniform 0; You should be O.K now. |
BC Total Pressure
Dear OpenFoamers,
I would like to set up my study case: a water flow through a channel by simpleFoam. I want to set boundary conditions as total pressure: (1 bar at inlet and 0 bar at outlet). Now I have: ================================================== ==== p ================================================== ==== inlet type fixedValue uniform 100 ? for simpleFoam pressure = pressure/mass density, right? outlet type fixedValue uniform 0 ================================================== ==== U ================================================== ==== inlet type pressureInletVelocity uniform (0 0 0) outlet type zeroGradient It does not work when I ran simpleFoam! It stops after several iterations. I really don't understand what happened. Do you known why, rather why not? I am looking to hear from you all... Regards, T Quote:
|
Thank MBA for your answer.
That's for p, right? And for both inlet and outlet? Preciously, I change in constant/transportProperties nu = 1e-6 to simulate water. It's OK? May you give me more details... That's would be useful. |
All times are GMT -4. The time now is 20:06. |