Go to the documentation of this file.
55 { operationMode::fixedPower,
"power" },
56 { operationMode::fixedHeatFlux,
"flux" },
57 { operationMode::fixedHeatTransferCoeff,
"coefficient" },
65 const word& sourceName,
66 const word& modelType,
72 mode_(operationModeNames.get(
"mode",
dict)),
73 TName_(
dict.getOrDefault<
word>(
"T",
"T")),
78 emissivity_(
dict.getOrDefault<scalar>(
"emissivity", 0))
80 fieldNames_.resize(1, TName_);
82 fa::option::resetApplied();
106 mesh_.time().timeName(),
118 zeroGradientFaPatchScalarField::typeName
137 case fixedHeatTransferCoeff:
143 Ta_->value(mesh_.time().timeOutputValue())
177 dict.readIfPresent(
"T", TName_);
178 dict.readIfPresent(
"emissivity", emissivity_);
186 dict.readEntry(
"Q", Q_);
191 dict.readEntry(
"q", q_);
196 dict.readEntry(
"h", h_);
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)
Namespace of functions to calculate implicit derivatives returning a matrix. Time derivatives are cal...
Intermediate abstract class for handling face-set options for the derived faOptions.
Ostream & endl(Ostream &os)
Add newline and flush stream.
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...
defineTypeNameAndDebug(limitVelocity, 0)
tmp< faMatrix< Type > > SuSp(const areaScalarField &sp, const GeometricField< Type, faPatchField, areaMesh > &vf)
const fvMesh & mesh_
Reference to the mesh database.
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionedScalar h
Planck constant.
static const Enum< operationMode > operationModeNames
Names for operationMode.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
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
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
addToRunTimeSelectionTable(option, limitVelocity, dictionary)
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
externalHeatFluxSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvPatch &patch)
Construct from explicit source name and mesh.