62 carriedCloud.carrierPhaseName()
70 carriedCloud.carrierPhaseName()
75 multicomponentThermoc_
81 carriedCloud.hasPhase()
87 carriedCloud.phaseName()
92 multicomponentThermocPhase_
98 carriedCloud.carrierField<scalar>
107 carriedCloud.carrierField<scalar>
117 ? carriedCloud.carrierField<scalar>(thermoc_.he())
118 : carriedCloud.noCarrierField<scalar>(
"he",
"enthalpy/energy", false)
122 carriedCloud.hasPhase()
123 ? carriedCloud.carrierField<scalar>(thermocPhase_.he())
124 : carriedCloud.noCarrierField<scalar>(
"he",
"enthalpy/energy", true)
129 ? carriedCloud.carrierField<scalar>(thermoc_.Cpv())
130 : carriedCloud.noCarrierField<scalar>(
"Cpv",
"specific heat", false)
134 isNull(thermoc_) || &thermoc_.
Cp() == &thermoc_.Cpv()
136 : carriedCloud.carrierField<scalar>(thermoc_.
Cp())
140 isNull(thermoc_) || &thermoc_.
Cv() == &thermoc_.Cpv()
142 : carriedCloud.carrierField<scalar>(thermoc_.
Cv())
147 ? carriedCloud.carrierField<scalar>(thermoc_.
kappa())
148 : carriedCloud.noCarrierField<scalar>
151 "thermal conductivity",
157 c.derivedField<scalar>
183 iToic.resize(
thermo.species().size(), -1);
184 iToicPhase.resize(
thermo.species().size(), -1);
186 if (
notNull(multicomponentThermoc_))
193 multicomponentThermoc_.containsSpecie(specieName)
194 ? multicomponentThermoc_.species()[specieName]
198 if (
notNull(multicomponentThermocPhase_))
202 const word& specieName =
thermo.species()[i];
205 multicomponentThermocPhase_.containsSpecie(specieName)
206 ? multicomponentThermocPhase_.species()[specieName]
213 if (
notNull(multicomponentThermoc_))
215 const PtrList<volScalarField>& YcVf =
216 multicomponentThermoc_.Y();
218 Yc.resize(YcVf.size());
225 &carriedCloud.carrierField<scalar>(YcVf[ic])
229 if (
notNull(multicomponentThermocPhase_))
231 const PtrList<volScalarField>& YcPhaseVf =
232 multicomponentThermocPhase_.Y();
234 YcPhase.resize(YcPhaseVf.size());
241 &carriedCloud.carrierField<scalar>(YcPhaseVf[icPhase])
scalar Cp(const scalar p, const scalar T) const
scalar Cv(const scalar p, const scalar T) const
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Simple wrapper to provide an optional reference to a Lagrangian model.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
Base-class for fluid and solid thermodynamic properties.
Base class for clouds. Provides a basic evolution algorithm, models, and a database for caching deriv...
Base class for clouds which are carried by a fluid.
Base class for clouds which are coupled to a variable density fluid.
const CloudDerivedField< scalar > & muc
Carrier dynamic viscosity.
Base class for clouds which are coupled to a fluid with a thermodynamic model.
bool hasThermoc() const
Return whether this cloud has a carrier thermo.
const CarrierField< scalar > & kappac
Carrier thermal conductivity.
bool hasThermocPhase() const
Return whether this cloud has a corresponding Eulerian phase thermo.
coupledToThermalFluid(const cloud &c, const carried &, const thermal &)
Construct from a reference to the cloud and its base classes.
virtual ~coupledToThermalFluid()
Destructor.
const CarrierField< scalar > & Cpc
Carrier heat capacity at constant pressure.
Base class for clouds with thermodynamic modelling.
Base-class for multi-component fluid thermodynamic properties.
Base-class for fluid thermodynamic properties.
Base-class for multicomponent Lagrangian thermodynamic models.
Base-class for multi-component thermodynamic properties.
A base class for physical properties.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(carried, 0)
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dimensionedScalar c
Speed of light in a vacuum.
To & refCastNull(From &r)
Reference type cast template function,.
bool notNull(const T &t)
Return true if t is not a reference to the nullObject of type T.
const T & NullObjectRef()
Return const reference to the nullObject of type T.
bool isNull(const T &t)
Return true if t is a reference to the nullObject of type T.
void T(GeometricField< Type, GeoMesh, PrimitiveField1 > &gf, const GeometricField< Type, GeoMesh, PrimitiveField2 > &gf1)
fluidMulticomponentThermo & thermo