Go to the documentation of this file.
42 fixedTemperatureConstraint,
48 const char* NamedEnum<fv::fixedTemperatureConstraint::temperatureMode, 2>::
65 const word& modelType,
71 mode_(temperatureModeNames_.read(coeffs_.lookup(
"mode"))),
87 TName_ = coeffs_.lookupOrDefault<
word>(
"TName",
"T");
103 fieldNames_.setSize(1,
thermo.he().name());
105 applied_.setSize(1,
false);
125 scalarField Tuni(cells_.size(), Tuniform_->value(t));
A class for handling words, derived from string.
Cell-set options abtract base class. Provides a base set of controls, e.g.
bool readIfPresent(const word &, T &, bool recursive=false, bool patternMatch=true) const
Find an entry if present, and assign to T.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Abstract base-class for fluid and solid thermodynamic properties.
const Type & value() const
Return const reference to value.
const Time & time() const
Return time.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
const word dictName("particleTrackDict")
void setValues(const labelUList &cells, const UList< Type > &values)
Set solution in given cells to the specified values.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
Pre-declare SubField and related Field type.
dictionary coeffs_
Dictionary containing source coefficients.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual void constrain(fvMatrix< scalar > &eqn, const label fieldI)
Constrain energy equation to fix the temperature.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
defineTypeNameAndDebug(option, 0)
static const NamedEnum< temperatureMode, 2 > temperatureModeNames_
String representation of temperatureMode enums.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
word TName_
Temperature field name.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
autoPtr< DataEntry< scalar > > Tuniform_
Uniform temperature [K].
fixedTemperatureConstraint(const fixedTemperatureConstraint &)
Disallow default bitwise copy construct.
Generic GeometricField class.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
word name(const complex &)
Return a string representation of a complex.
Initialise the NamedEnum HashTable from the static list of names.