77 fam.boundaryCoeffs()[patchI] =
83 if (this->
mesh().fluxRequired(vf.
name()))
85 fam.faceFluxCorrectionPtr() = std::make_unique
124 fac::div(this->tlnGradScheme_().lnGrad(vf)*vf.
mesh().magLe())
127 tLaplacian.
ref().rename(
"laplacian(" + vf.
name() +
')');
146 tLaplacian.
ref().rename
148 "laplacian(" +
gamma.name() +
',' + vf.
name() +
')'
const Mesh & mesh() const noexcept
Return const reference to mesh.
const dimensionSet & dimensions() const noexcept
Return dimensions.
Generic GeometricField class.
const Internal & internalField() const noexcept
Return a const-reference to the dimensioned internal field.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary 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
Return the matrix diagonal coefficients corresponding to the evaluation of the gradient of this patch...
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the evaluation of the gradient of this patchFi...
tmp< faMatrix< Type > > famLaplacian(const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &)
tmp< GeometricField< Type, faPatchField, areaMesh > > facLaplacian(const GeometricField< Type, faPatchField, areaMesh > &)
tmp< lnGradScheme< Type > > tlnGradScheme_
A class for managing temporary objects.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
Calculate the divergence of the given field.
Namespace for finite-area.
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
faePatchField< scalar > faePatchScalarField
GeometricField< scalar, faePatchField, edgeMesh > edgeScalarField
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix by subtracting the matrix multiplied by the current fi...
Calculate the matrix for the second temporal derivative.
#define forAll(list, i)
Loop across all elements in list.