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();
Graphite solid properties.
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const dimensionSet dimArea
const word & name() const
Return name.
void clear() const
If object pointer points to valid object:
const surfaceVectorField & Cf() const
Return face centres.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Reconstruct volField from a face flux field.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
Generic GeometricField class.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
tmp< volScalarField > reconstructMag(const surfaceScalarField &)
const labelUList & neighbour() const
Internal face neighbour.
const dimensionSet & dimensions() const
Return dimensions.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const Mesh & mesh() const
Return mesh.
const labelUList & owner() const
Internal face owner.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
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.