31inline Foam::exponentialSolidTransport<Thermo>::exponentialSolidTransport
47inline Foam::exponentialSolidTransport<Thermo>::exponentialSolidTransport
75 const scalar
p,
const scalar
T
78 return (kappa0_*
pow(
T/Tref_, n0_));
85 const scalar
p,
const scalar
T
88 const scalar
kappa(kappa0_*
pow(
T/Tref_, n0_));
95mu(
const scalar
p,
const scalar
T)
const
102template<
class Thermo>
104alphah(
const scalar
p,
const scalar
T)
const
111template<
class Thermo>
117 scalar Y1 = this->
Y();
120 scalar Y2 = ct.Y()/this->
Y();
122 kappa0_ = Y1*kappa0_ + Y2*ct.kappa0_;
123 n0_ = (Y1*n0_ + Y2*ct.n0_);
124 Tref_ = (Y1*Tref_ + Y2*ct.Tref_);
130template<
class Thermo>
134 const exponentialSolidTransport<Thermo>& ct
137 return exponentialSolidTransport<Thermo>
139 s*
static_cast<const Thermo&
>(ct),
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Exponential properties for solid heat transport Templated into a given thermodynamics package.
scalar mu(const scalar p, const scalar T) const
Dynamic viscosity [kg/ms].
vector Kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
scalar kappa(const scalar p, const scalar T) const
Thermal conductivity [W/mK].
static autoPtr< exponentialSolidTransport > New(const dictionary &dict)
scalar alphah(const scalar p, const scalar T) const
Thermal diffusivity of enthalpy [kg/ms].
A class for handling words, derived from Foam::string.
PtrList< volScalarField > & Y
const volScalarField & Cp
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
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))
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)