Generic GeometricField class. More...
Classes | |
class | Boundary |
Public Types | |
typedef GeoMesh::Mesh | Mesh |
Type of mesh on which this GeometricField is instantiated. More... | |
typedef GeoMesh::BoundaryMesh | BoundaryMesh |
typedef DimensionedField< Type, GeoMesh > | Internal |
Type of the internal field from which this GeometricField is derived. More... | |
typedef PatchField< Type > | Patch |
typedef Field< Type >::cmptType | cmptType |
Public Member Functions | |
TypeName ("GeometricField") | |
Runtime type information. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Construct given IOobject, mesh, dimensions and patch type. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
Construct given IOobject, mesh, dimensions and patch types. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Construct given IOobject, mesh, dimensioned<Type> and patch type. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &wantedPatchTypes, const wordList &actualPatchTypes=wordList()) | |
Construct given IOobject, mesh, dimensioned<Type> and patch types. More... | |
GeometricField (const IOobject &io, const Internal &diField, const PtrList< PatchField< Type >> &ptfl) | |
Copy construct from components. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Copy construct from internal field, with specified patch type. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) | |
Move construct from internal field, with specified patch type. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const PtrList< PatchField< Type >> &ptfl) | |
Copy construct from components. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const bool readOldTime=true) | |
Construct and read given IOobject. More... | |
GeometricField (const IOobject &io, const Mesh &mesh, const dictionary &dict) | |
Construct from dictionary. More... | |
GeometricField (const GeometricField< Type, PatchField, GeoMesh > &gf) | |
Copy construct. More... | |
GeometricField (const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
Construct from tmp<GeometricField> deleting argument. More... | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
Construct as copy resetting IO parameters. More... | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
Construct as copy of tmp<GeometricField> resetting IO parameters. More... | |
GeometricField (const word &newName, const GeometricField< Type, PatchField, GeoMesh > &gf) | |
Copy construct with a new name. More... | |
GeometricField (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) | |
Construct with a new name from tmp<GeometricField> More... | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const word &patchFieldType) | |
Construct as copy resetting IO parameters and patch type. More... | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const labelList &patchIDs, const word &patchFieldType) | |
GeometricField (const IOobject &io, const GeometricField< Type, PatchField, GeoMesh > &gf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
Construct as copy resetting IO parameters and boundary types. More... | |
GeometricField (const IOobject &io, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) | |
Construct as copy resetting IO parameters and boundary types. More... | |
tmp< GeometricField< Type, PatchField, GeoMesh > > | clone () const |
Clone. More... | |
virtual | ~GeometricField () |
Destructor. More... | |
Internal & | ref (const bool updateAccessTime=true) |
Return a reference to the dimensioned internal field. More... | |
const Internal & | internalField () const |
Return a const-reference to the dimensioned internal field. More... | |
const Internal & | v () const |
Internal::FieldType & | primitiveFieldRef (const bool updateAccessTime=true) |
Return a reference to the internal field. More... | |
const Internal::FieldType & | primitiveField () const |
Return a const-reference to the internal field. More... | |
Boundary & | boundaryFieldRef (const bool updateAccessTime=true) |
Return a reference to the boundary field. More... | |
const Boundary & | boundaryField () const |
Return const-reference to the boundary field. More... | |
label | timeIndex () const |
Return the time index of the field. More... | |
label & | timeIndex () |
Return the time index of the field. More... | |
void | storeOldTimes () const |
Store the old-time fields. More... | |
void | storeOldTime () const |
Store the old-time field. More... | |
label | nOldTimes () const |
Return the number of old time fields stored. More... | |
const GeometricField< Type, PatchField, GeoMesh > & | oldTime () const |
Return old time field. More... | |
GeometricField< Type, PatchField, GeoMesh > & | oldTime () |
Return non-const old time field. More... | |
void | storePrevIter () const |
Store the field as the previous iteration value. More... | |
const GeometricField< Type, PatchField, GeoMesh > & | prevIter () const |
Return previous iteration field. More... | |
void | correctBoundaryConditions () |
Correct boundary field. More... | |
bool | needReference () const |
Does the field need a reference level for solution. More... | |
tmp< GeometricField< cmptType, PatchField, GeoMesh > > | component (const direction) const |
Return a component of the field. More... | |
bool | writeData (Ostream &) const |
WriteData member function required by regIOobject. More... | |
tmp< GeometricField< Type, PatchField, GeoMesh > > | T () const |
Return transpose (only if it is a tensor field) More... | |
void | relax (const scalar alpha) |
Relax field (for steady-state solution). More... | |
void | relax () |
Relax field (for steady-state solution). More... | |
word | select (bool final) const |
Select the final iteration parameters if `final' is true. More... | |
void | writeMinMax (Ostream &os) const |
Helper function to write the min and max to an Ostream. More... | |
void | negate () |
Negate the field inplace. More... | |
void | replace (const direction d, const GeometricField< cmptType, PatchField, GeoMesh > &gcf) |
Replace specified field component with content from another field. More... | |
void | replace (const direction d, const dimensioned< cmptType > &ds) |
Replace specified field component with specified value. More... | |
void | min (const dimensioned< Type > &dt) |
Use the minimum of the field and specified value. More... | |
void | max (const dimensioned< Type > &dt) |
Use the maximum of the field and specified value. More... | |
void | clip (const dimensioned< MinMax< Type >> &range) |
Clip the field to be bounded within the specified range. More... | |
void | clip (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
Clip the field to be bounded within the specified range. More... | |
void | maxMin (const dimensioned< Type > &minVal, const dimensioned< Type > &maxVal) |
Deprecated(2019-01) identical to clip() More... | |
const Internal & | operator() () const |
Return a const-reference to the dimensioned internal field. More... | |
void | operator= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator= (const dimensioned< Type > &) |
void | operator== (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator== (const dimensioned< Type > &) |
void | operator+= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator+= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator-= (const GeometricField< Type, PatchField, GeoMesh > &) |
void | operator-= (const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
void | operator*= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator*= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator/= (const GeometricField< scalar, PatchField, GeoMesh > &) |
void | operator/= (const tmp< GeometricField< scalar, PatchField, GeoMesh >> &) |
void | operator+= (const dimensioned< Type > &) |
void | operator-= (const dimensioned< Type > &) |
void | operator*= (const dimensioned< scalar > &) |
void | operator/= (const dimensioned< scalar > &) |
template<> | |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
template<> | |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &gsf) |
template<> | |
tmp< GeometricField< scalar, faPatchField, areaMesh > > | component (const direction) const |
template<> | |
void | replace (const direction, const GeometricField< scalar, faPatchField, areaMesh > &sf) |
template<> | |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
template<> | |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &gsf) |
template<> | |
tmp< GeometricField< scalar, fvPatchField, volMesh > > | component (const direction) const |
template<> | |
void | replace (const direction, const GeometricField< scalar, fvPatchField, volMesh > &sf) |
Static Public Member Functions | |
static const GeometricField< Type, PatchField, GeoMesh > & | null () |
Return a null geometric field. More... | |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType()) |
Return tmp field from name, mesh, dimensions and patch type. More... | |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, const Field< Type > &iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensionSet &ds, Field< Type > &&iField, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const word &patchFieldType=PatchField< Type >::calculatedType()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &name, const Mesh &mesh, const dimensioned< Type > &dt, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf) |
Return renamed tmp field. More... | |
static tmp< GeometricField< Type, PatchField, GeoMesh > > | New (const word &newName, const tmp< GeometricField< Type, PatchField, GeoMesh >> &tgf, const wordList &patchFieldTypes, const wordList &actualPatchTypes=wordList()) |
Rename tmp field and reset patch field types and return. More... | |
Friends | |
Ostream & | operator (Ostream &, const GeometricField< Type, PatchField, GeoMesh > &) |
Ostream & | operator (Ostream &, const tmp< GeometricField< Type, PatchField, GeoMesh >> &) |
Generic GeometricField class.
Definition at line 53 of file areaFieldsFwd.H.
typedef GeoMesh::Mesh Mesh |
Type of mesh on which this GeometricField is instantiated.
Definition at line 100 of file GeometricField.H.
typedef GeoMesh::BoundaryMesh BoundaryMesh |
Type of boundary mesh on which this GeometricField::Boundary is instantiated
Definition at line 104 of file GeometricField.H.
typedef DimensionedField<Type, GeoMesh> Internal |
Type of the internal field from which this GeometricField is derived.
Definition at line 107 of file GeometricField.H.
typedef PatchField<Type> Patch |
Type of the patch field of which the GeometricField::Boundary is composed
Definition at line 111 of file GeometricField.H.
Definition at line 292 of file GeometricField.H.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Construct given IOobject, mesh, dimensions and patch type.
This allocates storage for the field but does not set values. Used only within this class to create TEMPORARY variables
Definition at line 197 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const wordList & | wantedPatchTypes, | ||
const wordList & | actualPatchTypes = wordList() |
||
) |
Construct given IOobject, mesh, dimensions and patch types.
This allocates storage for the field but does not set values. Used only within this class to create TEMPORARY variables
Definition at line 219 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensioned< Type > & | dt, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Construct given IOobject, mesh, dimensioned<Type> and patch type.
This assigns both dimensions and values. The internal name for the dimensioned<Type> has no influence.
Definition at line 242 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensioned< Type > & | dt, | ||
const wordList & | wantedPatchTypes, | ||
const wordList & | actualPatchTypes = wordList() |
||
) |
Construct given IOobject, mesh, dimensioned<Type> and patch types.
This assigns both dimensions and values. The internal name for the dimensioned<Type> has no influence.
Definition at line 266 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Internal & | diField, | ||
const PtrList< PatchField< Type >> & | ptfl | ||
) |
Copy construct from components.
Definition at line 291 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const Field< Type > & | iField, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Copy construct from internal field, with specified patch type.
Definition at line 312 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
Field< Type > && | iField, | ||
const word & | patchFieldType = PatchField<Type>::calculatedType() |
||
) |
Move construct from internal field, with specified patch type.
Definition at line 335 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dimensionSet & | ds, | ||
const Field< Type > & | iField, | ||
const PtrList< PatchField< Type >> & | ptfl | ||
) |
Copy construct from components.
Definition at line 358 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const bool | readOldTime = true |
||
) |
Construct and read given IOobject.
Definition at line 381 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const Mesh & | mesh, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 417 of file GeometricField.C.
GeometricField | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Copy construct.
Definition at line 448 of file GeometricField.C.
GeometricField | ( | const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ) |
Construct from tmp<GeometricField> deleting argument.
Definition at line 475 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf | ||
) |
Construct as copy resetting IO parameters.
Definition at line 496 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ||
) |
Construct as copy of tmp<GeometricField> resetting IO parameters.
Definition at line 524 of file GeometricField.C.
GeometricField | ( | const word & | newName, |
const GeometricField< Type, PatchField, GeoMesh > & | gf | ||
) |
Copy construct with a new name.
Definition at line 547 of file GeometricField.C.
GeometricField | ( | const word & | newName, |
const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ||
) |
Construct with a new name from tmp<GeometricField>
Definition at line 575 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf, | ||
const word & | patchFieldType | ||
) |
Construct as copy resetting IO parameters and patch type.
Definition at line 596 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf, | ||
const labelList & | patchIDs, | ||
const word & | patchFieldType | ||
) |
Construct as copy resetting IO parameters and boundary type for selected patchIDs
Definition at line 665 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const GeometricField< Type, PatchField, GeoMesh > & | gf, | ||
const wordList & | patchFieldTypes, | ||
const wordList & | actualPatchTypes = wordList() |
||
) |
Construct as copy resetting IO parameters and boundary types.
Definition at line 627 of file GeometricField.C.
GeometricField | ( | const IOobject & | io, |
const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf, | ||
const wordList & | patchFieldTypes, | ||
const wordList & | actualPatchTypes = wordList() |
||
) |
Construct as copy resetting IO parameters and boundary types.
Definition at line 696 of file GeometricField.C.
|
virtual |
Destructor.
Definition at line 736 of file GeometricField.C.
TypeName | ( | "GeometricField< Type, PatchField, GeoMesh >" | ) |
Runtime type information.
|
inlinestatic |
Return a null geometric field.
Definition at line 32 of file GeometricFieldI.H.
Referenced by ddtScheme< Type >::fvcDdt().
Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > clone | ( | ) | const |
Clone.
Definition at line 727 of file GeometricField.C.
|
static |
Return tmp field from name, mesh, dimensions and patch type.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 34 of file GeometricFieldNew.C.
Referenced by Foam::makeZeroGradientField(), parseDriver::newPointField(), parseDriver::newSurfaceField(), and parseDriver::newVolField().
|
static |
Return tmp field from name, mesh, dimensions, copy of internal field, with specified patch type.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 62 of file GeometricFieldNew.C.
|
static |
Return tmp field from name, mesh, dimensions, moved internal field contents, with specified patch type.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 92 of file GeometricFieldNew.C.
|
static |
Return tmp field from name, mesh, dimensioned<Type> and patch type.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 122 of file GeometricFieldNew.C.
|
static |
Return tmp field from name, mesh, dimensioned<Type> and patch types.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 150 of file GeometricFieldNew.C.
|
static |
Return renamed tmp field.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 180 of file GeometricFieldNew.C.
|
static |
Rename tmp field and reset patch field types and return.
The field is NO_READ, NO_WRITE, unregistered and uses the current timeName from the mesh registry
Definition at line 205 of file GeometricFieldNew.C.
Foam::GeometricField< Type, PatchField, GeoMesh >::Internal & ref | ( | const bool | updateAccessTime = true | ) |
Return a reference to the dimensioned internal field.
updateAccessTime | update event counter and check old-time fields |
Definition at line 749 of file GeometricField.C.
Referenced by viscousDissipation::addSup(), interRegionHeatTransferModel::addSup(), adjointSensitivity::adjointMeshMovementSource(), Foam::atan2(), Foam::fac::average(), adjointSensitivity::computeGradDxDbMultiplier(), shapeSensitivitiesBase::constructVolSensitivtyField(), Poisson::correct(), diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), heThermo< BasicSolidThermo, MixtureType >::CpByCpv(), heThermo< BasicSolidThermo, MixtureType >::Cpv(), MRFZoneList::DDt(), Foam::fac::div(), SpalartAllmarasDES< BasicTurbulenceModel >::dTilda(), Foam::fac::edgeIntegrate(), Foam::fac::edgeSum(), multiphaseMangrovesTurbulenceModel::epsilonCoeff(), ATCstandard::getFISensitivityTerm(), ATCUaGradU::getFISensitivityTerm(), adjointEikonalSolver::getFISensitivityTerm(), faMatrix< Type >::H(), fvMatrix< Type >::H1(), Foam::interpolate(), volPointInterpolation::interpolate(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), multiphaseMangrovesTurbulenceModel::kCoeff(), laplaceFilter::laplaceFilter(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::fac::ndiv(), Foam::pow(), variablesSet::renameTurbulenceField(), dynamicOversetFvMesh::solve(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), heheuPsiThermo< BasicPsiThermo, MixtureType >::Tb(), SRFModel::Uabs(), heThermo< BasicSolidThermo, MixtureType >::W(), extendedUpwindCellToFaceStencil::weightedSum(), extendedFaceToCellStencil::weightedSum(), extendedCellToFaceStencil::weightedSum(), reverseLinear< Type >::weights(), clippedLinear< Type >::weights(), and writeCellVolumes::write().
|
inline |
Return a const-reference to the dimensioned internal field.
Definition at line 43 of file GeometricFieldI.H.
Referenced by Foam::fac::div(), edgeInterpolationScheme< scalar >::euclidianInterpolate(), backwardFaDdtScheme< Type >::facDdt(), gaussConvectionScheme< Type >::famDiv(), gaussLaplacianScheme< Type >::famLaplacian(), interfaceTrackingFvMesh::freeSurfacePressureJump(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), interfaceTrackingFvMesh::freeSurfaceSnGradUn(), skewCorrectedSnGrad< Type >::fullGradCorrection(), edgeInterpolationScheme< scalar >::interpolate(), dynamicRefineFvMesh::mapNewInternalFaces(), volSurfaceMapping::mapToVolume(), Foam::fac::ndiv(), Foam::fam::Sp(), Foam::fam::Su(), Foam::fam::SuSp(), interfaceTrackingFvMesh::update(), dynamicOversetFvMesh::writeObject(), and Foam::ensightOutput::writePointField().
|
inline |
Return a const-reference to the dimensioned internal field of a "vol" field.
Useful in the formulation of source-terms for FV equations
Definition at line 33 of file volFieldsI.H.
Foam::GeometricField< Type, PatchField, GeoMesh >::Internal::FieldType & primitiveFieldRef | ( | const bool | updateAccessTime = true | ) |
Return a reference to the internal field.
updateAccessTime | update event counter and check old-time fields |
Definition at line 766 of file GeometricField.C.
Referenced by faMatrix< Type >::A(), fvMatrix< Type >::A(), greyMeanAbsorptionEmission::aCont(), wideBandAbsorptionEmission::aCont(), MRFZone::addCoriolis(), interRegionExplicitPorositySource::addSup(), powerLawUniformBinary::addToBinaryBreakupRate(), hydrodynamic::addToCoalescenceRate(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::alpha(), ThermoCloud< Foam::DSMCCloud >::ap(), Foam::FieldOps::assign(), Foam::atan2(), Foam::fvc::average(), Foam::bound(), Implicit< CloudType >::cacheFields(), curvatureSeparation::calcCosAngle(), cubeRootVolDelta::calcDelta(), maxDeltaxyz::calcDelta(), curvatureSeparation::calcInvR1(), variableHeatTransfer::calculateHtc(), pointConstraints::constrain(), pointConstraints::constrainDisplacement(), inverseVolumeDiffusivity::correct(), curvatureSeparation::correct(), wideBandAbsorptionEmission::correct(), liquidFilmThermo::Cp(), constantFilmThermo::Cp(), distanceSurface::createGeometry(), Foam::fac::div(), wideBandAbsorptionEmission::ECont(), ThermoCloud< Foam::DSMCCloud >::Ep(), edgeInterpolationScheme< scalar >::euclidianInterpolate(), faMatrix< Type >::flux(), fvMatrix< Type >::flux(), faMatrix< Type >::H(), fvMatrix< Type >::H(), heThermo< BasicSolidThermo, MixtureType >::hc(), dynamicOversetFvMesh::interpolate(), edgeInterpolationScheme< scalar >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), volPointInterpolation::interpolateBoundaryField(), Foam::invTransform(), isoSurface::isoSurface(), isoSurfaceCell::isoSurfaceCell(), liquidFilmThermo::kappa(), constantFilmThermo::kappa(), dynamicRefineFvMesh::mapFields(), meshToMesh::mapInternalSrcToTgt(), meshToMesh::mapInternalTgtToSrc(), fvMesh::movePoints(), liquidFilmThermo::mu(), constantFilmThermo::mu(), heheuPsiThermo< BasicPsiThermo, MixtureType >::mub(), heheuPsiThermo< BasicPsiThermo, MixtureType >::muu(), Foam::fac::ndiv(), VoidFraction< CloudType >::postEvolve(), Foam::pow(), snappySnapDriver::preSmoothPatch(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psib(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psiu(), variablesSet::renameTurbulenceField(), liquidFilmThermo::rho(), constantFilmThermo::rho(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::rhoEff(), rigidBodyMeshMotion::rigidBodyMeshMotion(), acousticDampingSource::setBlendingFactor(), powerLaw::setBreakupRate(), exponential::setBreakupRate(), standardRadiation::Shs(), liquidFilmThermo::sigma(), constantFilmThermo::sigma(), ThermoCloud< Foam::DSMCCloud >::sigmap(), Foam::sqr(), Foam::stabilise(), ReactingCloud< Foam::DSMCCloud >::SYi(), Foam::T(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::theta(), Foam::transform(), Foam::unzip(), interfaceTrackingFvMesh::update(), NURBS3DVolumeCylindrical::updateLocalCoordinateSystem(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::vDotSweep(), velocityDisplacementMotionSolver::velocityDisplacementMotionSolver(), faNVDscheme< Type, NVDweight >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), AveragingMethod< Foam::Vector >::write(), solverInfo::write(), dynamicOversetFvMesh::writeAgglomeration(), and MRFZone::zero().
|
inline |
Return a const-reference to the internal field.
Definition at line 53 of file GeometricFieldI.H.
Referenced by sensitivityVolBSplinesFI::assembleSensitivities(), sensitivityBezierFI::assembleSensitivities(), Foam::FieldOps::assign(), Foam::atan2(), Foam::bound(), faceLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), Foam::cmptAv(), Foam::component(), phaseChangeModel::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), kinematicSingleLayer::CourantNumber(), motionSmootherAlgo::curPoints(), EulerFaD2dt2Scheme< Type >::facD2dt2(), boundedBackwardFaDdtScheme::facDdt(), boundedBackwardFaDdtScheme::facDdt0(), faceAreaPairGAMGAgglomeration::faceAreaPairGAMGAgglomeration(), EulerD2dt2Scheme< Type >::fvcD2dt2(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), ddtScheme< Type >::fvcDdtPhiCoeff(), ddtScheme< Type >::fvcDdtPhiCoeffExperimental(), EulerD2dt2Scheme< Type >::fvmD2dt2(), EulerDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), gaussConvectionScheme< Type >::fvmDiv(), gaussLaplacianScheme< Type, GType >::fvmLaplacianUncorrected(), kinematicSingleLayer::info(), Foam::invTransform(), isoSurface::isoSurface(), Foam::mag(), Foam::magSqr(), Foam::makeGraph(), GeometricField< Type, fvPatchField, volMesh >::operator=(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialElimination(), MomentumTransferPhaseSystem< BasePhaseSystem >::partialEliminationf(), Foam::pow(), pointFieldReconstructor::reconstructField(), fvFieldReconstructor::reconstructFvSurfaceField(), fvFieldReconstructor::reconstructFvVolumeField(), fvMatrix< Type >::residual(), rigidBodyMeshMotion::rigidBodyMeshMotion(), parseDriver::setResult(), sixDoFRigidBodyMotionSolver::sixDoFRigidBodyMotionSolver(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), reactingOneDim::solidRegionDiffNo(), surfaceAlignedSBRStressFvMotionSolver::solve(), Foam::sqr(), Foam::stabilise(), Foam::T(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), Foam::transform(), Foam::fvc::volumeIntegrate(), Foam::writeCellGraph(), and Foam::zip().
Foam::GeometricField< Type, PatchField, GeoMesh >::Boundary & boundaryFieldRef | ( | const bool | updateAccessTime = true | ) |
Return a reference to the boundary field.
updateAccessTime | update event counter and check old-time fields |
Definition at line 783 of file GeometricField.C.
Referenced by shapeSensitivities::accumulateBCSensitivityIntegrand(), sensitivitySurface::accumulateIntegrand(), sensitivitySurfacePoints::accumulateIntegrand(), Foam::FieldOps::assign(), Foam::atan2(), Foam::fac::average(), Foam::fvc::average(), Foam::bound(), wallShearStress::calcShearStress(), adjointSensitivity::computeGradDxDbMultiplier(), shapeSensitivitiesBase::constructAndWriteSensitivityField(), reconstructedDistanceFunction::constructRDF(), inversePointDistanceDiffusivity::correct(), wallDistData< TransferType >::correct(), ShihQuadraticKE::correct(), LamBremhorstKE::correct(), LienLeschziner::correct(), LienCubicKE::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::correct(), motionSmootherAlgo::correctBoundaryConditions(), MRFZoneList::correctBoundaryFlux(), thermoSingleLayer::correctHsForMappedT(), phaseModel::correctInflowOutflow(), mixtureKEpsilon< BasicTurbulenceModel >::correctInletOutlet(), cubic< Type >::correction(), distanceSurface::createGeometry(), adjointSpalartAllmaras::dr_dDelta(), adjointSpalartAllmaras::dr_dNuTilda(), adjointSpalartAllmaras::dr_dStilda(), blackBodyEmission::EbDeltaLambdaT(), edgeInterpolationScheme< scalar >::euclidianInterpolate(), faMatrix< Type >::faMatrix(), adjointSpalartAllmaras::FISensitivityTerm(), faMatrix< Type >::flux(), fvMatrix< Type >::flux(), ddtScheme< Type >::fvcDdtPhiCoeff(), ddtScheme< Type >::fvcDdtPhiCoeffExperimental(), fvMatrix< Type >::fvMatrix(), SpalartAllmaras< BasicTurbulenceModel >::fw(), NURBS3DVolume::getDxCellsDb(), ATCstandard::getFISensitivityTerm(), heThermo< BasicSolidThermo, MixtureType >::hc(), psiuReactionThermo::heuBoundaryCorrection(), localReferenceTemperature::htc(), fixedReferenceTemperature::htc(), ReynoldsAnalogy::htc(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), pointVolInterpolation::interpolate(), edgeInterpolationScheme< scalar >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), singleCellFvMesh::interpolate(), meshToMesh0::interpolate(), Foam::invTransform(), Foam::MULES::limit(), lnGradScheme< Type >::lnGrad(), dynamicRefineFvMesh::mapFields(), meshToMesh::mapSrcToTgt(), meshToMesh::mapTgtToSrc(), fvMesh::movePoints(), heheuPsiThermo< BasicPsiThermo, MixtureType >::mub(), heheuPsiThermo< BasicPsiThermo, MixtureType >::muu(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), consumptionSpeed::omega0Sigma(), Foam::pow(), phasePressureModel::pPrime(), kineticTheoryModel::pPrime(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psib(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psiu(), variablesSet::renameTurbulenceField(), laplacianMotionSolver::setBoundaryConditions(), elasticityMotionSolver::setBoundaryConditions(), motionSmootherAlgo::setDisplacementPatchFields(), pointConstraints::setPatchFields(), snGradScheme< Type >::snGrad(), adjointMeshMovementSolver::solve(), adjointSimple::solveIter(), sensitivityBezierFI::solveMeshMovementEqn(), Foam::sqr(), Foam::stabilise(), Foam::T(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), thermoSingleLayer::transferPrimaryRegionSourceFields(), kinematicSingleLayer::transferPrimaryRegionSourceFields(), Foam::transform(), polynomial::Tsat(), function1::Tsat(), dynamicRefineFvMesh::unrefine(), Foam::unzip(), inverseDistance::update(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), waveSurfacePressureFvPatchScalarField::updateCoeffs(), reactingOneDim::updatePhiGas(), reactingOneDim::updateqr(), faNVDscheme< Type, NVDweight >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), dynamicOversetFvMesh::writeAgglomeration(), MRFZone::zero(), and wallLubricationModel::zeroGradWalls().
|
inline |
Return const-reference to the boundary field.
Definition at line 62 of file GeometricFieldI.H.
Referenced by sensitivitySurface::accumulateIntegrand(), sensitivitySurfacePoints::accumulateIntegrand(), reactingOneDim::addMassSources(), basicThermo::alpha(), lumpedPointMovement::areas(), Foam::FieldOps::assign(), Foam::atan2(), Foam::fac::average(), Foam::fvc::average(), Foam::bound(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields(), ThermoSurfaceFilm< CloudType >::cacheFilmFields(), alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), fieldExtents::calcFieldExtents(), CentredFitSnGradData< Polynomial >::calcFit(), forces::calcForcesMoment(), faceLimitedGrad< Type >::calcGrad(), faceMDLimitedGrad< Type >::calcGrad(), cellMDLimitedGrad< Type >::calcGrad(), nutUWallFunctionFvPatchScalarField::calcNut(), nutUTabulatedWallFunctionFvPatchScalarField::calcNut(), nutUBlendedWallFunctionFvPatchScalarField::calcNut(), nutUSpaldingWallFunctionFvPatchScalarField::calcNut(), atmNutUWallFunctionFvPatchScalarField::calcNut(), atmNutWallFunctionFvPatchScalarField::calcNut(), wallShearStress::calcShearStress(), atmOmegaWallFunctionFvPatchScalarField::calculate(), atmEpsilonWallFunctionFvPatchScalarField::calculate(), epsilonWallFunctionFvPatchScalarField::calculate(), omegaWallFunctionFvPatchScalarField::calculate(), Foam::cmptAv(), Foam::component(), NURBS3DVolume::computeControlPointSensitivities(), adjointSensitivity::computeGradDxDbMultiplier(), adjointSpalartAllmaras::conservativeMomentumSource(), shapeSensitivitiesBase::constructAndWriteSensitivtyPointField(), reconstructedDistanceFunction::constructRDF(), transferModelList::correct(), injectionModelList::correct(), contactAngleForce::correct(), gaussGrad< Type >::correctBoundaryConditions(), thermoSingleLayer::correctHsForMappedT(), mixtureKEpsilon< BasicTurbulenceModel >::correctInletOutlet(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), linearUpwind< Type >::correction(), linearUpwindV< Type >::correction(), linearUpwindNormal< Type >::correction(), outletStabilised< Type >::correction(), omegaWallFunctionFvPatchScalarField::createAveragingWeights(), distanceSurface::createGeometry(), adjointSpalartAllmaras::diffusionCoeffVar1(), adjointEikonalSolver::distanceSensitivities(), adjointSpalartAllmaras::distanceSensitivities(), shapeSensitivities::dvdbMult(), Foam::fac::edgeIntegrate(), Foam::fac::edgeSum(), kOmega< BasicTurbulenceModel >::epsilon(), kOmegaSSTBase< eddyViscosity< RASModel< BasicTurbulenceModel > > >::epsilon(), edgeInterpolationScheme< scalar >::euclidianInterpolate(), yPlus::execute(), surfaceDistance::execute(), EulerFaD2dt2Scheme< Type >::facD2dt2(), EulerFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), boundedBackwardFaDdtScheme::facDdt0(), FacePostProcessing< CloudType >::FacePostProcessing(), gaussConvectionScheme< Type >::famDiv(), gaussLaplacianScheme< Type >::famLaplacian(), adjointSpalartAllmaras::FISensitivityTerm(), volPointInterpolation::flatBoundaryField(), faMatrix< Type >::flux(), lumpedPointMovement::forcesAndMoments(), interfaceTrackingFvMesh::freeSurfacePressureJump(), skewCorrectedSnGrad< Type >::fullGradCorrection(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), gaussConvectionScheme< Type >::fvmDiv(), gaussLaplacianScheme< Type, GType >::fvmLaplacianUncorrected(), surfaceMeshWriter::getFaceField(), basicThermo::heBoundaryBaseTypes(), psiuReactionThermo::heuBoundaryTypes(), Bromley::htcFilmBoil(), thermalBaffle::info(), fluxSummary::initialiseFaceZoneAndDirection(), mixtureKEpsilon< BasicTurbulenceModel >::initMixtureFields(), localMax< Type >::interpolate(), localMin< Type >::interpolate(), pointVolInterpolation::interpolate(), edgeInterpolationScheme< scalar >::interpolate(), surfaceInterpolationScheme< GType >::interpolate(), weightedFlux< Type >::interpolate(), singleCellFvMesh::interpolate(), meshToMesh0::interpolate(), Foam::invTransform(), objectiveForce::J(), objectiveMoment::J(), kkLOmega::k(), Foam::MULES::limit(), PhiScheme< Type, PhiLimiter >::limiter(), Foam::MULES::limiter(), Foam::MULES::limiterCorr(), lnGradScheme< Type >::lnGrad(), Foam::mag(), Foam::magSqr(), dynamicRefineFvMesh::mapFields(), dynamicRefineFvMesh::mapNewInternalFaces(), adjointMeshMovementSolver::meshMovementSensitivities(), incompressibleTwoPhaseInteractingMixture::mu(), heheuPsiThermo< BasicPsiThermo, MixtureType >::mub(), CompressibleTurbulenceModel< TransportModel >::mut(), LemmertChawla::N(), Schaeffer::nu(), Newtonian::nu(), JohnsonJacksonSchaeffer::nu(), powerLaw::nu(), HerschelBulkley::nu(), CrossPowerLaw::nu(), BirdCarreau::nu(), CompressibleTurbulenceModel< TransportModel >::nu(), Casson::nu(), incompressibleTwoPhaseMixture::nu(), incompressibleTwoPhaseInteractingMixture::nu(), incompressibleThreePhaseMixture::nu(), eddyViscosity< RASModel< BasicTurbulenceModel > >::nut(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::nut(), omegaWallFunctionFvPatchScalarField::omegaPatch(), GeometricField< Type, fvPatchField, volMesh >::operator/=(), GeometricField< Type, fvPatchField, volMesh >::operator=(), GeometricField< Type, fvPatchField, volMesh >::operator==(), boundaryAdjointContributionIncompressible::pab(), PatchCollisionDensity< CloudType >::PatchCollisionDensity(), homogeneousMixture< ThermoType >::patchFaceMixture(), inhomogeneousMixture< ThermoType >::patchFaceMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceMixture(), egrMixture< ThermoType >::patchFaceMixture(), inhomogeneousMixture< ThermoType >::patchFaceProducts(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), egrMixture< ThermoType >::patchFaceProducts(), inhomogeneousMixture< ThermoType >::patchFaceReactants(), veryInhomogeneousMixture< ThermoType >::patchFaceReactants(), egrMixture< ThermoType >::patchFaceReactants(), fvPatch::patchField(), faPatch::patchField(), lumpedPointDisplacementPointPatchVectorField::patchIds(), boundaryAdjointContributionIncompressible::pb(), boundaryAdjointContributionIncompressible::phiab(), boundaryAdjointContributionIncompressible::phib(), PatchCollisionDensity< CloudType >::postPatch(), Foam::pow(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psib(), reactingEulerHtcModel::q(), heatTransferCoeffModel::q(), thermoSingleLayer::qconvp(), thermoSingleLayer::qconvw(), greyDiffusiveViewFactorFixedValueFvPatchScalarField::qro(), pointFieldReconstructor::reconstructField(), fvFieldReconstructor::reconstructFvSurfaceField(), fvFieldReconstructor::reconstructFvVolumeField(), Foam::fvc::reconstructMag(), RemoveParcels< CloudType >::RemoveParcels(), fvMatrix< Type >::residual(), Foam::reusable(), incompressibleTwoPhaseInteractingMixture::rho(), patchProbes::sample(), sampledMeshedSurface::sampleOnFaces(), sampledPatch::sampleOnFaces(), extractEulerianParticles::setBlockedFaces(), laplacianMotionSolver::setBoundaryConditions(), elasticityMotionSolver::setBoundaryConditions(), lumpedPointDisplacementPointPatchVectorField::setInterpolators(), displacementMethoddisplacementLaplacian::setMotionField(), displacementMethodlaplacianMotionSolver::setMotionField(), displacementMethodvelocityLaplacian::setMotionField(), displacementMethodelasticityMotionSolver::setMotionField(), lumpedPointDisplacementPointPatchVectorField::setPatchControls(), thermoSingleLayer::Sh(), snGradScheme< Type >::snGrad(), thermalBaffle::solveEnergy(), Foam::sqr(), thermoSingleLayer::Srho(), Foam::stabilise(), Foam::fvc::surfaceIntegrate(), Foam::fvc::surfaceSum(), Foam::T(), Foam::FieldOps::ternary(), Foam::FieldOps::ternarySelect(), Spiegler::TLeid(), fluxSummary::totalArea(), kinematicSingleLayer::transferPrimaryRegionSourceFields(), Foam::transform(), polynomial::Tsat(), function1::Tsat(), boundaryAdjointContributionIncompressible::Uab(), boundaryAdjointContributionIncompressible::Ub(), dynamicRefineFvMesh::unrefine(), interfaceTrackingFvMesh::update(), objectiveForce::update_dSdbMultiplier(), objectiveMoment::update_dSdbMultiplier(), objectiveMoment::update_dxdbDirectMultiplier(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), inclinedFilmNusseltHeightFvPatchScalarField::updateCoeffs(), inclinedFilmNusseltInletVelocityFvPatchVectorField::updateCoeffs(), fixedMultiPhaseHeatFluxFvPatchScalarField::updateCoeffs(), wideBandDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), mappedVelocityFluxFixedValueFvPatchField::updateCoeffs(), greyDiffusiveRadiationMixedFvPatchScalarField::updateCoeffs(), alphatWallFunctionFvPatchScalarField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), waveSurfacePressureFvPatchScalarField::updateCoeffs(), advectiveFvPatchField< Type >::updateCoeffs(), alphatWallBoilingWallFunctionFvPatchScalarField::updateCoeffs(), reactingOneDim::updateqr(), thermoSingleLayer::updateSurfaceTemperatures(), kinematicSingleLayer::updateSurfaceVelocities(), adjointSpalartAllmaras::wallFloCoSensitivities(), adjointSpalartAllmaras::wallShapeSensitivities(), outletStabilised< Type >::weights(), faNVDscheme< Type, NVDweight >::weights(), limitedSurfaceInterpolationScheme< Type >::weights(), dynamicOversetFvMesh::write(), Foam::writePatchGraph(), Foam::ensightOutput::writeVolField(), alphatJayatillekeWallFunctionFvPatchScalarField::yPlus(), and Foam::zip().
|
inline |
Return the time index of the field.
Definition at line 70 of file GeometricFieldI.H.
Referenced by subCycleField< GeometricField >::~subCycleField().
|
inline |
Return the time index of the field.
Definition at line 78 of file GeometricFieldI.H.
void storeOldTimes | ( | ) | const |
Store the old-time fields.
Definition at line 797 of file GeometricField.C.
void storeOldTime | ( | ) | const |
Store the old-time field.
Definition at line 816 of file GeometricField.C.
Foam::label nOldTimes | ( | ) | const |
Return the number of old time fields stored.
Definition at line 837 of file GeometricField.C.
const Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) | const |
Return old time field.
Definition at line 850 of file GeometricField.C.
Referenced by isoAdvection::boundFlux(), EulerFaD2dt2Scheme< Type >::facD2dt2(), EulerFaDdtScheme< Type >::facDdt(), backwardFaDdtScheme< Type >::facDdt(), boundedBackwardFaDdtScheme::facDdt(), EulerFaDdtScheme< Type >::facDdt0(), backwardFaDdtScheme< Type >::facDdt0(), boundedBackwardFaDdtScheme::facDdt0(), EulerFaD2dt2Scheme< Type >::famD2dt2(), EulerFaDdtScheme< Type >::famDdt(), backwardFaDdtScheme< Type >::famDdt(), boundedBackwardFaDdtScheme::famDdt(), EulerD2dt2Scheme< Type >::fvcD2dt2(), EulerDdtScheme< Type >::fvcDdt(), CoEulerDdtScheme< Type >::fvcDdt(), SLTSDdtScheme< Type >::fvcDdt(), backwardDdtScheme< Type >::fvcDdt(), localEulerDdtScheme< Type >::fvcDdt(), CrankNicolsonDdtScheme< Type >::fvcDdt(), EulerD2dt2Scheme< Type >::fvmD2dt2(), EulerDdtScheme< Type >::fvmDdt(), CoEulerDdtScheme< Type >::fvmDdt(), backwardDdtScheme< Type >::fvmDdt(), SLTSDdtScheme< Type >::fvmDdt(), localEulerDdtScheme< Type >::fvmDdt(), CrankNicolsonDdtScheme< Type >::fvmDdt(), GeometricField< Type, fvPatchField, volMesh >::oldTime(), and waveSurfacePressureFvPatchScalarField::updateCoeffs().
Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) |
Return non-const old time field.
(Not a good idea but it is used for sub-cycling)
Definition at line 890 of file GeometricField.C.
void storePrevIter | ( | ) | const |
Store the field as the previous iteration value.
Definition at line 900 of file GeometricField.C.
Referenced by adjointSpalartAllmaras::correct().
const Foam::GeometricField< Type, PatchField, GeoMesh > & prevIter | ( | ) | const |
Return previous iteration field.
Definition at line 923 of file GeometricField.C.
Referenced by Foam::fvc::alphaCorr().
void correctBoundaryConditions | ( | ) |
Correct boundary field.
Definition at line 940 of file GeometricField.C.
Referenced by faMatrix< Type >::A(), fvMatrix< Type >::A(), greyMeanAbsorptionEmission::aCont(), porosityModel::addResistance(), Foam::fac::average(), Foam::fvc::average(), Implicit< CloudType >::cacheFields(), cubeRootVolDelta::calcDelta(), maxDeltaxyz::calcDelta(), pointConstraints::constrain(), pointConstraints::constrainDisplacement(), reconstructedDistanceFunction::constructRDF(), inverseVolumeDiffusivity::correct(), transferModelList::correct(), injectionModelList::correct(), primaryRadiation::correct(), mappedConvectiveHeatTransfer::correct(), standardRadiation::correct(), phaseChangeModel::correct(), qZeta::correct(), mixtureKEpsilon< BasicTurbulenceModel >::correct(), kkLOmega::correct(), adjointSpalartAllmaras::correct(), thermoSingleLayer::correctAlpha(), thermoSingleLayer::correctHsForMappedT(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ShihQuadraticKE::correctNonlinearStress(), LienCubicKE::correctNonlinearStress(), incompressibleVars::correctNonTurbulentBoundaryConditions(), qZeta::correctNut(), LienLeschziner::correctNut(), SpalartAllmaras< BasicTurbulenceModel >::correctNut(), SpalartAllmarasDES< BasicTurbulenceModel >::correctNut(), liquidFilmThermo::Cp(), constantFilmThermo::Cp(), Foam::fac::div(), interfaceTrackingFvMesh::freeSurfaceSnGradU(), NURBS3DVolume::getDxCellsDb(), Foam::fac::grad(), faMatrix< Type >::H(), fvMatrix< Type >::H(), dynamicOversetFvMesh::interpolate(), patchTransformedInterpolation::interpolate(), pointVolInterpolation::interpolate(), SpalartAllmarasDES< BasicTurbulenceModel >::k(), liquidFilmThermo::kappa(), constantFilmThermo::kappa(), liquidFilmThermo::mu(), constantFilmThermo::mu(), Foam::fac::ndiv(), Foam::fac::ngrad(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), liquidFilmThermo::rho(), constantFilmThermo::rho(), acousticDampingSource::setBlendingFactor(), standardRadiation::Shs(), liquidFilmThermo::sigma(), constantFilmThermo::sigma(), twoPhaseSystem::solve(), adjointSimple::solveIter(), StandardChemistryModel< ReactionThermo, ThermoType >::tc(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::theta(), thermoSingleLayer::transferPrimaryRegionSourceFields(), kinematicSingleLayer::transferPrimaryRegionSourceFields(), thermoSingleLayer::transferPrimaryRegionThermoFields(), kinematicSingleLayer::transferPrimaryRegionThermoFields(), dynamicMotionSolverListFvMesh::update(), dynamicMultiMotionSolverFvMesh::update(), dynamicMotionSolverFvMeshAMI::update(), uniformInterpolatedDisplacementPointPatchVectorField::updateCoeffs(), reactingOneDim::updateqr(), thermoSingleLayer::updateSurfaceTemperatures(), kinematicSingleLayer::updateSurfaceVelocities(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::vDotSweep(), and dynamicOversetFvMesh::writeObject().
bool needReference | ( | ) | const |
Does the field need a reference level for solution.
Definition at line 949 of file GeometricField.C.
Referenced by Foam::setRefCell().
tmp<GeometricField<cmptType, PatchField, GeoMesh> > component | ( | const | direction | ) | const |
Return a component of the field.
Referenced by sensitivitySurface::accumulateIntegrand(), sensitivitySurfacePoints::accumulateIntegrand(), adjointSensitivity::computeGradDxDbMultiplier(), fourthLnGrad< Type >::correction(), correctedLnGrad< Type >::correction(), cubic< Type >::correction(), correctedSnGrad< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), skewCorrectedSnGrad< Type >::correction(), linearUpwind< Type >::correction(), setFlow::execute(), skewCorrectedSnGrad< Type >::fullGradCorrection(), ATCUaGradU::getFISensitivityTerm(), Foam::fvc::magSqrGradGrad(), skewCorrected< Type >::skewCorrection(), surfaceAlignedSBRStressFvMotionSolver::solve(), objectiveForce::update_dxdbMultiplier(), objectiveMoment::update_dxdbMultiplier(), and Foam::writePatchGraph().
WriteData member function required by regIOobject.
Definition at line 1035 of file GeometricField.C.
Referenced by GeometricField< Type, fvPatchField, volMesh >::operator/=().
Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > T | ( | ) | const |
Return transpose (only if it is a tensor field)
Definition at line 1046 of file GeometricField.C.
Referenced by adjointSensitivity::adjointMeshMovementSource(), alphatPhaseChangeJayatillekeWallFunctionFvPatchScalarField::calcAlphat(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), displacementSBRStressFvMotionSolver::solve(), and surfaceAlignedSBRStressFvMotionSolver::solve().
void relax | ( | const scalar | alpha | ) |
Relax field (for steady-state solution).
alpha = 1 : no relaxation alpha < 1 : relaxation alpha = 0 : do nothing
Definition at line 972 of file GeometricField.C.
Referenced by diffusionMulticomponent< ReactionThermo, ThermoType >::correct(), adjointSpalartAllmaras::correct(), simple::solveIter(), and adjointSimple::solveIter().
void relax | ( | ) |
Relax field (for steady-state solution).
alpha is read from controlDict
Definition at line 982 of file GeometricField.C.
Foam::word select | ( | bool | final | ) | const |
Select the final iteration parameters if `final' is true.
by returning the field name + "Final" otherwise the standard parameters by returning the field name
Definition at line 1007 of file GeometricField.C.
void writeMinMax | ( | Ostream & | os | ) | const |
Helper function to write the min and max to an Ostream.
Definition at line 1022 of file GeometricField.C.
void negate | ( | ) |
Negate the field inplace.
Definition at line 1189 of file GeometricField.C.
void replace | ( | const direction | d, |
const GeometricField< cmptType, PatchField, GeoMesh > & | gcf | ||
) |
Replace specified field component with content from another field.
Referenced by sensitivityVolBSplinesFI::assembleSensitivities(), correctedLnGrad< Type >::correction(), fourthLnGrad< Type >::correction(), cubic< Type >::correction(), faceCorrectedSnGrad< Type >::correction(), correctedSnGrad< Type >::correction(), fvMatrix< Type >::H(), anisotropicFilter::operator()(), shallowWaterAbsorption::setVelocity(), and surfaceAlignedSBRStressFvMotionSolver::solve().
void replace | ( | const direction | d, |
const dimensioned< cmptType > & | ds | ||
) |
Replace specified field component with specified value.
Definition at line 1120 of file GeometricField.C.
void min | ( | const dimensioned< Type > & | dt | ) |
Use the minimum of the field and specified value.
This sets the ceiling on the field values
Definition at line 1132 of file GeometricField.C.
Referenced by kineticTheoryModel::correct(), laminar::Su(), and thermoSingleLayer::T().
void max | ( | const dimensioned< Type > & | dt | ) |
Use the maximum of the field and specified value.
This sets the floor on the field values
Definition at line 1143 of file GeometricField.C.
Referenced by dynamicKEqn< BasicTurbulenceModel >::Ce(), dynamicKEqn< BasicTurbulenceModel >::correct(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), and reactingOneDim::solveSpeciesMass().
void clip | ( | const dimensioned< MinMax< Type >> & | range | ) |
Clip the field to be bounded within the specified range.
Definition at line 1154 of file GeometricField.C.
Referenced by twoPhaseSystem::solve(), and multiphaseSystem::solve().
void clip | ( | const dimensioned< Type > & | minVal, |
const dimensioned< Type > & | maxVal | ||
) |
Clip the field to be bounded within the specified range.
Definition at line 1165 of file GeometricField.C.
void maxMin | ( | const dimensioned< Type > & | minVal, |
const dimensioned< Type > & | maxVal | ||
) |
Deprecated(2019-01) identical to clip()
Definition at line 1179 of file GeometricField.C.
|
inline |
Return a const-reference to the dimensioned internal field.
Useful in the formulation of source-terms for FV equations
Definition at line 91 of file GeometricFieldI.H.
void operator= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1200 of file GeometricField.C.
void operator= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1220 of file GeometricField.C.
void operator= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1256 of file GeometricField.C.
void operator== | ( | const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1267 of file GeometricField.C.
void operator== | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1286 of file GeometricField.C.
void operator+= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1329 of file GeometricField.C.
void operator+= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1329 of file GeometricField.C.
void operator-= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) |
Definition at line 1330 of file GeometricField.C.
void operator-= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1330 of file GeometricField.C.
void operator*= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) |
Definition at line 1331 of file GeometricField.C.
void operator*= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1331 of file GeometricField.C.
void operator/= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) |
Definition at line 1332 of file GeometricField.C.
void operator/= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh >> & | tgf | ) |
Definition at line 1332 of file GeometricField.C.
void operator+= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1329 of file GeometricField.C.
void operator-= | ( | const dimensioned< Type > & | dt | ) |
Definition at line 1330 of file GeometricField.C.
void operator*= | ( | const dimensioned< scalar > & | dt | ) |
Definition at line 1331 of file GeometricField.C.
void operator/= | ( | const dimensioned< scalar > & | dt | ) |
Definition at line 1332 of file GeometricField.C.
tmp< GeometricField< scalar, faPatchField, areaMesh > > component | ( | const | direction | ) | const |
Definition at line 61 of file areaFields.C.
void replace | ( | const | direction, |
const GeometricField< scalar, faPatchField, areaMesh > & | gsf | ||
) |
Definition at line 70 of file areaFields.C.
tmp< GeometricField< scalar, faPatchField, areaMesh > > component | ( | const | direction | ) | const |
void replace | ( | const | direction, |
const GeometricField< scalar, faPatchField, areaMesh > & | sf | ||
) |
tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const | direction | ) | const |
Definition at line 68 of file volFields.C.
void replace | ( | const | direction, |
const GeometricField< scalar, fvPatchField, volMesh > & | gsf | ||
) |
Definition at line 78 of file volFields.C.
tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const | direction | ) | const |
void replace | ( | const | direction, |
const GeometricField< scalar, fvPatchField, volMesh > & | sf | ||
) |
|
friend |
|
friend |