Go to the documentation of this file.
32 template<
class Thermo,
int PolySize>
37 const Polynomial<PolySize>& kappaCoeffs
41 kappaCoeffs_(kappaCoeffs)
45 template<
class Thermo,
int PolySize>
54 kappaCoeffs_(pt.kappaCoeffs_)
58 template<
class Thermo,
int PolySize>
66 template<
class Thermo,
int PolySize>
76 template<
class Thermo,
int PolySize>
88 template<
class Thermo,
int PolySize>
95 return kappaCoeffs_.value(
T);
99 template<
class Thermo,
int PolySize>
106 const scalar
kappa(kappaCoeffs_.value(
T));
111 template<
class Thermo,
int PolySize>
114 const scalar
p,
const scalar
T
123 template<
class Thermo,
int PolySize>
129 Thermo::operator=(pt);
131 kappaCoeffs_ = pt.kappaCoeffs_;
135 template<
class Thermo,
int PolySize>
141 scalar Y1 = this->
Y();
143 Thermo::operator+=(pt);
146 scalar Y2 = pt.Y()/this->
Y();
148 kappaCoeffs_ = Y1*kappaCoeffs_ + Y2*pt.kappaCoeffs_;
152 template<
class Thermo,
int PolySize>
158 Thermo::operator*=(
s);
164 template<
class Thermo,
int PolySize>
173 static_cast<const Thermo&
>(pt1) +
static_cast<const Thermo&
>(pt2)
176 scalar Y1 = pt1.Y()/t.Y();
177 scalar Y2 = pt2.Y()/t.Y();
182 Y1*pt1.kappaCoeffs_ + Y2*pt2.kappaCoeffs_
187 template<
class Thermo,
int PolySize>
191 const polynomialSolidTransport<Thermo, PolySize>& pt
194 return polynomialSolidTransport<Thermo, PolySize>
196 s*
static_cast<const Thermo&
>(pt),
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
A class for handling words, derived from Foam::string.
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.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))
autoPtr< polynomialSolidTransport > clone() const
Construct and return a clone.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
word name(const complex &c)
Return string representation of complex.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Transport package using polynomial functions for solid kappa.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Vector< scalar > vector
A scalar version of the templated Vector.
PtrList< volScalarField > & Y
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const volScalarField & Cp
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
static autoPtr< polynomialSolidTransport > New(const dictionary &dict)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].