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_));
90 return vector(kappa, kappa, kappa);
94 template<
class Thermo>
96 mu(
const scalar p,
const scalar T)
const 103 template<
class Thermo>
105 alphah(
const scalar p,
const scalar T)
const 107 return kappa(p, T)/this->Cp(p, T);
113 template<
class Thermo>
114 inline void Foam::exponentialSolidTransport<Thermo>::operator=
119 kappa0_ = ct.kappa0_;
125 template<
class Thermo>
126 inline void Foam::exponentialSolidTransport<Thermo>::operator+=
131 scalar
Y1 = this->
Y();
134 scalar
Y2 = ct.Y()/this->
Y();
136 kappa0_ = Y1*kappa0_ + Y2*ct.kappa0_;
137 n0_ = (Y1*n0_ + Y2*ct.n0_);
138 Tref_ = (Y1*Tref_ + Y2*ct.Tref_);
144 template<
class Thermo>
153 s*
static_cast<const Thermo&
>(ct),
PtrList< volScalarField > & Y1
Exponential properties for solid heat transport Templated into a given thermodynamics package...
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
Vector< scalar > vector
A scalar version of the templated Vector.
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
PtrList< volScalarField > & Y2
static autoPtr< exponentialSolidTransport > New(const dictionary &dict)
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.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
PtrList< volScalarField > & Y
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].