37 const fvMesh& mesh = this->mesh();
43 "linearUpwind::correction(" + vf.
name() +
')',
74 (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
75 sfCorr[facei] = (Cf[facei] -
C[celli]) & gradVf[celli];
101 label own = pOwner[facei];
103 if (pFaceFlux[facei] > 0)
105 pSfCorr[facei] = (pCf[facei] -
C[own]) & gradVf[own];
110 (pCf[facei] - pd[facei] -
C[own]) & pGradVfNei[facei];
#define forAll(list, i)
Loop across all elements in list.
Graphite solid properties.
const dimensionSet & dimensions() const
Return dimensions.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const word & name() const
Return name.
Mesh data needed to do the Finite Volume discretisation.
const volVectorField & C() const
Return cell centres.
const labelUList & owner() const
Internal face owner.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const fvSchemes & schemes() const
Return the fvSchemes.
const surfaceVectorField & Cf() const
Return face centres.
const labelUList & neighbour() const
Internal face neighbour.
ITstream & grad(const word &name) const
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< SurfaceField< Type > > correction(const VolField< Type > &) const
Return the explicit correction to the face-interpolate.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
#define makelimitedSurfaceInterpolationScheme(SS)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.