Go to the documentation of this file.
36 #ifndef constrainPressure_H
37 #define constrainPressure_H
69 inline const Type&
relative(
const Type&
U)
const
76 inline const Type&
relative(
const Type&
U,
const label patchi)
const
85 template<
class RhoType,
class RAUType,
class MRFType>
92 const RAUType& rhorAU,
96 template<
class RAUType>
103 const RAUType& rhorAU
106 template<
class RAUType,
class MRFType>
116 template<
class RAUType>
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
const Type & relative(const Type &U) const
Return the argument unchanged.
tmp< volScalarField > rAU
const Type & relative(const Type &U, const label patchi) const
Return the argument unchanged.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField