Go to the documentation of this file.
30 template<
class Thermo>
44 template<
class Thermo>
48 const constTransport& ct
57 template<
class Thermo>
65 template<
class Thermo>
78 template<
class Thermo>
89 template<
class Thermo>
96 return this->
Cp(p,
T)*
mu(
p,
T)*rPr_;
100 template<
class Thermo>
107 return mu(
p,
T)*rPr_;
113 template<
class Thermo>
119 scalar Y1 = this->
Y();
121 Thermo::operator+=(st);
123 if (
mag(this->
Y()) > SMALL)
126 scalar Y2 = st.Y()/this->
Y();
128 mu_ = Y1*mu_ + Y2*st.mu_;
129 rPr_ = 1.0/(Y1/rPr_ + Y2/st.rPr_);
134 template<
class Thermo>
140 Thermo::operator*=(
s);
146 template<
class Thermo>
149 const constTransport<Thermo>& ct1,
150 const constTransport<Thermo>& ct2
155 static_cast<const Thermo&
>(ct1) +
static_cast<const Thermo&
>(ct2)
158 if (
mag(t.Y()) < SMALL)
160 return constTransport<Thermo>
169 scalar Y1 = ct1.Y()/t.Y();
170 scalar Y2 = ct2.Y()/t.Y();
172 return constTransport<Thermo>
175 Y1*ct1.mu_ + Y2*ct2.mu_,
176 1.0/(Y1/ct1.rPr_ + Y2/ct2.rPr_)
182 template<
class Thermo>
186 const constTransport<Thermo>& ct
189 return constTransport<Thermo>
191 s*
static_cast<const Thermo&
>(ct),
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
const dimensionedScalar mu
static autoPtr< constTransport > New(const dictionary &dict)
dimensionedScalar Pr("Pr", dimless, laminarTransport)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar kappa(const scalar p, const scalar T) const
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar alphah(const scalar p, const scalar T) const
PtrList< volScalarField > & Y
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar mu(const scalar p, const scalar T) const
autoPtr< constTransport > clone() const
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const volScalarField & Cp
word name(const expressions::valueTypeCode typeCode)