36 namespace heatTransferCoefficientModels
47 void Foam::fv::heatTransferCoefficientModels::function2::readCoeffs
49 const dictionary&
dict
52 UName_ =
dict.lookupOrDefault<word>(
"U",
"U");
53 UNbrName_ =
dict.lookupOrDefault<word>(
"UNbr",
"U");
80 UNbrName_(
word::null),
87 model.mesh().time().
name(),
94 zeroGradientFvPatchScalarField::typeName
133 htc_.primitiveFieldRef() = htcFunc_->value(UMag, UMagNbr);
134 htc_.correctBoundaryConditions();
Macros for easy insertion into run-time selection tables.
static autoPtr< Function2< Type > > New(const word &name, const Function2s::unitConversions &units, const dictionary &dict)
Select from dictionary.
Generic GeometricField class.
const Internal::FieldType & primitiveField() const
Return a const-reference to the primitive field.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
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.
virtual bool read(const dictionary &dict)
Read dictionary.
Function2 heat transfer model. The 2D function returns the heat transfer coefficient as a function of...
virtual void correct()
Correct the heat transfer coefficient.
virtual bool read(const dictionary &dict)
Read dictionary.
function2(const dictionary &dict, const interRegionModel &model)
Construct from dictionary and model.
virtual ~function2()
Destructor.
Base class for inter-region exchange.
A class for handling words, derived from string.
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(heatTransferCoefficientModel, constant, mesh)
word name(const bool)
Return a word representation of a bool.
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