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, GeoMesh, PrimitiveField > > New(const word &name, const Internal &, const PtrList< Patch > &, const HashPtrTable< Source > &=HashPtrTable< Source >())
Return a temporary field constructed from name,.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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.
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.
const dimensionSet dimVelocity
const dimensionSet dimArea