31 template<
class Thermo>
34 const word& coeffName,
35 const dictionary&
dict
38 return dict.subDict(
"transport").lookup<scalar>(coeffName);
44 template<
class Thermo>
52 As_(readCoeff(
"As",
dict)),
53 Ts_(readCoeff(
"Ts",
dict))
57 template<
class Thermo>
65 As_(readCoeff(
"As",
dict)),
66 Ts_(readCoeff(
"Ts",
dict))
72 template<
class Thermo>
91 template<
class Thermo>
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual Ostream & write(const char)=0
Write character.
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.
const word & name() const
Name.
Transport package using Sutherland's formula for viscosity:
void write(Ostream &os) const
Write to Ostream.
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Construct from components.
A class for handling words, derived from string.
void write(std::ostream &os, const bool binary, List< floatScalar > &fField)
Write floats ascii or binary.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const bool)
Return a word representation of a bool.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Ostream & indent(Ostream &os)
Indent stream.