Go to the documentation of this file.
47 Info<<
"void fvMesh::makeSf() : "
48 <<
"assembling face areas"
57 <<
"face areas already exist"
84 Info<<
"void fvMesh::makeMagSf() : "
85 <<
"assembling mag face areas"
94 <<
"mag face areas already exist"
122 Info<<
"void fvMesh::makeC() : "
123 <<
"assembling cell centres"
132 <<
"cell centres already exist"
164 Info<<
"void fvMesh::makeCf() : "
165 <<
"assembling face centres"
174 <<
"face centres already exist"
205 Info<<
"fvMesh::V() const: "
206 <<
"constructing from primitiveMesh::cellVolumes()"
236 <<
"V0 is not available"
249 <<
"V0 is not available"
263 Info<<
"fvMesh::V00() const: "
264 <<
"constructing from V0"
302 if (tFrac < (1 - SMALL))
304 return V0() + tFrac*(
V() -
V0());
333 return V0() + t0Frac*(
V() -
V0());
395 Info<<
"void fvMesh::delta() : "
396 <<
"calculating face deltas"
443 <<
"mesh flux field does not exist, is the mesh actually moving?"
463 <<
"mesh flux field does not exist, is the mesh actually moving?"
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
SlicedGeometricField< vector, fvsPatchField, slicedFvsPatchField, surfaceMesh > slicedSurfaceVectorField
The internalField of a SlicedGeometricField.
SlicedGeometricField< vector, fvPatchField, slicedFvPatchField, volMesh > slicedVolVectorField
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
bool moving() const
Is mesh moving.
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycl old-time cell volumes.
void * VPtr_
Cell volumes old time level.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
dimensioned< scalar > mag(const dimensioned< Type > &)
surfaceScalarField * magSfPtr_
Mag face area vectors.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
slicedSurfaceVectorField * SfPtr_
Face area vectors.
static int debug
Debug switch.
const fileName & pointsInstance() const
Return the current instance directory for points.
DimensionedField< scalar, volMesh > * V0Ptr_
Cell volumes old time level.
slicedSurfaceVectorField * CfPtr_
Face centres.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
The time value with time-stepping information, user-defined remapping, etc.
const dimensionSet dimArea(sqr(dimLength))
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
scalar deltaTValue() const
Return time step value.
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
const TimeState & prevTimeState() const
Return previous TimeState if time is being sub-cycled.
const labelUList & neighbour() const
Internal face neighbour.
const surfaceVectorField & Sf() const
Return cell face area vectors.
errorManip< error > abort(error &err)
const scalarField & cellVolumes() const
label timeIndex() const
Return the time index of the field.
const labelUList & owner() const
Internal face owner.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
slicedVolVectorField * CPtr_
Cell centres.
const vectorField & cellCentres() const
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const volVectorField & C() const
Return cell centres as volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const vectorField & faceCentres() const
DimensionedField< scalar, volMesh > * V00Ptr_
Cell volumes old-old time level.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const Time & time() const
Return the top-level database.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
Graphite solid properties.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
const dimensionSet dimVolume(pow3(dimLength))
Generic GeometricField class.
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
surfaceScalarField * phiPtr_
Face motion fluxes.
const vectorField & faceAreas() const