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