Go to the documentation of this file.
30 template<
class Thermo>
33 const scalar mu1,
const scalar T1,
34 const scalar mu2,
const scalar T2
37 scalar rootT1 =
sqrt(T1);
38 scalar mu1rootT2 = mu1*
sqrt(T2);
39 scalar mu2rootT1 = mu2*rootT1;
41 Ts_ = (mu2rootT1 - mu1rootT2)/(mu1rootT2/T1 - mu2rootT1/T2);
43 As_ = mu1*(1.0 + Ts_/T1)/rootT1;
49 template<
class Thermo>
63 template<
class Thermo>
67 const scalar mu1,
const scalar T1,
68 const scalar mu2,
const scalar T2
73 calcCoeffs(mu1, T1, mu2, T2);
77 template<
class Thermo>
90 template<
class Thermo>
101 template<
class Thermo>
115 template<
class Thermo>
131 template<
class Thermo>
142 template<
class Thermo>
145 const scalar
p,
const scalar
T
148 scalar Cv_ = this->Cv(
p,
T);
149 return mu(
p,
T)*Cv_*(1.32 + 1.77*this->
R()/Cv_);
153 template<
class Thermo>
167 template<
class Thermo>
174 Thermo::operator=(st);
183 template<
class Thermo>
189 scalar molr1 = this->nMoles();
191 Thermo::operator+=(st);
193 molr1 /= this->nMoles();
194 scalar molr2 = st.nMoles()/this->nMoles();
196 As_ = molr1*As_ + molr2*st.As_;
197 Ts_ = molr1*Ts_ + molr2*st.Ts_;
201 template<
class Thermo>
207 scalar molr1 = this->nMoles();
209 Thermo::operator-=(st);
211 molr1 /= this->nMoles();
212 scalar molr2 = st.nMoles()/this->nMoles();
214 As_ = molr1*As_ - molr2*st.As_;
215 Ts_ = molr1*Ts_ - molr2*st.Ts_;
219 template<
class Thermo>
225 Thermo::operator*=(
s);
231 template<
class Thermo>
240 static_cast<const Thermo&
>(st1) +
static_cast<const Thermo&
>(st2)
243 scalar molr1 = st1.nMoles()/t.nMoles();
244 scalar molr2 = st2.nMoles()/t.nMoles();
249 molr1*st1.
As_ + molr2*st2.As_,
250 molr1*st1.
Ts_ + molr2*st2.Ts_
255 template<
class Thermo>
258 const sutherlandTransport<Thermo>& st1,
259 const sutherlandTransport<Thermo>& st2
264 static_cast<const Thermo&
>(st1) -
static_cast<const Thermo&
>(st2)
267 scalar molr1 = st1.nMoles()/t.nMoles();
268 scalar molr2 = st2.nMoles()/t.nMoles();
270 return sutherlandTransport<Thermo>
273 molr1*st1.
As_ - molr2*st2.As_,
274 molr1*st1.
Ts_ - molr2*st2.Ts_
279 template<
class Thermo>
283 const sutherlandTransport<Thermo>& st
286 return sutherlandTransport<Thermo>
288 s*
static_cast<const Thermo&
>(st),
295 template<
class Thermo>
298 const sutherlandTransport<Thermo>& st1,
299 const sutherlandTransport<Thermo>& st2
A class for handling words, derived from string.
const dimensionedScalar mu
Atomic mass unit.
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
#define R(A, B, C, D, E, F, K, M)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< sutherlandTransport > clone() const
Construct and return a clone.
Transport package using Sutherland's formula.
A list of keyword definitions, which are a keyword followed by any number of values (e....
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))
void calcCoeffs(const scalar mu1, const scalar T1, const scalar mu2, const scalar T2)
Calculate the Sutherland coefficients.
static autoPtr< sutherlandTransport > New(Istream &is)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
dimensionedScalar sqrt(const dimensionedScalar &ds)
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
word name(const complex &)
Return a string representation of a complex.