Go to the documentation of this file.
44 #ifndef incompressiblePerfectGas_H
45 #define incompressiblePerfectGas_H
58 template<
class Specie>
65 template<
class Specie>
72 template<
class Specie>
79 template<
class Specie>
91 template<
class Specie>
138 "incompressiblePerfectGas<"
139 +
word(Specie::typeName_()) +
'>';
152 inline scalar
rho(scalar
p, scalar
T)
const;
155 inline scalar
H(
const scalar
p,
const scalar
T)
const;
158 inline scalar
Cp(scalar
p, scalar
T)
const;
161 inline scalar
E(
const scalar
p,
const scalar
T)
const;
164 inline scalar
Cv(scalar
p, scalar
T)
const;
167 inline scalar
S(
const scalar
p,
const scalar
T)
const;
170 inline scalar
psi(scalar
p, scalar
T)
const;
173 inline scalar
Z(scalar
p, scalar
T)
const;
176 inline scalar
CpMCv(scalar
p, scalar
T)
const;
214 friend Ostream& operator<< <Specie>
void write(Ostream &os) const
scalar Cp(scalar p, scalar T) const
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))
void operator+=(const incompressiblePerfectGas &)
scalar rho(scalar p, scalar T) const
scalar CpMCv(scalar p, scalar T) const
static const bool incompressible
scalar Z(scalar p, scalar T) const
static const bool isochoric
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalar Cv(scalar p, scalar T) const
scalar S(const scalar p, const scalar T) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
incompressiblePerfectGas(const Specie &sp, const scalar pRef)
scalar E(const scalar p, const scalar T) const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar H(const scalar p, const scalar T) const
scalar psi(scalar p, scalar T) const
static autoPtr< incompressiblePerfectGas > New(const dictionary &dict)
word name(const expressions::valueTypeCode typeCode)
Incompressible gas equation of state using a constant reference pressure in the perfect gas equation ...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
autoPtr< incompressiblePerfectGas > clone() const
void operator*=(const scalar)