53 thermalCloud_(
cloud<clouds::thermal>()),
56 cloud().derivedField<scalar>
70 return wordList({thermalCloud_.e.name()});
76 const word& fieldName,
77 const word& eqnFieldName
81 fieldName == thermalCloud_.e.name()
83 eqnFieldName == thermalCloud_.e.name()
112 eqn.
Su += H*(Tc -
T) + HbyCv*
e;
121 eqn.
Su += H*(Tc -
T) - HbyCpvc*hec;
scalar Cv(const scalar p, const scalar T) const
Functions for calculating sources in a Lagrangian equation.
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const GeoMesh & mesh() const
Return mesh.
const word & name() const
Return name.
This class stores the coefficients of a Lagrangian equation, and facilitates solving that equation an...
LagrangianCoeff< Type, false > Su
Explicit coefficient.
bool isPsi(const LagrangianSubField< Type, PrimitiveField > &) const
Return whether the given field is that of the equation.
Class containing Lagrangian geometry and topology.
Base class for Lagrangian models.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
word sub(const word &fieldName) const
Return the name of a field corresponding to this sub-mesh.
Base class for Lagrangian heat transfer models.
heatTransfer(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
virtual wordList addSupFields() const
Return the name of the energy field.
virtual bool addsSupToField(const word &fieldName, const word &eqnFieldName) const
Return true for the energy or carrier energy field.
virtual void addSup(const LagrangianSubScalarField &deltaT, const LagrangianSubScalarSubField &vOrM, const LagrangianSubScalarSubField &e, LagrangianEqn< scalar > &eqn) const
Add a source term to the energy equation.
Mix-in for Lagrangian models that refer to a cloud.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are coupled to a fluid with a thermodynamic model.
const CarrierField< scalar > & Tc
Carrier temperature.
const CarrierField< scalar > & hec
Carrier enthalpy/energy.
const CarrierField< scalar > & Cpvc
Carrier heat capacity.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(collisionPhaseTransfer, 0)
tmp< LagrangianEqn< Type > > Sp(const LagrangianSubField< SpType > &Sp, const LagrangianSubSubField< Type > &psi)
Return a source matrix.
List< word > wordList
A List of words.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)