As I have established in my master's thesis, I would recommend to use the fixedFluxExtrapolatedPressure boundary condition for pressure on the second half of the pipe.
This way we can achieve results that are identical to a monolithic pipe simulation.
However, this boundary condition can only be used with SIMPLE/PISO/PIMPLE solvers and therefore not with sonicLiquidFoam
Solutions
- We can keep participant fluid2-openfoam-sonicliquidfoam with
fixedGradient pressure and the resulting offsets in the solution.
- We replace the
sonicliquidfoam halves with e.g. pisoFoam or rhoPimpleFoam