36 namespace heatTransferModels
47 void Foam::fv::heatTransferModels::function1::readCoeffs()
49 UName_ = coeffs().lookupOrDefault<word>(
"U",
"U");
100 zeroGradientFvPatchScalarField::typeName
103 tHtc->primitiveFieldRef() = htcFunc_->value(
mag(U));
104 tHtc->correctBoundaryConditions();
const dimensionSet dimArea
const dimensionSet dimPower
function1(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for heat transfer coefficient modelling used in heat transfer fvModels. Area per unit volume [1/m] (AoV) must be provided as a value in the coefficients dictionary or as a field in constant.
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, const Internal &, const PtrList< fvPatchField< scalar >> &)
Return a temporary field constructed from name,.
const fvMesh & mesh() const
Return const access to the mesh database.
Macros for easy insertion into run-time selection tables.
virtual ~function1()
Destructor.
Base class for inter-region exchange.
static const word null
An empty word.
Function1 heat transfer model. The 1D function returns the heat transfer coefficient as a function of...
defineTypeNameAndDebug(constant, 0)
virtual tmp< volScalarField > htc() const
Get the heat transfer coefficient.
virtual void correct()
Correct the heat transfer coefficient.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual bool read(const dictionary &dict)
Read dictionary.
Mesh data needed to do the Finite Volume discretisation.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
addToRunTimeSelectionTable(heatTransferModel, constant, mesh)
dimensioned< scalar > mag(const dimensioned< Type > &)
A class for managing temporary objects.
const dimensionSet dimTemperature
static autoPtr< Function1< scalar > > New(const word &name, const dictionary &dict)
Selector.