Go to the documentation of this file.
46 "linearUpwind::correction(" + vf.name() +
')',
47 mesh.time().timeName(),
76 > tgradVf = gradScheme_().grad(vf, gradSchemeName_);
83 >& gradVf = tgradVf();
87 label celli = (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
88 sfCorr[facei] = (Cf[facei] -
C[celli]) & gradVf[celli];
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];
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
linearUpwind interpolation scheme class derived from upwind and returns upwind weighting factors and ...
Mesh data needed to do the Finite Volume discretisation.
typeOfRank< typename pTraits< arg1 >::cmptType, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the face-interpolate.
#define makelimitedSurfaceInterpolationTypeScheme(SS, Type)
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.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Graphite solid properties.
Generic GeometricField class.
virtual bool coupled() const
Return true if this patch field is coupled.