31 template<
class Thermo>
34 const word& coeffName,
35 const dictionary& dict
38 return dict.subDict(
"transport").lookup<scalar>(coeffName);
44 template<
class Thermo>
48 mu0_(readCoeff(
"mu0", dict)),
49 Tr_(readCoeff(
"Tr", dict)),
50 C1_(readCoeff(
"C1", dict)),
51 C2_(readCoeff(
"C2", dict)),
52 rPr_(1.0/dict.subDict(
"transport").
lookup<scalar>(
"Pr"))
58 template<
class Thermo>
67 dict.
add(
"mu0", mu0_);
71 dict.
add(
"Pr", 1.0/rPr_);
80 template<
class Thermo>
const word & name() const
Name.
virtual Ostream & write(const char)=0
Write character.
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
const word dictName() const
Return the local dictionary name (final part of scoped name)
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
stressControl lookup("compactNormalStress") >> compactNormalStress
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...
Transport package using the Williams-Landel-Ferry model.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
void write(Ostream &os) const
Write to Ostream.
Ostream & incrIndent(Ostream &os)
Increment the indent level.