36 namespace heatTransferModels
47 void Foam::fv::heatTransferModels::function2::readCoeffs()
49 UName_ = coeffs().lookupOrDefault<word>(
"U",
"U");
50 UNbrName_ = coeffs().lookupOrDefault<word>(
"UNbr",
"U");
81 zeroGradientFvPatchScalarField::typeName
99 const fvMesh& nbrMesh = model_.nbrMesh();
106 const scalarField UMagNbrMapped(model_.interpolate(UMagNbr));
108 htc_.primitiveFieldRef() = htcFunc_->value(
mag(
U()), UMagNbrMapped);
109 htc_.correctBoundaryConditions();
virtual ~function2()
Destructor.
const dimensionSet dimArea
const dimensionSet dimPower
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 autoPtr< Function2< scalar > > New(const word &name, const dictionary &dict)
Selector.
const Time & time() const
Return the top-level database.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
const fvMesh & mesh() const
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read dictionary.
Macros for easy insertion into run-time selection tables.
Base class for inter-region exchange.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
virtual void correct()
Correct the heat transfer coefficient.
static const word null
An empty word.
defineTypeNameAndDebug(constant, 0)
function2(const dictionary &dict, const interRegionModel &model)
Construct from dictionary and model.
virtual bool read(const dictionary &dict)
Read dictionary.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
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 > &)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimTemperature