Go to the documentation of this file.
28 template<
class Thermo>
44 template<
class Thermo>
58 template<
class Thermo>
73 template<
class Thermo>
76 const scalar
p,
const scalar
T
79 return (kappa0_*
pow(
T/Tref_, n0_));
83 template<
class Thermo>
86 const scalar
p,
const scalar
T
89 const scalar
kappa(kappa0_*
pow(
T/Tref_, n0_));
94 template<
class Thermo>
96 mu(
const scalar
p,
const scalar
T)
const
103 template<
class Thermo>
113 template<
class Thermo>
127 template<
class Thermo>
133 scalar molr1 = this->nMoles();
135 molr1 /= this->nMoles();
136 scalar molr2 = ct.nMoles()/this->nMoles();
138 kappa0_ = molr1*kappa0_ + molr2*ct.kappa0_;
139 n0_ = (molr1*n0_ + molr2*ct.n0_);
140 Tref_ = (molr1*Tref_ + molr2*ct.Tref_);
144 template<
class Thermo>
150 scalar molr1 = this->nMoles();
152 molr1 /= this->nMoles();
153 scalar molr2 = ct.nMoles()/this->nMoles();
155 kappa0_ = (molr1*kappa0_ - molr2*ct.kappa0_);
156 n0_ = (molr1*n0_ - molr2*ct.n0_);
157 Tref_ = (molr1*Tref_ - molr2*ct.Tref_);
163 template<
class Thermo>
172 s*
static_cast<const Thermo&
>(ct),
A class for handling words, derived from string.
Exponential properties for solid heat transport Templated into a given thermodynamics package.
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
static autoPtr< exponentialSolidTransport > New(const dictionary &dict)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
exponentialSolidTransport(const Thermo &t, const scalar kappa0, const scalar n0, const scalar Tref)
Construct from components.
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A list of keyword definitions, which are a keyword followed by any number of values (e....
Vector< scalar > vector
A scalar version of the templated Vector.
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))
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar kappa0_
Constant thermal coefficient.
word name(const complex &)
Return a string representation of a complex.