46 "linearUpwind::correction(" + vf.
name() +
')',
76 > tgradVf = gradScheme_().grad(vf, gradSchemeName_);
80 typename outerProduct<vector, Type>::type,
83 >& gradVf = tgradVf();
87 label celli = (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
88 sfCorr[facei] = (Cf[facei] - C[celli]) & gradVf[celli];
93 GeometricBoundaryField& bSfCorr = sfCorr.boundaryField();
110 gradVf.boundaryField()[
patchi].patchNeighbourField()
118 label own = pOwner[facei];
120 if (pFaceFlux[facei] > 0)
122 pSfCorr[facei] = (pCf[facei] - C[own]) & gradVf[own];
127 (pCf[facei] - pd[facei] - C[own]) & pGradVfNei[facei];
Mesh data needed to do the Finite Volume discretisation.
virtual bool coupled() const
Return true if this patch field is coupled.
Mesh data needed to do the Finite Volume discretisation.
linearUpwind interpolation scheme class derived from upwind and returns upwind weighting factors and ...
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
#define makelimitedSurfaceInterpolationTypeScheme(SS, Type)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const labelUList & owner() const
Internal face owner.
Graphite solid properties.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const Time & time() const
Return the top-level database.
typeOfRank< typename pTraits< arg1 >::cmptType, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
Generic dimensioned Type class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const volVectorField & C() const
Return cell centres as volVectorField.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the face-interpolate.
const dimensionSet & dimensions() const
Return dimensions.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const word & name() const
Return name.
Generic GeometricField class.
Traits class for primitives.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const labelUList & neighbour() const
Internal face neighbour.
A class for managing temporary objects.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.