Go to the documentation of this file.
50 "linearUpwind::correction(" + vf.name() +
')',
51 mesh.time().timeName(),
80 > tgradVf = gradScheme_().grad(vf, gradSchemeName_);
87 >& gradVf = tgradVf();
88 gradVf /=
mag(gradVf) + 1.e-12;
92 label celli = (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
93 sfCorr[facei] = (Cf[facei] -
C[celli]) & gradVf[celli];
98 GeometricBoundaryField& bSfCorr = sfCorr.boundaryField();
107 mesh.boundary()[patchi].faceCells();
115 gradVf.boundaryField()[patchi].patchNeighbourField()
123 label own = pOwner[facei];
125 if (pFaceFlux[facei] > 0)
127 pSfCorr[facei] = (pCf[facei] -
C[own]) & gradVf[own];
132 (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...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
Mesh data needed to do the Finite Volume discretisation.
typeOfRank< typename pTraits< arg1 >::cmptType, direction(pTraits< arg1 >::rank)+direction(pTraits< arg2 >::rank) >::type type
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the face-interpolate.
#define forAll(list, i)
Loop across all elements in list.
#define makelimitedSurfaceInterpolationTypeScheme(SS, Type)
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
linearUpwindNormal interpolation scheme class derived from upwind and returns upwind weighting factor...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Graphite solid properties.
virtual bool coupled() const
Return true if this patch field is coupled.
const Boundary & boundaryField() const
Return const-reference to the boundary field.