Limits the temperature to be between minimum and maximum values. More...


Public Member Functions | |
| TypeName ("limitTemperature") | |
| Runtime type information. More... | |
| limitTemperature (const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. More... | |
| limitTemperature (const limitTemperature &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~limitTemperature () |
| Destructor. More... | |
| virtual wordList | constrainedFields () const |
| Return the list of fields constrained by the fvConstraint. More... | |
| virtual bool | constrain (volScalarField &he) const |
| Constrain the energy field. More... | |
| virtual bool | movePoints () |
| Update for mesh motion. More... | |
| virtual void | topoChange (const polyTopoChangeMap &) |
| Update topology using the given map. More... | |
| virtual void | mapMesh (const polyMeshMap &) |
| Update from another mesh using the given map. More... | |
| virtual void | distribute (const polyDistributionMap &) |
| Redistribute or update using the given distribution map. More... | |
| virtual bool | read (const dictionary &dict) |
| Read dictionary. More... | |
| void | operator= (const limitTemperature &)=delete |
| Disallow default bitwise assignment. More... | |
Public Member Functions inherited from fvConstraint | |
| TypeName ("fvConstraint") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fvConstraint, dictionary,(const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict),(name, constraintType, mesh, dict)) | |
| fvConstraint (const word &name, const word &constraintType, const fvMesh &mesh, const dictionary &dict) | |
| Construct from components. More... | |
| autoPtr< fvConstraint > | clone () const |
| Return clone. More... | |
| virtual | ~fvConstraint () |
| Destructor. More... | |
| const word & | name () const |
| Return const access to the source name. More... | |
| const fvMesh & | mesh () const |
| Return const access to the mesh database. More... | |
| const dictionary & | coeffs (const dictionary &) const |
| Return the coefficients sub-dictionary. More... | |
| virtual bool | constrainsField (const word &fieldName) const |
| Return true if the given field is constrained. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_FV_CONSTRAINT_CONSTRAIN) | |
| Apply a constraint to an equation. More... | |
| FOR_ALL_FIELD_TYPES (DEFINE_FV_CONSTRAINT_CONSTRAIN_FIELD) | |
| Apply constraint to a field. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvConstraint | |
| static autoPtr< fvConstraint > | New (const word &name, const fvMesh &mesh, const dictionary &dict) |
| Return a reference to the selected fvConstraint. More... | |
Limits the temperature to be between minimum and maximum values.
limitT
{
type limitTemperature;
cellZone all;
// field T; // Optional energy/temperature field name
// Set to T for compressibleVoF
phase gas; // Optional phase name
min 200;
max 500;
}
Definition at line 70 of file limitTemperature.H.
| limitTemperature | ( | const word & | name, |
| const word & | modelType, | ||
| const fvMesh & | mesh, | ||
| const dictionary & | dict | ||
| ) |
Construct from components.
Definition at line 60 of file limitTemperature.C.
References fvConstraint::coeffs(), and dict.

|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 120 of file limitTemperature.H.
| TypeName | ( | "limitTemperature" | ) |
Runtime type information.
|
virtual |
Return the list of fields constrained by the fvConstraint.
Reimplemented from fvConstraint.
Definition at line 81 of file limitTemperature.C.
References IOobject::groupName(), objectRegistry::lookupObject(), mesh, word::null, and thermo.

|
virtual |
Constrain the energy field.
Definition at line 100 of file limitTemperature.C.
References cells, Foam::dimTemperature, fvPatchField< Type >::fixesValue(), forAll, IOobject::groupName(), he(), objectRegistry::lookupObject(), Foam::max(), mesh, Foam::min(), patchi, List< T >::size(), and thermo.

|
virtual |
|
virtual |
Update topology using the given map.
Implements fvConstraint.
Definition at line 193 of file limitTemperature.C.
|
virtual |
Update from another mesh using the given map.
Implements fvConstraint.
Definition at line 199 of file limitTemperature.C.
|
virtual |
Redistribute or update using the given distribution map.
Implements fvConstraint.
Definition at line 205 of file limitTemperature.C.
|
virtual |
Read dictionary.
Reimplemented from fvConstraint.
Definition at line 211 of file limitTemperature.C.
References dict, and fvConstraint::read().

|
delete |
Disallow default bitwise assignment.