38 gradSchemeName_(
"grad")
50 gradSchemeName_(schemeData)
63 gradSchemeName_(schemeData)
82 "linearUpwind::correction(" + vf.
name() +
')',
107 for (
direction cmpt = 0; cmpt < pTraits<Type>::nComponents; cmpt++)
110 gradScheme_().grad(vf.
component(cmpt), gradSchemeName_);
117 (faceFlux[facei] > 0) ? owner[facei] : neighbour[facei];
120 (Cf[facei] - C[celli]) & gradVf[celli];
124 Boundary& bSfCorr = sfCorr.boundaryFieldRef();
149 label own = pOwner[facei];
151 if (pFaceFlux[facei] > 0)
154 (pCf[facei] - C[own])
160 (pCf[facei] - pd[facei] - C[own])
Graphite solid properties.
#define forAll(list, i)
Loop across all elements in list.
const word & name() const
Return name.
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.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
Generic dimensioned Type class.
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.
Upwind interpolation scheme class.
Mesh data needed to do the Finite Volume discretisation.
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.
label & setComponent(label &l, const direction)
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
linearUpwind(const fvMesh &mesh, const surfaceScalarField &faceFlux)
Construct from faceFlux.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.