Go to the documentation of this file.
28 template<
class thermo>
40 template<
class thermo>
44 const constIsoSolidTransport& ct
52 template<
class Thermo>
67 template<
class thermo>
69 kappa(
const scalar
p,
const scalar
T)
const
74 template<
class thermo>
76 Kappa(
const scalar
p,
const scalar
T)
const
78 return vector(kappa_, kappa_, kappa_);
82 template<
class thermo>
84 mu(
const scalar
p,
const scalar
T)
const
91 template<
class thermo>
95 return kappa_/this->Cpv(
p,
T);
100 template<
class thermo>
107 thermo::operator=(ct);
113 template<
class thermo>
119 scalar molr1 = this->nMoles();
120 thermo::operator+=(ct);
122 molr1 /= this->nMoles();
123 scalar molr2 = ct.nMoles()/this->nMoles();
125 kappa_ = molr1*kappa_ + molr2*ct.kappa_;
129 template<
class thermo>
135 scalar molr1 = this->nMoles();
137 thermo::operator-=(ct);
139 molr1 /= this->nMoles();
140 scalar molr2 = ct.nMoles()/this->nMoles();
142 kappa_ = molr1*kappa_ - molr2*ct.kappa_;
148 template<
class thermo>
157 s*
static_cast<const thermo&
>(ct),
vector Kappa(const scalar p, const scalar T) const
Un-isotropic thermal conductivity [W/mK].
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
constIsoSolidTransport(const Thermo &t, const scalar kappa)
Construct from components.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
scalar kappa(const scalar p, const scalar T) const
Isotropic thermal conductivity [W/mK].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
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...
static autoPtr< constIsoSolidTransport > New(const dictionary &dict)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
word name(const complex &)
Return a string representation of a complex.
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...