Go to the documentation of this file.
32 template<
class Thermo>
36 const WLFTransport& wlft
48 template<
class Thermo>
59 template<
class Thermo>
75 template<
class Thermo>
82 return mu0_*
exp(-C1_*(
T - Tr_)/(C2_ +
T - Tr_));
86 template<
class Thermo>
89 const scalar
p,
const scalar
T
92 return this->
Cp(p,
T)*
mu(
p,
T)*rPr_;
96 template<
class Thermo>
104 return mu(
p,
T)*rPr_;
110 template<
class Thermo>
116 scalar Y1 = this->
Y();
118 Thermo::operator+=(wlft);
120 if (
mag(this->
Y()) > SMALL)
123 scalar Y2 = wlft.Y()/this->
Y();
125 mu0_ = Y1*mu0_ + Y2*wlft.mu0_;
126 Tr_ = Y1*Tr_ + Y2*wlft.Tr_;
127 C1_ = Y1*C1_ + Y2*wlft.C1_;
128 C2_ = Y1*C2_ + Y2*wlft.C2_;
129 rPr_ = 1.0/(Y1/rPr_ + Y2/wlft.rPr_);
134 template<
class Thermo>
140 Thermo::operator*=(
s);
146 template<
class Thermo>
149 const WLFTransport<Thermo>& wlft1,
150 const WLFTransport<Thermo>& wlft2
155 static_cast<const Thermo&
>(wlft1) +
static_cast<const Thermo&
>(wlft2)
158 if (
mag(t.Y()) < SMALL)
160 return WLFTransport<Thermo>
173 scalar Y1 = wlft1.Y()/t.Y();
174 scalar Y2 = wlft2.Y()/t.Y();
176 return WLFTransport<Thermo>
179 Y1*wlft1.mu0_ + Y2*wlft2.mu0_,
180 Y1*wlft1.Tr_ + Y2*wlft2.Tr_,
181 Y1*wlft1.C1_ + Y2*wlft2.C1_,
182 Y1*wlft1.C2_ + Y2*wlft2.C2_,
183 1.0/(Y1/wlft1.rPr_ + Y2/wlft2.rPr_)
189 template<
class Thermo>
193 const WLFTransport<Thermo>& wlft
196 return WLFTransport<Thermo>
198 s*
static_cast<const Thermo&
>(wlft),
scalar alphah(const scalar p, const scalar T) const
static autoPtr< WLFTransport > New(const dictionary &dict)
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))
autoPtr< WLFTransport > clone() const
const dimensionedScalar mu
dimensionedScalar exp(const dimensionedScalar &ds)
WLFTransport(const word &, const WLFTransport &)
Transport package using the Williams-Landel-Ferry model.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
PtrList< volScalarField > & Y
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
scalar mu(const scalar p, const scalar T) const
const volScalarField & Cp
word name(const expressions::valueTypeCode typeCode)
scalar kappa(const scalar p, const scalar T) const