34 #ifndef constrainPressure_H
35 #define constrainPressure_H
48 template<
class RhoType,
class RAUType,
class MRFType>
55 const RAUType& rhorAU,
59 template<
class RAUType>
69 template<
class RAUType,
class MRFType>
79 template<
class RAUType>
const Foam::MRFZones & MRF(Foam::MRFZones::New(mesh))
volScalarField rAU(1.0/UEqn.A())
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
VolField< vector > volVectorField
SurfaceField< scalar > surfaceScalarField
VolField< scalar > volScalarField