31 template<
class Specie>
39 rho0_(
dict.subDict(
"equationOfState").lookup<scalar>(
"rho0")),
40 T0_(
dict.subDict(
"equationOfState").lookup<scalar>(
"T0")),
41 beta_(
dict.subDict(
"equationOfState").lookup<scalar>(
"beta"))
47 template<
class Specie>
62 template<
class Specie>
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
Incompressible gas equation of state using the Boussinesq approximation for the density as a function...
void write(Ostream &os) const
Write to Ostream.
Boussinesq(const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
Construct from components.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word dictName() const
Return the local dictionary name (final part of scoped name)
A list of keyword definitions, which are a keyword followed by any number of values (e....
bool add(entry *, bool mergeEntry=false)
Add a new entry.
virtual bool write(const bool write=true) const
Write using setting from DB.
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
word name(const bool)
Return a word representation of a bool.
Ostream & indent(Ostream &os)
Indent stream.