39 tabulatedHeatTransfer,
49 Foam::fv::tabulatedHeatTransfer::hTable()
53 hTable_.reset(
new interpolation2DTable<scalar>(coeffs_));
90 const word& modelType,
96 UName_(coeffs_.lookupOrDefault<
word>(
"U",
"U")),
97 UNbrName_(coeffs_.lookupOrDefault<
word>(
"UNbr",
"U")),
129 htcc[i] = hTable()(
mag(U[i]), UMagNbrMapped[i]);
defineTypeNameAndDebug(option, 0)
#define forAll(list, i)
Loop across all elements in list.
Base class for inter region heat exchange. The derived classes must provide the heat transfer coeffic...
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
2D table interpolation. The data must be in ascending order in both dimensions x and y...
addToRunTimeSelectionTable(option, fixedTemperatureConstraint, dictionary)
tabulatedHeatTransfer(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~tabulatedHeatTransfer()
Destructor.
A class for handling words, derived from string.
Mesh data needed to do the Finite Volume discretisation.
virtual void calculateHtc()
Calculate the heat transfer coefficient.
dimensioned< scalar > mag(const dimensioned< Type > &)
virtual bool read(const dictionary &dict)
Read dictionary.