77 fam.boundaryCoeffs()[patchI] =
81 if (this->tlnGradScheme_().corrected())
83 if (this->
mesh().fluxRequired(vf.
name()))
85 fam.faceFluxCorrectionPtr() =
new
88 gammaMagSf*this->tlnGradScheme_().
correction(vf)
104 gammaMagSf*this->tlnGradScheme_().
correction(vf)
122 fac::div(this->tlnGradScheme_().lnGrad(vf)*vf.
mesh().magLe())
125 tLaplacian.
ref().rename(
"laplacian(" + vf.
name() +
')');
144 tLaplacian.
ref().rename
146 "laplacian(" +
gamma.name() +
',' + vf.
name() +
')'
const dimensionSet & dimensions() const
Return dimensions.
const Mesh & mesh() const
Return mesh.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const Internal & internalField() const
Return a const-reference to the dimensioned internal field.
const word & name() const noexcept
Return the object name.
A special matrix type and solver, designed for finite area solutions of scalar equations....
faceFluxFieldPtrType & faceFluxCorrectionPtr()
Return pointer to face-flux non-orthogonal correction field.
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
virtual tmp< Field< Type > > gradientInternalCoeffs() const
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
tmp< faMatrix< Type > > famLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const GeometricField< Type, faPatchField, areaMesh > &)
A class for managing temporary objects.
Calculate the divergence of the given field.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Calculate the matrix for the second temporal derivative.
#define forAll(list, i)
Loop across all elements in list.