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_;
106 template<
class Thermo>
107 inline void Foam::constTransport<Thermo>::operator+=
112 scalar Y1 = this->
Y();
114 Thermo::operator+=(st);
116 if (
mag(this->
Y()) > small)
119 scalar Y2 = st.Y()/this->
Y();
121 mu_ = Y1*mu_ + Y2*st.mu_;
122 rPr_ = 1.0/(Y1/rPr_ + Y2/st.rPr_);
127 template<
class Thermo>
128 inline void Foam::constTransport<Thermo>::operator*=
133 Thermo::operator*=(s);
139 template<
class Thermo>
148 static_cast<const Thermo&>(ct1) + static_cast<const Thermo&>(ct2)
151 if (
mag(t.Y()) < small)
162 scalar Y1 = ct1.Y()/t.Y();
163 scalar Y2 = ct2.Y()/t.Y();
168 Y1*ct1.mu_ + Y2*ct2.mu_,
169 1.0/(Y1/ct1.rPr_ + Y2/ct2.rPr_)
175 template<
class Thermo>
184 s*
static_cast<const Thermo&
>(ct),
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/m/K].
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...
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
scalar Cp(const scalar p, const scalar T) const
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/m/s].