35 namespace tabulatedWallFunctions
47 const dictionary&
dict,
54 coeffDict_(
dict.optionalSubDict(
name +
"Coeffs")),
55 invertedTableName_(
dict.lookup(
"invertedTableName")),
56 invertedTable_(invertedTableName_, mesh_,
dict, true)
70 if (invertedTable_.log10())
72 invertedTable_.note() =
73 "U+ as a function of log10(Re) computed using " +
type();
77 invertedTable_.note() =
78 "U+ as a function of Re computed using " +
type();
81 Info<<
"Writing inverted table to\n " << invertedTable_.objectPath()
84 invertedTable_.
write();
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
Base class for models that generate tabulated wall function data.
virtual void write()
Write.
virtual ~tabulatedWallFunction()
Destructor.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
messageStream Info
Information stream (stdout output on master, null elsewhere)
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.