41 solidEqulibriumEnergySource,
62 mesh_.time().constant(),
79 const word thermoName =
82 if (!mesh_.foundObject<solidThermo>(thermoName))
89 return mesh_.lookupObject<solidThermo>(thermoName);
98 const word& modelType,
103 option(name, modelType, dict, mesh),
138 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().
name() +
")" 162 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().
name() +
")" 171 fieldNames_ =
wordList(1, coeffs_.lookupType<
word>(
"field"));
173 applied_.setSize(fieldNames_.size(),
false);
defineTypeNameAndDebug(option, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const GeometricField< Type, fvPatchField, volMesh > & psi() const
static autoPtr< solidThermo > New(const fvMesh &, const word &phaseName=word::null)
Return a pointer to a new solidThermo created from.
Calculate the matrix for the laplacian of the field.
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
rhoReactionThermo & thermo
Macros for easy insertion into run-time selection tables.
const word dictName() const
Return the local dictionary name (final part of scoped name)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
T lookupType(const word &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
bool read(const char *, int32_t &)
virtual bool read(const dictionary &dict)
Read dictionary.
A class for handling words, derived from string.
static word groupName(Name name, const word &group)
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
Calculate the matrix for the first temporal derivative.
virtual bool read(const dictionary &dict)
Read source dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
solidEqulibriumEnergySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Fundamental solid thermodynamic properties.
virtual void addSup(const volScalarField &, fvMatrix< scalar > &, const label)
Explicit and implicit sources for compressible equations.
List< word > wordList
A List of words.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
Mesh data needed to do the Finite Volume discretisation.
virtual ~solidEqulibriumEnergySource()
Destructor.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...