71 template<
class Specie>
class linear;
73 template<
class Specie>
74 inline linear<Specie>
operator+
76 const linear<Specie>&,
80 template<
class Specie>
81 inline linear<Specie>
operator*
87 template<
class Specie>
88 inline linear<Specie>
operator==
90 const linear<Specie>&,
94 template<
class Specie>
106 template<
class Specie>
139 inline autoPtr<linear>
clone()
const;
142 inline static autoPtr<linear>
New(
const dictionary&
dict);
150 return "linear<" + word(Specie::typeName_()) +
'>';
163 inline scalar
rho(scalar
p, scalar
T)
const;
166 inline scalar
H(
const scalar
p,
const scalar
T)
const;
169 inline scalar
Cp(scalar
p, scalar
T)
const;
172 inline scalar
E(
const scalar
p,
const scalar
T)
const;
175 inline scalar
Cv(scalar
p, scalar
T)
const;
178 inline scalar
Sp(
const scalar
p,
const scalar
T)
const;
181 inline scalar
Sv(
const scalar
p,
const scalar
T)
const;
184 inline scalar
psi(scalar
p, scalar
T)
const;
187 inline scalar
Z(scalar
p, scalar
T)
const;
190 inline scalar
CpMCv(scalar
p, scalar
T)
const;
193 inline scalar
alphav(
const scalar
p,
const scalar
T)
const;
199 void write(Ostream& os)
const;
210 friend linear operator+ <Specie>
216 friend linear
operator* <Specie>
222 friend linear
operator== <Specie>
231 friend Ostream& operator<< <Specie>
void operator+=(const linear &)
scalar H(const scalar p, const scalar T) const
Return enthalpy contribution [J/kg].
scalar Sv(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cv/T [J/kg/K].
static autoPtr< linear > New(const dictionary &dict)
Centred interpolation interpolation scheme class.
scalar psi(scalar p, scalar T) const
Return compressibility [s^2/m^2].
scalar alphav(const scalar p, const scalar T) const
Return volumetric coefficient of thermal expansion [1/T].
static const bool incompressible
Is the equation of state is incompressible i.e. rho != f(p)
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))
scalar Cv(scalar p, scalar T) const
Return Cv contribution [J/(kg K].
void operator*=(const scalar)
linear(const fvMesh &mesh)
Construct from mesh.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
word name(const complex &)
Return a string representation of a complex.
scalar rho(scalar p, scalar T) const
Return density [kg/m^3].
static word typeName()
Return the instantiated type name.
static const bool isochoric
Is the equation of state is isochoric i.e. rho = const.
void write(Ostream &os) const
Write to Ostream.
scalar CpMCv(scalar p, scalar T) const
Return (Cp - Cv) [J/(kg K].
autoPtr< linear > clone() const
Construct and return a clone.
scalar Cp(scalar p, scalar T) const
Return Cp contribution [J/(kg K].
scalar E(const scalar p, const scalar T) const
Return internal energy contribution [J/kg].
scalar Z(scalar p, scalar T) const
Return compression factor [].
scalar Sp(const scalar p, const scalar T) const
Return entropy contribution to the integral of Cp/T [J/kg/K].