Go to the documentation of this file.
60 "snGradCorr("+vf.name()+
')',
67 vf.dimensions()*
mesh.nonOrthDeltaCoeffs().dimensions()
88 const face& fi = faces[facei];
90 vector nf(Sf[facei]/magSf[facei]);
101 Type pvfe(0.5*(pvf[fi[pj]] + pvf[fi[
pi]]));
108 fgrad /= magSf[facei];
111 vector dCorr(
C[neighbour[facei]] -
C[owner[facei]]);
112 dCorr /= (nf & dCorr);
116 sfCorr[facei] = dCorr&fgrad;
141 "snGradCorr("+vf.name()+
')',
148 vf.dimensions()*
mesh.nonOrthDeltaCoeffs().dimensions()
153 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
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.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > fullGradCorrection(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the faceCorrectedSnGrad.
typeOfRank< typename pTraits< arg1 >::cmptType, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
tmp< surfaceScalarField > interpolate(const RhoType &rho)
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the faceCorrectedSnGrad.
virtual ~faceCorrectedSnGrad()
Destructor.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Mesh data needed to do the Finite Volume discretisation.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Traits class for primitives.
void replace(const direction, const GeometricField< cmptType, PatchField, GeoMesh > &)
A face is a list of labels corresponding to mesh vertices.
void size(const label)
Override size to be inconsistent with allocated storage.
Graphite solid properties.
Generic GeometricField class.
Simple central-difference snGrad scheme with non-orthogonal correction.