Add P_rgh to solver with P
Hi,
I have an incompressible case and this case has some problems with pressure outlet bounday condition. it is just a duct with an velocity inlet and an pressure outlet. https://bugs.openfoam.org/file_downl...=2631&type=bug I asked a friend why the outlet works like this and I got this message: MPPICFoam/DPMFoam are incompressible solvers so you could use the uniformDensityHydrostaticPressure. However this is not as accurate or reliable as using p_rgh for strongly buoyant flows so you could change these solvers to solve for p_rgh or fund this development. I tried uniformDensityHydrostaticPressure but it didn't work. Now, I want to add p_rgh instead of p in my solver. Do you have any idea of what should I do? Code:
/*--------------------------------*- C++ -*----------------------------------*\ Code:
/*--------------------------------*- C++ -*----------------------------------*\ |
Dry but why not use the incompressible solvers for you incompressible case?
|
Quote:
What's your suggestion? |
A few quick answers/questions:
|
Quote:
I tried the boundary condition that you proposed and I can see the problem with outlet boundary condition. Flow is incompressible and the length of the control volume is less than 10cm. Reynolds number is around 10 and 9.81 gravity. As far as the dimension is small and also Re is low, I thought that maybe we have buoyant flow. I did this simulation with MPPICInterFoam (with one phase) and everything works well because it works with p_rgh. I am sure that particles don't have any role in this disturbtion becasue I didn't inject any particle at this stage and I just used MPPICFoam solver. |
All times are GMT -4. The time now is 05:30. |