|
|
|
GeometricField< Type, PatchField, GeoMesh > Class Template ReferenceGeneric GeometricField class. More...
Inheritance diagram for GeometricField< Type, PatchField, GeoMesh >:
![]()
Collaboration diagram for GeometricField< Type, PatchField, GeoMesh >:
![]()
Detailed Descriptiontemplate<class Type, template< class > class PatchField, class GeoMesh>
Generic GeometricField class.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef GeoMesh::Mesh Mesh |
Reimplemented from DimensionedField< Type, GeoMesh >.
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 92 of file GeometricField.H.
| typedef GeoMesh::BoundaryMesh BoundaryMesh |
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 93 of file GeometricField.H.
| typedef DimensionedField<Type, GeoMesh> DimensionedInternalField |
Definition at line 95 of file GeometricField.H.
| typedef Field<Type> InternalField |
Definition at line 96 of file GeometricField.H.
| typedef PatchField<Type> PatchFieldType |
Definition at line 97 of file GeometricField.H.
Component type.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 265 of file GeometricField.H.
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| const dimensionSet & | ds, | |||
| const word & | patchFieldType = PatchField<Type>::calculatedType() | |||
| ) | [inline] |
Constructor given IOobject, mesh, dimensions and patch type.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
Definition at line 179 of file GeometricField.C.
References Foam::endl(), Foam::Info, and IOobject::info().

| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| const dimensionSet & | ds, | |||
| const wordList & | patchFieldTypes | |||
| ) | [inline] |
Constructor given IOobject, mesh, dimensions and patch types.
This allocates storage for the field but not values. Used only within this class to create TEMPORARY variables
Definition at line 209 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| const dimensioned< Type > & | dt, | |||
| const word & | patchFieldType = PatchField<Type>::calculatedType() | |||
| ) | [inline] |
Constructor given IOobject, mesh, dimensioned<Type> and patch type.
Definition at line 236 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| const dimensioned< Type > & | dt, | |||
| const wordList & | patchFieldTypes | |||
| ) | [inline] |
Constructor given IOobject, mesh, dimensioned<Type> and patch types.
Definition at line 265 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| const dimensionSet & | ds, | |||
| const Field< Type > & | iField, | |||
| const PtrList< PatchField< Type > > & | ptfl | |||
| ) | [inline] |
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh | |||
| ) | [inline] |
| GeometricField | ( | const IOobject & | io, | |
| const Mesh & | mesh, | |||
| Istream & | is | |||
| ) | [inline] |
| GeometricField | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) | [inline] |
| GeometricField | ( | const IOobject & | io, | |
| const GeometricField< Type, PatchField, GeoMesh > & | gf | |||
| ) | [inline] |
Construct as copy of tmp<GeometricField> deleting argument.
Construct as copy resetting IO parameters
Definition at line 464 of file GeometricField.C.
| GeometricField | ( | const word & | newName, | |
| const GeometricField< Type, PatchField, GeoMesh > & | gf | |||
| ) | [inline] |
| GeometricField | ( | const IOobject & | io, | |
| const GeometricField< Type, PatchField, GeoMesh > & | gf, | |||
| const word & | patchFieldType | |||
| ) | [inline] |
Construct as copy resetting name.
Construct as copy resetting IO parameters and patch type
Definition at line 559 of file GeometricField.C.
| GeometricField | ( | const IOobject & | io, | |
| const GeometricField< Type, PatchField, GeoMesh > & | gf, | |||
| const wordList & | patchFieldTypes | |||
| ) | [inline] |
Construct as copy resetting IO parameters and boundary types.
Definition at line 594 of file GeometricField.C.
| ~GeometricField | ( | ) | [inline, virtual] |
Definition at line 629 of file GeometricField.C.
| const Foam::GeometricField< Type, PatchField, GeoMesh > & null | ( | ) | [inline, static] |
Return a null geometric field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 22 of file GeometricFieldI.H.
| Foam::GeometricField< Type, PatchField, GeoMesh >::DimensionedInternalField & dimensionedInternalField | ( | ) | [inline] |
Return dimensioned internal field.
Definition at line 641 of file GeometricField.C.
Referenced by Foam::operator<<().

