28 template<
class Thermo>
42 template<
class Thermo>
55 template<
class Thermo>
66 template<
class Thermo>
82 template<
class Thermo>
93 template<
class Thermo>
100 return this->Cp(p, T)*
mu(p, T)*rPr_;
104 template<
class Thermo>
111 return mu(p, T)*rPr_;
117 template<
class Thermo>
118 inline void Foam::constTransport<Thermo>::operator=
123 Thermo::operator=(ct);
130 template<
class Thermo>
131 inline void Foam::constTransport<Thermo>::operator+=
136 scalar
Y1 = this->
Y();
138 Thermo::operator+=(st);
140 if (
mag(this->
Y()) > SMALL)
143 scalar
Y2 = st.Y()/this->
Y();
145 mu_ = Y1*mu_ + Y2*st.mu_;
146 rPr_ = 1.0/(Y1/rPr_ + Y2/st.rPr_);
151 template<
class Thermo>
152 inline void Foam::constTransport<Thermo>::operator*=
157 Thermo::operator*=(s);
163 template<
class Thermo>
172 static_cast<const Thermo&>(ct1) + static_cast<const Thermo&>(ct2)
175 if (
mag(t.Y()) < SMALL)
186 scalar
Y1 = ct1.Y()/t.Y();
187 scalar
Y2 = ct2.Y()/t.Y();
192 Y1*ct1.mu_ + Y2*ct2.mu_,
193 1.0/(Y1/ct1.rPr_ + Y2/ct2.rPr_)
199 template<
class Thermo>
208 s*
static_cast<const Thermo&
>(ct),
PtrList< volScalarField > & Y1
dimensionedScalar Pr("Pr", dimless, laminarTransport)
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
A list of keyword definitions, which are a keyword followed by any number of values (e...
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
PtrList< volScalarField > & Y2
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
A class for handling words, derived from string.
autoPtr< constTransport > clone() const
Construct and return a clone.
const dimensionedScalar mu
Atomic mass unit.
PtrList< volScalarField > & Y
dimensioned< scalar > mag(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
static autoPtr< constTransport > New(const dictionary &dict)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].