31 template<
class Specie>
38 rho0_(dict.
subDict(
"equationOfState").
lookup<scalar>(
"rho0")),
46 template<
class Specie>
51 dict.
add(
"rho0", rho0_);
53 dict.
add(
"beta", beta_);
61 template<
class Specie>
Ostream & indent(Ostream &os)
Indent stream.
Boussinesq(const Specie &sp, const scalar rho0, const scalar T0, const scalar beta)
Construct from components.
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.
const word dictName() const
Return the local dictionary name (final part of scoped name)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
const dimensionedScalar & b
Wien displacement law constant: default SI units: [m K].
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void write(Ostream &os) const
Write to Ostream.
Incompressible gas equation of state using the Boussinesq approximation for the density as a function...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.