47Foam::fv::tabulatedHeatTransfer::hTable()
51 hTable_.reset(
new interpolation2DTable<scalar>(
coeffs_));
88 const word& modelType,
94 UName_(coeffs_.getOrDefault<
word>(
"U",
"U")),
95 UNbrName_(coeffs_.getOrDefault<
word>(
"UNbr",
"U")),
106 const auto& nbrMesh = mesh_.time().lookupObject<
fvMesh>(nbrRegionName());
120 htcc[i] = hTable()(
mag(
U[i]), UMagNbrMapped[i]);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual bool read()
Re-read model coefficients if they have changed.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Intermediate class for handling inter-region heat exchanges.
Base abstract class for handling finite volume options (i.e. fvOption).
dictionary coeffs_
Dictionary containing source coefficients.
Applies a tabulated heat transfer model for inter-region heat exchanges.
virtual void calculateHtc()
Calculate the heat transfer coefficient.
2D table interpolation. The data must be in ascending order in both dimensions x and y.
const Type & lookupObject(const word &name, const bool recursive=false) const
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
bool interpolate(const vector &p1, const vector &p2, const vector &o, vector &n, scalar l)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define forAll(list, i)
Loop across all elements in list.