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 dictionary &dict, const fvMesh &mesh) | |
| 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 void | updateMesh (const mapPolyMesh &) |
| Update for mesh changes. 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 dictionary &dict, const fvMesh &mesh),(name, constraintType, dict, mesh)) | |
| fvConstraint (const word &name, const word &constraintType, const dictionary &dict, const fvMesh &mesh) | |
| 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 |
| Return 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 contraint to a field. More... | |
| virtual bool | movePoints () |
| Update for mesh motion. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from fvConstraint | |
| static autoPtr< fvConstraint > | New (const word &name, const dictionary &dict, const fvMesh &mesh) |
| Return a reference to the selected fvConstraint. More... | |
Limits the temperature to be between minimum and maximum values.
limitT
{
type limitTemperature;
selectionMode all;
phase gas; // Optional phase name
min 200;
max 500;
}
Definition at line 67 of file limitTemperature.H.
| limitTemperature | ( | const word & | name, |
| const word & | modelType, | ||
| const dictionary & | dict, | ||
| const fvMesh & | mesh | ||
| ) |
Construct from components.
Definition at line 60 of file limitTemperature.C.
|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 114 of file limitTemperature.H.
References limitTemperature::constrain(), limitTemperature::constrainedFields(), he(), limitTemperature::operator=(), limitTemperature::read(), and limitTemperature::updateMesh().

| TypeName | ( | "limitTemperature" | ) |
Runtime type information.
|
virtual |
Return the list of fields constrained by the fvConstraint.
Reimplemented from fvConstraint.
Definition at line 79 of file limitTemperature.C.
References basicThermo::dictName, IOobject::groupName(), basicThermo::he(), mesh, IOobject::name(), and thermo.
Referenced by limitTemperature::~limitTemperature().


|
virtual |
Constrain the energy field.
Definition at line 91 of file limitTemperature.C.
References fvCellSet::all, GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), cells, basicThermo::dictName, fvPatchField< Type >::fixesValue(), forAll, IOobject::groupName(), basicThermo::he(), Foam::max(), mesh, Foam::min(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveFieldRef(), List< T >::size(), and thermo.
Referenced by limitTemperature::~limitTemperature().


|
virtual |
Update for mesh changes.
Reimplemented from fvConstraint.
Definition at line 145 of file limitTemperature.C.
Referenced by limitTemperature::~limitTemperature().

|
virtual |
Read dictionary.
Reimplemented from fvConstraint.
Definition at line 151 of file limitTemperature.C.
References fvConstraint::read().
Referenced by limitTemperature::~limitTemperature().


|
delete |
Disallow default bitwise assignment.
Referenced by limitTemperature::~limitTemperature().
