/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: dev \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { format ascii; class volScalarField; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 1e5; boundaryField { inlet { type fixedFluxPressure; value $internalField; } outlet { type prghTotalPressure; p0 $internalField; U U.gas; phi phi.gas; rho rho.gas; value $internalField; } "wall.*" { type fixedFluxPressure; value $internalField; } "frontAndBack.*" { type empty; } } // ************************************************************************* //