| const Foam::GeometricField< Type, PatchField, GeoMesh >::DimensionedInternalField & dimensionedInternalField | ( | ) | const [inline] |
| Foam::GeometricField< Type, PatchField, GeoMesh >::InternalField & internalField | ( | ) | [inline] |
Return internal field.
Definition at line 652 of file GeometricField.C.
Referenced by Foam::fvc::average(), Foam::calcEk(), SpalartAllmaras::fv1(), EulerD2dt2Scheme< Type >::fvcD2dt2(), hhuMixtureThermo< MixtureType >::hhuMixtureThermo(), fvMeshSubset::interpolate(), pointPatchInterpolation::interpolate(), surfaceInterpolationScheme< Type >::interpolate(), laplaceFilter::laplaceFilter(), Foam::mag(), Foam::magSqr(), Foam::fv::makeFvGradScheme(), Foam::makeGraph(), Foam::MapGeometricFields(), GeometricField< Type, PatchField, GeoMesh >::max(), GeometricField< Type, PatchField, GeoMesh >::min(), GeometricField< Type, PatchField, GeoMesh >::negate(), laplaceFilter::read(), GeometricField< Type, PatchField, GeoMesh >::replace(), SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >::SlicedGeometricField(), Foam::stabilise(), Foam::T(), Foam::transform(), Foam::fvc::volumeIntegrate(), and Foam::writeCellGraph().

| const Foam::GeometricField< Type, PatchField, GeoMesh >::InternalField & internalField | ( | ) | const [inline] |
| Foam::GeometricField< Type, PatchField, GeoMesh >::GeometricBoundaryField & boundaryField | ( | ) | [inline] |
Return reference to GeometricBoundaryField.
Definition at line 664 of file GeometricField.C.
Referenced by Foam::fvc::average(), nutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcNut(), mutSpalartAllmarasWallFunctionFvPatchScalarField::calcUTau(), mutSpalartAllmarasStandardWallFunctionFvPatchScalarField::calcYPlus(), mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField::calcYPlus(), homogeneousMixture< ThermoType >::cellReactants(), extendedFaceToCellStencil::collectData(), extendedCellToFaceStencil::collectData(), outletStabilised< Type >::correction(), linearUpwind< Type >::correction(), Foam::resError::div(), EulerD2dt2Scheme< Type >::fvcD2dt2(), hhuMixtureThermo< MixtureType >::hhuMixtureThermo(), hhuCombustionThermo::huBoundaryTypes(), fvMeshSubset::interpolate(), pointPatchInterpolation::interpolate(), localMin< Type >::interpolate(), surfaceInterpolationScheme< Type >::interpolate(), localMax< Type >::interpolate(), PhiScheme< Type, PhiLimiter >::limiter(), LimitedScheme< Type, Limiter, LimitFunc >::limiter(), Foam::mag(), Foam::magSqr(), Foam::fv::makeFvGradScheme(), Foam::MapGeometricFields(), GeometricField< Type, PatchField, GeoMesh >::max(), GeometricField< Type, PatchField, GeoMesh >::min(), GeometricField< Type, PatchField, GeoMesh >::negate(), Foam::operator<<(), hPsiMixtureThermo< MixtureType >::read(), hRhoMixtureThermo< MixtureType >::read(), GeometricField< Type, PatchField, GeoMesh >::replace(), Foam::stabilise(), Foam::fvc::surfaceIntegrate(), Foam::T(), Foam::transform(), extendedUpwindCellToFaceStencil::weightedSum(), outletStabilised< Type >::weights(), ensightParts::writeField(), and Foam::writePatchGraph().

