48 "linearUpwind::correction(" + vf.
name() +
')',
49 mesh.time().timeName(),
75 mesh.gradScheme(gradSchemeName_)
79 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
82 gradScheme_().grad(vf.
component(cmpt), gradSchemeName_);
89 (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
92 (Cf[facei] -
C[celli]) & gradVf[celli];
121 label own = pOwner[facei];
123 if (pFaceFlux[facei] > 0)
126 (pCf[facei] -
C[own])
132 (pCf[facei] - pd[facei] -
C[own])
159 "linearUpwind::correction(" + vf.
name() +
')',
160 mesh.time().timeName(),
186 mesh.gradScheme(gradSchemeName_)
196 (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
197 sfCorr[facei] = (Cf[facei] -
C[celli]) & gradVf[celli];
223 label own = pOwner[facei];
225 if (pFaceFlux[facei] > 0)
227 pSfCorr[facei] = (pCf[facei] -
C[own]) & gradVf[own];
232 (pCf[facei] - pd[facei] -
C[own]) & pGradVfNei[facei];
Graphite solid properties.
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricField class.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const word & name() const noexcept
Return the object name.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for gradient schemes.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual bool coupled() const
Return true if this patch field is coupled.
linearUpwind interpolation scheme class derived from upwind and returns upwind weighting factors and ...
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the explicit correction to the face-interpolate.
A class for managing temporary objects.
#define makelimitedSurfaceInterpolationScheme(SS)
label & setComponent(label &val, const direction) noexcept
Non-const access to integer-type (has no components)
#define forAll(list, i)
Loop across all elements in list.