62 void Foam::fv::fixedTemperatureConstraint::readCoeffs()
88 : autoPtr<Function1<scalar>>();
97 const word& modelType,
103 set_(mesh, coeffs()),
107 phaseName_(
word::null)
130 const word& fieldName
141 const scalar t = mesh().time().userTimeValue();
145 case temperatureMode::uniform:
150 if (fraction_.valid())
166 case temperatureMode::lookup:
173 if (fraction_.valid())
207 set_.topoChange(map);
222 set_.distribute(map);
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< Type > > New(const word &name, const dictionary &dict)
Selector.
Generic GeometricField class.
static word groupName(Name name, const word &group)
Initialise the NamedEnum HashTable from the static list of names.
Enum read(Istream &) const
Read a word from Istream and return the corresponding.
Base-class for fluid and solid thermodynamic properties.
A list of keyword definitions, which are a keyword followed by any number of values (e....
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Finite volume options abstract base class.
const dictionary & coeffs() const
Return dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
void setValues(const labelUList &cells, const ListType< Type > &values)
Set solution in given cells to the specified values.
Mesh data needed to do the Finite Volume discretisation.
Fixed temperature equation constraint.
virtual bool movePoints()
Update for mesh motion.
fixedTemperatureConstraint(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual bool constrain(fvMatrix< scalar > &eqn, const word &fieldName) const
Constrain energy equation to fix the temperature.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
static const NamedEnum< temperatureMode, 2 > modeNames_
String representation of mode enums.
temperatureMode
Temperature mode.
virtual wordList constrainedFields() const
Return the list of fields constrained by the fvConstraint.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A class for handling words, derived from string.
static const word null
An empty word.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
addToRunTimeSelectionTable(fvConstraint, bound, dictionary)
defineTypeNameAndDebug(bound, 0)
List< word > wordList
A List of words.
List< scalar > scalarList
A List of scalars.
word name(const complex &)
Return a string representation of a complex.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
fluidMulticomponentThermo & thermo