44 solidEquilibriumEnergySource,
45 "solidEquilibriumEnergySource"
53 void Foam::fv::solidThermalEquilibrium::readCoeffs()
62 Foam::fv::solidThermalEquilibrium::solidAlpha()
const
66 if (!mesh().foundObject<volScalarField>(alphaName))
74 mesh().time().constant(),
90 Foam::fv::solidThermalEquilibrium::solidThermo()
const
92 const word thermoName =
95 if (!mesh().foundObject<Foam::solidThermo>(thermoName))
112 const word& modelType,
118 phaseName_(
word::null),
119 solidPhaseName_(
word::null)
169 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().name() +
")"
197 "laplacian(" + alphahe.
name() +
"," + eqn.
psi().name() +
")"
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
static const Foam::dimensionedScalar B("B", Foam::dimless, 18.678)
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
const word & name() const
Return name.
static word groupName(Name name, const word &group)
Base-class for fluid and solid thermodynamic properties.
virtual const IOdictionary & properties() const =0
Properties dictionary.
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, if not found return the given default.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Finite volume model abstract base class.
const dictionary & coeffs() const
Return dictionary.
virtual bool read(const dictionary &dict)
Read source dictionary.
This fvModel adds the thermal inertia of a solid phase into the energy equation. It assumes that the ...
virtual bool movePoints()
Update for mesh motion.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
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 void addSup(const volScalarField &rho, const volScalarField &he, fvMatrix< scalar > &eqn) const
Explicit and implicit sources for compressible equations.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
solidThermalEquilibrium(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components.
virtual ~solidThermalEquilibrium()
Destructor.
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.
void store()
Transfer ownership of this object to its registry.
Base-class for solid thermodynamic properties.
static autoPtr< solidThermo > New(const fvMesh &, const word &phaseName=word::null)
Standard selection based on fvMesh.
A class for handling words, derived from string.
static const word null
An empty word.
Calculate the matrix for the first temporal derivative.
Calculate the matrix for the laplacian of the field.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
addToRunTimeSelectionTable(fvConstraint, bound, dictionary)
defineTypeNameAndDebug(bound, 0)
addBackwardCompatibleToRunTimeSelectionTable(fvConstraint, fixedTemperature, dictionary, fixedTemperatureConstraint, "fixedTemperatureConstraint")
tmp< fvMatrix< Type > > laplacian(const VolField< Type > &vf, const word &name)
tmp< fvMatrix< Type > > ddt(const VolField< Type > &vf)
List< word > wordList
A List of words.
word name(const bool)
Return a word representation of a bool.
VolField< scalar > volScalarField
fluidMulticomponentThermo & thermo