Go to the documentation of this file.
54 { operationMode::fixedPower,
"power" },
55 { operationMode::fixedHeatFlux,
"flux" },
56 { operationMode::fixedHeatTransferCoeff,
"coefficient" },
64 const word& sourceName,
65 const word& modelType,
71 mode_(operationModeNames.get(
"mode",
dict)),
79 fieldNames_.setSize(1, TName_);
81 applied_.setSize(fieldNames_.size(),
false);
105 mesh_.time().timeName(),
117 zeroGradientFaPatchScalarField::typeName
136 case fixedHeatTransferCoeff:
142 Ta_->value(mesh_.time().timeOutputValue())
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A special matrix type and solver, designed for finite area solutions of scalar equations....
operationMode
Options for the heat transfer condition mode.
A class for handling words, derived from Foam::string.
Fixed heat transfer coefficient.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Intermediate abstract class for handling face-set options for the derived faOptions.
addToRunTimeSelectionTable(option, contactHeatFluxSource, dictionary)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
EnumType get(const word &enumName) const
The enumeration corresponding to the given name.
virtual void addSup(const areaScalarField &h, const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
tmp< faMatrix< Type > > SuSp(const areaScalarField &sp, const GeometricField< Type, faPatchField, areaMesh > &vf)
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionedScalar h
Planck constant.
word name(const complex &c)
Return string representation of complex.
static const Enum< operationMode > operationModeNames
Names for operationMode.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimPower
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
virtual bool read(const dictionary &dict)
Read source dictionary.
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field.
virtual bool read(const dictionary &dict)
Read source dictionary.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
#define DebugInfo
Report an information message using Foam::Info.
const std::string patch
OpenFOAM patch number as a std::string.
const GeometricField< Type, faPatchField, areaMesh > & psi() const
defineTypeNameAndDebug(faceSetOption, 0)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
externalHeatFluxSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvPatch &patch)
Construct from explicit source name and mesh.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const