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),
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
defineTypeNameAndDebug(constant, 0)
addToRunTimeSelectionTable(heatTransferCoefficientModel, constant, mesh)
const dimensionSet dimPower
const dimensionSet dimTemperature
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
word typedName(Name name)
Return the name of the object within the given type.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimVelocity
const dimensionSet dimArea