Zero pressure gradient boundary condition
Hi,
I want to run one SU2 simulation where I want to use zero pressure gradient boundary condition at outlet. Can somebody please help me out |
Quote:
In order to apply a pressure gradient rather than the static pressure at an outlet, you will need to modify the code. Fortunately this should be relatively simple - you will need to modify SU2/SU2_CFD/src/solver_direct_mean.cpp : CEulerSolver::BC_Outlet In this function, you can for example replace the outlet pressure specified in the config file with the pressure from the first interior point to apply a zero gradient. More formally, you would need to add an additional config file option and make sure not to interfere with existing behavior, but if you want the fastest solution you can overwrite existing functionality on your local copy of the code. |
All times are GMT -4. The time now is 14:15. |