36 namespace heatTransferCoefficientModels
47 void Foam::fv::heatTransferCoefficientModels::function1::readCoeffs
49 const dictionary&
dict
52 UName_ =
dict.lookupOrDefault<word>(
"U",
"U");
112 zeroGradientFvPatchScalarField::typeName
115 tHtc->primitiveFieldRef() = htcFunc_->value(
mag(
U));
116 tHtc->correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
static autoPtr< Function1< scalar > > New(const word &name, const Function1s::unitConversions &units, const dictionary &dict)
Select from dictionary.
Generic GeometricField class.
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Internal &, const PtrList< PatchField< Type >> &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Base class for heat transfer coefficient modelling used in heat transfer fvModels.
virtual bool read(const dictionary &dict)
Read dictionary.
Function1 heat transfer model. The 1D function returns the heat transfer coefficient as a function of...
virtual void correct()
Correct the heat transfer coefficient.
function1(const dictionary &dict, const fvMesh &mesh)
Construct from dictionary and mesh.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual ~function1()
Destructor.
virtual tmp< volScalarField > htc() const
Get the heat transfer coefficient.
Base class for inter-region exchange.
A class for managing temporary objects.
A class for handling words, derived from string.
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(heatTransferCoefficientModel, constant, mesh)
const dimensionSet dimPower
const dimensionSet dimTemperature
dimensioned< scalar > mag(const dimensioned< Type > &)
word typedName(Name name)
Return the name of the object within the given type.
const dimensionSet dimVelocity
const dimensionSet dimArea