41 solidEquilibriumEnergySource,
51 Foam::fv::solidEquilibriumEnergySource::alpha()
const 63 mesh_.time().constant(),
80 const word thermoName =
83 if (!mesh_.foundObject<solidThermo>(thermoName))
90 return mesh_.lookupObject<solidThermo>(thermoName);
99 const word& modelType,
104 option(name, modelType, dict, mesh),
139 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().
name() +
")" 163 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().
name() +
")" 172 fieldNames_ =
wordList(1, coeffs_.lookup<
word>(
"field"));
174 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...
virtual bool read(const dictionary &dict)
Read dictionary.
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.
virtual void addSup(const volScalarField &, fvMatrix< scalar > &, const label)
Explicit and implicit sources for compressible equations.
Calculate the matrix for the laplacian of the field.
virtual ~solidEquilibriumEnergySource()
Destructor.
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
bool read(const char *, int32_t &)
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.
Fundamental solid thermodynamic properties.
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.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
solidEquilibriumEnergySource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Finite volume options abstract base class. Provides a base set of controls, e.g.: ...