45 tHbyANew.
ref().rename(IOobject::groupName(
"HbyA",
U.group()));
51 IOobject::groupName(
"HbyA",
U.group()),
63 !
U.boundaryField()[
patchi].assignable()
64 && !isA<fixedFluxExtrapolatedPressureFvPatchScalarField>
91 tHNew.
ref().rename(IOobject::groupName(
"H",
U.group()));
97 IOobject::groupName(
"H",
U.group()),
109 !
U.boundaryField()[
patchi].assignable()
110 && !isA<fixedFluxExtrapolatedPressureFvPatchScalarField>
133 if (tphiHbyA.
isTmp())
135 tphiHbyANew = tphiHbyA;
136 tphiHbyANew.
ref().rename(IOobject::groupName(
"phiHbyA",
U.group()));
142 IOobject::groupName(
"phiHbyA",
U.group()),
154 !
U.boundaryField()[
patchi].assignable()
155 && !isA<fixedFluxExtrapolatedPressureFvPatchScalarField>
162 U.mesh().Sf().boundaryField()[
patchi]
184 if (isA<fixedFluxPressureFvPatchScalarField>(pBf[
patchi]))
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
A class for managing temporary objects.
bool isTmp() const
Return true if this is really a temporary object.
T & ref() const
Return non-const reference or generate a fatal error.
tmp< volVectorField > tHbyA
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
tmp< surfaceScalarField > constrainPhiHbyA(const tmp< surfaceScalarField > &tphiHbyA, const volVectorField &U, const volScalarField &p)
tmp< surfaceScalarField > constrainPhid(const tmp< surfaceScalarField > &tphiHbyA, const volScalarField &p)
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
tmp< volVectorField > constrainH(const tmp< volVectorField > &tH, const volScalarField &rA, const volVectorField &U, const volScalarField &p)