Go to the documentation of this file.
44 template<
class Type,
class GType>
58 deltaCoeffs.dimensions()*gammaMagSf.dimensions()*vf.dimensions()
91 template<
class Type,
class GType>
107 "gammaSnGradCorr("+vf.name()+
')',
114 SfGammaCorr.dimensions()
115 *vf.dimensions()*
mesh.deltaCoeffs().dimensions()
119 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
121 tgammaSnGradCorr().replace
128 return tgammaSnGradCorr;
134 template<
class Type,
class GType>
148 tLaplacian().rename(
"laplacian(" + vf.name() +
')');
154 template<
class Type,
class GType>
176 this->tsnGradScheme_().deltaCoeffs(vf),
182 = gammaSnGradCorr(SfGammaCorr, vf);
184 if (this->tsnGradScheme_().corrected())
186 tfaceFluxCorrection() +=
187 SfGammaSn*this->tsnGradScheme_().correction(vf);
192 if (
mesh.fluxRequired(vf.name()))
201 template<
class Type,
class GType>
223 SfGammaSn*this->tsnGradScheme_().
snGrad(vf)
224 + gammaSnGradCorr(SfGammaCorr, vf)
228 tLaplacian().rename(
"laplacian(" + gamma.name() +
',' + vf.name() +
')');
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &vf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcLaplacian(const GeometricField< Type, fvPatchField, volMesh > &)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
Calculate the divergence of the given field.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
FieldField< Field, Type > & internalCoeffs()
fvBoundary scalar field containing pseudo-matrix coeffs
surfaceTypeFieldPtr & faceFluxCorrectionPtr()
Return pointer to face-flux non-orthogonal correction field.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual bool coupled() const
Return true if this patch field is coupled.
virtual tmp< Field< Type > > gradientInternalCoeffs() const
Return the matrix diagonal coefficients corresponding to the.
tmp< fvMatrix< Type > > fvmLaplacian(const GeometricField< GType, fvsPatchField, surfaceMesh > &, const GeometricField< Type, fvPatchField, volMesh > &)
static tmp< fvMatrix< Type > > fvmLaplacianUncorrected(const surfaceScalarField &gammaMagSf, const surfaceScalarField &deltaCoeffs, const GeometricField< Type, fvPatchField, volMesh > &)
InternalField & internalField()
Return internal field.
Mesh data needed to do the Finite Volume discretisation.
T * ptr() const
Return tmp pointer for reuse.
FieldField< Field, Type > & boundaryCoeffs()
fvBoundary scalar field containing pseudo-matrix coeffs
conserve internalField()+
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > gammaSnGradCorr(const surfaceVectorField &SfGammaCorr, const GeometricField< Type, fvPatchField, volMesh > &)
virtual tmp< Field< Type > > gradientBoundaryCoeffs() const
Return the matrix source coefficients corresponding to the.
Calculate the gradient of the given field.
Generic GeometricField class.