| const Foam::GeometricField< Type, PatchField, GeoMesh >::GeometricBoundaryField & boundaryField | ( | ) | const [inline] |
Return reference to GeometricBoundaryField for const field.
Definition at line 52 of file GeometricFieldI.H.
| Foam::label timeIndex | ( | ) | const [inline] |
| Foam::label & timeIndex | ( | ) | [inline] |
| void storeOldTimes | ( | ) | const [inline] |
Store the old-time fields.
Definition at line 674 of file GeometricField.C.
References regIOobject::setUpToDate().
Referenced by Foam::MapGeometricFields(), and GeometricField< Type, PatchField, GeoMesh >::needReference().


| void storeOldTime | ( | ) | const [inline] |
| Foam::label nOldTimes | ( | ) | const [inline] |
Return the number of old time fields stored.
Definition at line 719 of file GeometricField.C.
References IOobject::writeOpt().

| const Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) | const [inline] |
Return old time field.
Definition at line 734 of file GeometricField.C.
Referenced by Foam::MULES::explicitSolve(), and EulerD2dt2Scheme< Type >::fvcD2dt2().

| Foam::GeometricField< Type, PatchField, GeoMesh > & oldTime | ( | ) | [inline] |
Return non-const old time field.
(Not a good idea but it is used for sub-cycling)
Definition at line 760 of file GeometricField.C.
| void storePrevIter | ( | ) | const [inline] |
| const Foam::GeometricField< Type, PatchField, GeoMesh > & prevIter | ( | ) | const [inline] |
Return previous iteration field.
Definition at line 797 of file GeometricField.C.
Referenced by GeometricField< Type, PatchField, GeoMesh >::relax().

| void correctBoundaryConditions | ( | ) | [inline] |
Correct boundary field.
Reimplemented in SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >, and SlicedGeometricField< Type, PatchField, SlicedPatchField, GeoMesh >.
Definition at line 817 of file GeometricField.C.
Referenced by Foam::MULES::explicitSolve(), kOmegaSSTSAS::F1(), SpalartAllmaras::fv1(), pointPatchInterpolation::interpolate(), and LRRDiffStress::LRRDiffStress().

| bool needReference | ( | ) | const [inline] |
Does the field need a reference level for solution.
Definition at line 827 of file GeometricField.C.
References GeometricBoundaryField::evaluate(), regIOobject::setUpToDate(), and GeometricField< Type, PatchField, GeoMesh >::storeOldTimes().
Referenced by fvMatrix< Type >::setComponentReference(), and Foam::setRefCell().


| tmp<GeometricField<cmptType, PatchField, GeoMesh> > component | ( | const | direction | ) | const |
Return a component of the field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Referenced by Foam::fvc::magSqrGradGrad().

| bool writeData | ( | Ostream & | os | ) | const [inline, virtual] |
WriteData member function required by regIOobject.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 876 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::relax().

| Foam::tmp< Foam::GeometricField< Type, PatchField, GeoMesh > > T | ( | ) | const [inline] |
Return transpose (only if it is a tensor field).
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 887 of file GeometricField.C.
| void relax | ( | const scalar | alpha | ) | [inline] |
Relax field (for steady-state solution).
alpha = 1 : no relaxation alpha < 1 : relaxation alpha = 0 : do nothing
Definition at line 850 of file GeometricField.C.
| void relax | ( | ) | [inline] |
Relax field (for steady-state solution).
alpha is read from controlDict
Definition at line 857 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::operator==(), and GeometricField< Type, PatchField, GeoMesh >::prevIter().
Referenced by GeometricField< Type, PatchField, GeoMesh >::writeData().


| void negate | ( | ) | [inline] |
Negate this field.
Reimplemented from Field< Type >.
Definition at line 1000 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::internalField(), GeometricField< Type, PatchField, GeoMesh >::min(), and dimensioned< Type >::value().
Referenced by fvMatrix< Type >::operator+=().


