38 void Foam::fvMesh::makeSf()
const 47 if (SfSlicePtr_ || SfPtr_)
50 <<
"face areas already exist" 73 void Foam::fvMesh::makeMagSf()
const 82 if (magSfSlicePtr_ || magSfPtr_)
85 <<
"mag face areas already exist" 108 void Foam::fvMesh::makeC()
const 117 if (CSlicePtr_ || CPtr_)
120 <<
"cell centres already exist" 148 void Foam::fvMesh::makeCf()
const 157 if (CfSlicePtr_ || CfPtr_)
160 <<
"face centres already exist" 188 <<
"V0 is not available" 268 <<
"Constructing from primitiveMesh::cellVolumes()" <<
endl;
297 <<
"V0 is not available" 346 if (tFrac < (1 - small))
348 return V0() + tFrac*(
V() -
V0());
378 return V0() + t0Frac*(
V() -
V0());
420 return *magSfSlicePtr_;
480 delta[facei] = C[neighbour[facei]] - C[owner[facei]];
500 <<
"mesh flux field does not exist, is the mesh actually moving?" 520 <<
"mesh flux field does not exist, is the mesh actually moving?"
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
bool moving() const
Is mesh moving.
The time value with time-stepping information, user-defined remapping, etc.
Specialisation of DimensionedField which holds a slice of a given complete field in such a form that ...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const surfaceVectorField & Cf() const
Return face centres.
T & ref() const
Return non-const reference or generate a fatal error.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
IOobject(const word &name, const fileName &instance, const objectRegistry ®istry, readOption r=NO_READ, writeOption w=NO_WRITE, bool registerObject=true)
Construct from name, instance, registry, io options.
static tmp< GeometricField< vector, fvsPatchField, surfaceMesh > > New(const word &name, const Internal &, const PtrList< fvsPatchField< vector >> &)
Return a temporary field constructed from name,.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
const Time & time() const
Return the top-level database.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const TimeState & prevTimeState() const
Return previous TimeState if time is being sub-cycled.
const dimensionSet dimLength
const labelUList & neighbour() const
Internal face neighbour.
const scalarField & magFaceAreas() const
const dimensionSet dimTime
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
const fileName & pointsInstance() const
Return the current instance directory for points.
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
SlicedGeometricField< vector, fvsPatchField, slicedFvsPatchField, surfaceMesh > slicedSurfaceVectorField
scalar deltaTValue() const
Return time step value.
const Type & value() const
Return const reference to value.
SlicedGeometricField< vector, fvPatchField, slicedFvPatchField, volMesh > slicedVolVectorField
const vectorField & cellCentres() const
errorManip< error > abort(error &err)
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycle old-time cell volumes.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
const labelUList & owner() const
Internal face owner.
label timeIndex() const
Return the time index of the field.
const vectorField & faceCentres() const
label timeIndex() const
Return current time index.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
tmp< GeometricField< Type, PatchField, GeoMesh > > cloneUnSliced() const
Clone un-sliced.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const vectorField & faceAreas() const
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet dimVolume
const volVectorField & C() const
Return cell centres.
A class for managing temporary objects.
void deleteDemandDrivenData(DataPtr &dataPtr)
SlicedGeometricField< scalar, fvsPatchField, slicedFvsPatchField, surfaceMesh > slicedSurfaceScalarField
const scalarField & cellVolumes() const
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define InfoInFunction
Report an information message using Foam::Info.