117 #ifndef Foam_fa_externalHeatFluxSource_H 118 #define Foam_fa_externalHeatFluxSource_H 136 class externalHeatFluxSource
138 public fa::faceSetOption
167 autoPtr<Function1<scalar>> Q_;
170 autoPtr<Function1<scalar>> q_;
173 autoPtr<Function1<scalar>> h_;
176 autoPtr<Function1<scalar>> Ta_;
193 const word& sourceName,
194 const word& modelType,
195 const dictionary&
dict,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read source dictionary.
void operator=(const externalHeatFluxSource &)=delete
No copy assignment.
externalHeatFluxSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void addSup(const areaScalarField &h, const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
virtual ~externalHeatFluxSource()=default
Destructor.
TypeName("externalHeatFluxSource")
Runtime type information.
operationMode
Options for the heat transfer condition mode.
static const Enum< operationMode > operationModeNames
Names for operationMode.
const dimensionedScalar h
Planck constant.
Applies a heat flux condition for a specified faMesh region to temperature on an external wall for co...
A special matrix type and solver, designed for finite area solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
Fixed heat transfer coefficient.