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 As_(readCoeff(
"As", dict)),
49 Ts_(readCoeff(
"Ts", dict))
53 template<
class Thermo>
61 As_(readCoeff(
"As", dict)),
62 Ts_(readCoeff(
"Ts", dict))
68 template<
class Thermo>
87 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...
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
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...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
void write(Ostream &os) const
Write to Ostream.
Transport package using Sutherland's formula for viscosity:
Ostream & incrIndent(Ostream &os)
Increment the indent level.