Go to the documentation of this file.
35 template<
class Specie>
44 template<
class Specie>
55 template<
class Specie>
63 template<
class Specie>
75 template<
class Specie>
78 return p/(this->
R()*
T);
82 template<
class Specie>
89 template<
class Specie>
96 template<
class Specie>
103 template<
class Specie>
110 template<
class Specie>
117 template<
class Specie>
120 return 1.0/(this->
R()*
T);
124 template<
class Specie>
131 template<
class Specie>
140 template<
class Specie>
143 Specie::operator+=(pg);
147 template<
class Specie>
150 Specie::operator*=(
s);
156 template<
class Specie>
159 const perfectGas<Specie>& pg1,
160 const perfectGas<Specie>& pg2
163 return perfectGas<Specie>
165 static_cast<const Specie&
>(pg1) +
static_cast<const Specie&
>(pg2)
170 template<
class Specie>
174 const perfectGas<Specie>& pg
177 return perfectGas<Specie>(
s*
static_cast<const Specie&
>(pg));
181 template<
class Specie>
184 const perfectGas<Specie>& pg1,
185 const perfectGas<Specie>& pg2
188 return perfectGas<Specie>
190 static_cast<const Specie&
>(pg1) ==
static_cast<const Specie&
>(pg2)
static autoPtr< perfectGas > New(const dictionary &dict)
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))
const dimensionedScalar Pstd
scalar Z(scalar p, scalar T) const
perfectGas(const Specie &sp)
scalar E(const scalar p, const scalar T) const
#define R(A, B, C, D, E, F, K, M)
Thermodynamic scalar constants.
Perfect gas equation of state.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
autoPtr< perfectGas > clone() const
scalar CpMCv(scalar p, scalar T) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
dimensionedScalar log(const dimensionedScalar &ds)
scalar S(const scalar p, const scalar T) const
void operator+=(const perfectGas &)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar Cv(scalar p, scalar T) const
scalar psi(scalar p, scalar T) const
word name(const expressions::valueTypeCode typeCode)
scalar rho(scalar p, scalar T) const
scalar Cp(scalar p, scalar T) const
void operator*=(const scalar)
scalar H(const scalar p, const scalar T) const