60 )().
grad(vf,
"grad(" + vf.
name() +
')')
62 tssf.
ref().rename(
"snGradCorr(" + vf.
name() +
')');
82 "snGradCorr("+vf.
name()+
')',
89 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
void replace(const direction, const GeometricField< cmptType, PatchField, GeoMesh > &)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const word & name() const
Return name.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fullGradCorrection(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the correctedSnGrad.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const fvSchemes & schemes() const
Return the fvSchemes.
Centred interpolation interpolation scheme class.
T & ref() const
Return non-const reference or generate a fatal error.
static tmp< GeometricField< typename innerProduct< vector, Type >::type, fvsPatchField, surfaceMesh > > dotInterpolate(const surfaceVectorField &Sf, const GeometricField< Type, fvPatchField, volMesh > &tvf)
Interpolate field onto faces.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Traits class for primitives.
Generic GeometricField class.
const surfaceVectorField & nonOrthCorrectionVectors() const
Return reference to non-orthogonality correction vectors.
const surfaceScalarField & nonOrthDeltaCoeffs() const
Return reference to non-orthogonal cell-centre difference.
const dimensionSet & dimensions() const
Return dimensions.
Calculate the gradient of the given field.
virtual ~correctedSnGrad()
Destructor.
Simple central-difference snGrad scheme with non-orthogonal correction.
ITstream & grad(const word &name) const
Mesh data needed to do the Finite Volume discretisation.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the correctedSnGrad.
A class for managing temporary objects.