50 <<
"face areas already exist"
84 <<
"mag face areas already exist"
117 <<
"cell centres already exist"
154 <<
"face centres already exist"
184 <<
"Constructing from primitiveMesh::cellVolumes()" <<
endl;
212 <<
"V0 is not available"
225 <<
"V0 is not available"
264 if (!steady() && moving() && time().subCycling())
267 const TimeState& ts0 = time().prevTimeState();
274 if (tFrac < (1 - SMALL))
276 return V0() + tFrac*(V() - V0());
286 if (!steady() && moving() && time().subCycling())
289 const TimeState& ts0 = time().prevTimeState();
299 return V0() + t0Frac*(V() - V0());
378 const labelUList& neighbour = this->neighbour();
382 delta[facei] =
C[neighbour[facei]] -
C[owner[facei]];
389 deltabf[patchi] =
boundary()[patchi].delta();
401 <<
"mesh flux field does not exist, is the mesh actually moving?"
407 if (!time().subCycling() && phiPtr_->timeIndex() != time().
timeIndex())
412 phiPtr_->setOriented();
Graphite solid properties.
void setOriented(const bool oriented=true) noexcept
Set the oriented flag.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Specialisation of DimensionedField that holds a slice of a given field so that it acts as a Dimension...
The time value with time-stepping information, user-defined remapping, etc.
scalar deltaTValue() const noexcept
Return time step value.
const Type & value() const
Return const reference to value.
slicedSurfaceVectorField * SfPtr_
Face area vectors.
const volVectorField & C() const
Return cell centres as volVectorField.
const DimensionedField< scalar, volMesh > & V() const
Return cell volumes.
DimensionedField< scalar, volMesh > & setV0()
Return old-time cell volumes.
const DimensionedField< scalar, volMesh > & V00() const
Return old-old-time cell volumes.
const surfaceScalarField & phi() const
Return cell face motion fluxes.
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
const DimensionedField< scalar, volMesh > & V0() const
Return old-time cell volumes.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
tmp< DimensionedField< scalar, volMesh > > Vsc0() const
Return sub-cycle old-time cell volumes.
refPtr< surfaceScalarField > setPhi()
Return cell face motion fluxes (or null)
tmp< surfaceVectorField > delta() const
Return face deltas as surfaceVectorField.
tmp< DimensionedField< scalar, volMesh > > Vsc() const
Return sub-cycle cell volumes.
const fileName & pointsInstance() const
Return the current instance directory for points.
static word meshSubDir
Return the mesh sub-directory name (usually "polyMesh")
const vectorField & faceAreas() const
A class for managing references or pointers (no reference counting)
A class for managing temporary objects.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
#define DebugInFunction
Report an information message using Foam::Info.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
SlicedGeometricField< vector, fvsPatchField, slicedFvsPatchField, surfaceMesh > slicedSurfaceVectorField
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionSet dimArea(sqr(dimLength))
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
SlicedGeometricField< vector, fvPatchField, slicedFvPatchField, volMesh > slicedVolVectorField
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
errorManip< error > abort(error &err)
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimVolume(pow3(dimLength))
#define forAll(list, i)
Loop across all elements in list.