60 "reconstruct("+ssf.
name()+
')',
67 extrapolatedCalculatedFvPatchScalarField::typeName
74 label own = owner[facei];
75 label nei = neighbour[facei];
77 rf[own] += (Sf[facei] & (Cf[facei] -
C[own]))*ssf[facei]/magSf[facei];
78 rf[nei] -= (Sf[facei] & (Cf[facei] -
C[nei]))*ssf[facei]/magSf[facei];
94 label own = pOwner[pFacei];
96 (pSf[pFacei] & (pCf[pFacei] -
C[own]))
97 *psf[pFacei]/pMagSf[pFacei];
103 treconField.
ref().correctBoundaryConditions();
#define forAll(list, i)
Loop across all elements in list.
Graphite solid properties.
const dimensionSet & dimensions() const
Return dimensions.
const Mesh & mesh() const
Return mesh.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
const word & name() const
Return name.
Mesh data needed to do the Finite Volume discretisation.
const volVectorField & C() const
Return cell centres.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const labelUList & owner() const
Internal face owner.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const surfaceVectorField & Cf() const
Return face centres.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const labelUList & neighbour() const
Internal face neighbour.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
A class for managing temporary objects.
void clear() const
If object pointer points to valid object:
T & ref() const
Return non-const reference or generate a fatal error.
Reconstruct volField from a face flux field.
tmp< volScalarField > reconstructMag(const surfaceScalarField &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimArea