Go to the documentation of this file.
33 template<
class Thermo>
36 const word& coeffName,
37 const dictionary&
dict
40 return dict.subDict(
"transport").get<scalar>(coeffName);
46 template<
class Thermo>
50 As_(readCoeff(
"As",
dict)),
51 Ts_(readCoeff(
"Ts",
dict))
55 template<
class Thermo>
63 As_(readCoeff(
"As",
dict)),
70 template<
class Thermo>
79 os.beginBlock(
"transport");
80 os.writeEntry(
"As", As_);
81 os.writeEntry(
"Ts", Ts_);
91 template<
class Thermo>
95 const sutherlandTransport<Thermo>& st
Useful combination of include files which define Sin, Sout and Serr and the use of IO streams general...
virtual Ostream & beginBlock(const keyType &kw)
void write(Ostream &os) const
Transport package using Sutherland's formula.
virtual Ostream & endBlock()
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool write(const token &tok)=0
sutherlandTransport(const Thermo &t, const scalar As, const scalar Ts)
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const word & name() const