28 template<
class thermo>
40 template<
class thermo>
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 88 "Foam::scalar Foam::constIsoSolidTransport<thermo>mu::" 90 " const scalar p, const scalar T" 97 template<
class thermo>
101 return kappa_/this->Cpv(p, T);
106 template<
class thermo>
108 Foam::constIsoSolidTransport<thermo>::operator=
113 thermo::operator=(ct);
119 template<
class thermo>
120 inline void Foam::constIsoSolidTransport<thermo>::operator+=
125 scalar molr1 = this->nMoles();
126 thermo::operator+=(ct);
128 molr1 /= this->nMoles();
129 scalar molr2 = ct.nMoles()/this->nMoles();
131 kappa_ = molr1*kappa_ + molr2*ct.kappa_;
135 template<
class thermo>
136 inline void Foam::constIsoSolidTransport<thermo>::operator-=
141 scalar molr1 = this->nMoles();
143 thermo::operator-=(ct);
145 molr1 /= this->nMoles();
146 scalar molr2 = ct.nMoles()/this->nMoles();
148 kappa_ = molr1*kappa_ - molr2*ct.kappa_;
154 template<
class thermo>
163 s*
static_cast<const thermo&
>(ct),
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 T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
vector Kappa(const scalar p, const scalar T) const
Un-isotropic thermal conductivity [W/mK].
A class for handling words, derived from string.
scalar kappa(const scalar p, const scalar T) const
Isotropic thermal conductivity [W/mK].
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
static autoPtr< constIsoSolidTransport > New(const dictionary &dict)
Vector< scalar > vector
A scalar version of the templated Vector.
Constant properties Transport package. Templated into a given thermodynamics package (needed for ther...
psiReactionThermo & thermo
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...