Files
OpenFOAM-12/tutorials/multiphaseEuler/LBend/0/p_rgh
2024-07-06 16:02:47 +01:00

51 lines
1.2 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 12
\\/ 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;
}
}
// ************************************************************************* //