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" 287 if (tFrac < (1 - SMALL))
289 return V0() + tFrac*(
V() -
V0());
319 return V0() + t0Frac*(
V() -
V0());
410 delta[facei] = C[neighbour[facei]] - C[owner[facei]];
413 surfaceVectorField::Boundary& deltabf =
430 <<
"mesh flux field does not exist, is the mesh actually moving?" 450 <<
"mesh flux field does not exist, is the mesh actually moving?" tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
label timeIndex() const
Return current time index.
Graphite solid properties.
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
The time value with time-stepping information, user-defined remapping, etc.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
static int debug
Debug switch.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
const vectorField & faceAreas() const
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 DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
const Type & value() const
Return const reference to value.
const volVectorField & C() const
Return cell centres as volVectorField.
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
const vectorField & faceCentres() const
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
bool moving() const
Is mesh moving.
surfaceScalarField & setPhi()
Return cell face motion fluxes.
const dimensionSet dimVolume(pow3(dimLength))
const labelUList & neighbour() const
Internal face neighbour.
SlicedGeometricField< vector, fvsPatchField, slicedFvsPatchField, surfaceMesh > slicedSurfaceVectorField
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
label timeIndex() const
Return the time index of the field.
const vectorField & cellCentres() const
SlicedGeometricField< vector, fvPatchField, slicedFvPatchField, volMesh > slicedVolVectorField
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...
scalar deltaTValue() const
Return time step value.
const scalarField & cellVolumes() const
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycl old-time cell volumes.
The internalField of a SlicedGeometricField.
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 fileName & pointsInstance() const
Return the current instance directory for points.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > mag(const dimensioned< Type > &)
const TimeState & prevTimeState() const
Return previous TimeState if time is being sub-cycled.
const labelUList & owner() const
Internal face owner.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
T & ref() const
Return non-const reference or generate a fatal error.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const dimensionSet dimArea(sqr(dimLength))
const Time & time() const
Return the top-level database.
#define InfoInFunction
Report an information message using Foam::Info.