31 template<
class Thermo>
34 const word& coeffName,
35 const dictionary& dict
38 return readScalar(dict.subDict(
"transport").lookup(coeffName));
44 template<
class Thermo>
51 is.
check(
"sutherlandTransport<Thermo>::sutherlandTransport(Istream&)");
55 template<
class Thermo>
59 As_(readCoeff(
"As", dict)),
60 Ts_(readCoeff(
"Ts", dict))
64 template<
class Thermo>
72 As_(readCoeff(
"As", dict)),
73 Ts_(readCoeff(
"Ts", dict))
79 template<
class Thermo>
98 template<
class Thermo>
105 os << static_cast<const Thermo&>(st) <<
tab << st.As_ <<
tab << st.Ts_;
109 "Ostream& operator<<(Ostream&, const sutherlandTransport<Thermo>&)"
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void write(Ostream &os) const
Write to Ostream.
const word dictName() const
Return the local dictionary name (final part of scoped name)
virtual bool check(const char *operation) const
Check IOstream status for given operation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool add(entry *, bool mergeEntry=false)
Add a new entry.
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Transport package using Sutherland's formula.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
const word & name() const
Name.