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 makelimitedSurfaceInterpolationScheme(SS)
Graphite solid properties.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return name.
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
const fvSchemes & schemes() const
Return the fvSchemes.
const surfaceVectorField & Cf() const
Return face centres.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const labelUList & neighbour() const
Internal face neighbour.
const dimensionSet & dimensions() const
Return dimensions.
virtual bool coupled() const
Return true if this patch field is coupled.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
ITstream & grad(const word &name) const
const labelUList & owner() const
Internal face owner.
Internal & ref()
Return a reference to the dimensioned internal field.
Abstract base class for gradient schemes.
Mesh data needed to do the Finite Volume discretisation.
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.
const volVectorField & C() const
Return cell centres.
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.