Pressure gradient flows boundary condition
Hi Team,
I am trying to simulate a problem with pressure condition at inlet and outlet. The same problem works great with fixed value at inlet velocity but doesn't converge for pressure inputs at inlet and outlet. Let's say I am trying to simulate with pressure inlet at 1 psi and atmospheric pressure at outlet. Used fixedValue for inlet and outlet for pressure condition. (I did divide the density with the pressure to apply pressure gradient here as input value) - Hope this part is correct. Do correct me if I am wrong. Now what i am confused is with the velocity (U) at inlet and outlet. Should I keep zeroGradient or any other type i should be using. Regards, |
You can keep velocity BC as zeroGradient
|
I did try that and it isn't converging. The simulation stops after few steps throwing below error.
Code:
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 0.0835649, No Iterations 9 |
even pressureInletOutletVelocity in U at inlet didn't work. same floating point exception error.
|
Check Schems in your case and try using relaxation factors. If you using tet mesh means use nNonOrthogonalCorrectors in fvSolution
|
All times are GMT -4. The time now is 15:00. |