38 void Foam::fvMesh::makeSf()
const 50 <<
"face areas already exist" 73 void Foam::fvMesh::makeMagSf()
const 85 <<
"mag face areas already exist" 109 void Foam::fvMesh::makeC()
const 121 <<
"cell centres already exist" 149 void Foam::fvMesh::makeCf()
const 161 <<
"face centres already exist" 193 <<
"Constructing from primitiveMesh::cellVolumes()" <<
endl;
222 <<
"V0 is not available" 235 <<
"V0 is not available" 284 if (tFrac < (1 - small))
286 return V0() + tFrac*(
V() -
V0());
316 return V0() + t0Frac*(
V() -
V0());
398 delta[facei] = C[neighbour[facei]] - C[owner[facei]];
401 surfaceVectorField::Boundary& deltabf =
418 <<
"mesh flux field does not exist, is the mesh actually moving?" 438 <<
"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.
bool moving() const
Is mesh moving.
The time value with time-stepping information, user-defined remapping, etc.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
static int debug
Debug switch.
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.
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.
DimensionedField< scalar, volMesh > & setV0()
Return 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.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
const labelUList & neighbour() const
Internal face neighbour.
static tmp< GeometricField< vector, fvsPatchField, surfaceMesh > > New(const word &name, const Mesh &, const dimensionSet &, const word &patchFieldType=fvsPatchField< vector >::calculatedType())
Return a temporary field constructed from name, mesh, dimensionSet.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
const dimensionSet dimVolume(pow3(dimLength))
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-cycl 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.
The internalField of a SlicedGeometricField.
const vectorField & faceCentres() const
label timeIndex() const
Return current time index.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
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 dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > mag(const dimensioned< Type > &)
const volVectorField & C() const
Return cell centres as volVectorField.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimArea(sqr(dimLength))
const scalarField & cellVolumes() const
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define InfoInFunction
Report an information message using Foam::Info.