| void replace | ( | const | direction, | |
| const GeometricField< cmptType, PatchField, GeoMesh > & | ||||
| ) |
| void replace | ( | const direction | d, | |
| const dimensioned< cmptType > & | ds | |||
| ) | [inline] |
Definition at line 967 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::internalField(), FieldField< Field, Type >::replace(), and Field< Type >::replace().

| void max | ( | const dimensioned< Type > & | dt | ) | [inline] |
Definition at line 979 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::internalField(), FieldField< Field, Type >::replace(), and Field< Type >::replace().
Referenced by GeometricField< Type, PatchField, GeoMesh >::min().


| void min | ( | const dimensioned< Type > & | dt | ) | [inline] |
Definition at line 990 of file GeometricField.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), GeometricField< Type, PatchField, GeoMesh >::internalField(), GeometricField< Type, PatchField, GeoMesh >::max(), and dimensioned< Type >::value().
Referenced by GeometricField< Type, PatchField, GeoMesh >::negate().


| void max | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void min | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) |
| void scale | ( | const GeometricField< Type, PatchField, GeoMesh > & | , | |
| const dimensioned< Type > & | ||||
| ) |
| void operator= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) | [inline] |
Definition at line 1011 of file GeometricField.C.
Referenced by GeometricBoundaryField::operator=().

| void operator= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1036 of file GeometricField.C.
| void operator= | ( | const dimensioned< Type > & | dt | ) | [inline] |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1072 of file GeometricField.C.
| void operator== | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1083 of file GeometricField.C.
References boundaryField(), and dimensioned< Type >::value().
Referenced by GeometricField< Type, PatchField, GeoMesh >::relax().


| void operator== | ( | const dimensioned< Type > & | dt | ) | [inline] |
Definition at line 1102 of file GeometricField.C.
| void operator+= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) | [inline] |
Definition at line 1145 of file GeometricField.C.
| void operator+= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1145 of file GeometricField.C.
| void operator-= | ( | const GeometricField< Type, PatchField, GeoMesh > & | gf | ) | [inline] |
Definition at line 1146 of file GeometricField.C.
| void operator-= | ( | const tmp< GeometricField< Type, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1146 of file GeometricField.C.
| void operator*= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) | [inline] |
Definition at line 1147 of file GeometricField.C.
| void operator*= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1147 of file GeometricField.C.
| void operator/= | ( | const GeometricField< scalar, PatchField, GeoMesh > & | gf | ) | [inline] |
Definition at line 1148 of file GeometricField.C.
| void operator/= | ( | const tmp< GeometricField< scalar, PatchField, GeoMesh > > & | tgf | ) | [inline] |
Definition at line 1148 of file GeometricField.C.
| void operator+= | ( | const dimensioned< Type > & | dt | ) | [inline] |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1145 of file GeometricField.C.
| void operator-= | ( | const dimensioned< Type > & | dt | ) | [inline] |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1146 of file GeometricField.C.
| void operator*= | ( | const dimensioned< scalar > & | dt | ) | [inline] |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1147 of file GeometricField.C.
| void operator/= | ( | const dimensioned< scalar > & | dt | ) | [inline] |
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 1148 of file GeometricField.C.
| tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const | direction | ) | const [inline] |
Return a component field of the field.
Reimplemented from DimensionedField< Type, GeoMesh >.
Definition at line 42 of file volFields.C.
| void replace | ( | const | direction, | |
| const GeometricField< scalar, fvPatchField, volMesh > & | gsf | |||
| ) | [inline] |
Definition at line 51 of file volFields.C.
| tmp< GeometricField< scalar, fvPatchField, volMesh > > component | ( | const | direction | ) | const [inline] |
| void replace | ( | const | direction, | |
| const GeometricField< scalar, fvPatchField, volMesh > & | sf | |||
| ) | [inline] |
| Ostream& operator | ( | Ostream & | , | |
| const GeometricField< Type, PatchField, GeoMesh > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const tmp< GeometricField< Type, PatchField, GeoMesh > > & | ||||
| ) | [friend] |