124#ifndef Foam_fa_externalHeatFluxSource_H
125#define Foam_fa_externalHeatFluxSource_H
144 public fa::faceSetOption
173 autoPtr<Function1<scalar>> Q_;
176 autoPtr<Function1<scalar>> q_;
179 autoPtr<Function1<scalar>> h_;
182 autoPtr<Function1<scalar>> Ta_;
199 const word& sourceName,
200 const word& modelType,
204 const word& defaultAreaName = word()
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite area solutions of scalar equations....
Applies a heat flux condition for a specified faMesh region to temperature on an external wall for co...
virtual ~externalHeatFluxSource()=default
Destructor.
void operator=(const externalHeatFluxSource &)=delete
No copy assignment.
TypeName("externalHeatFluxSource")
Runtime type information.
static const Enum< operationMode > operationModeNames
Names for operationMode.
virtual void addSup(const areaScalarField &h, const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
virtual bool read(const dictionary &dict)
Read source dictionary.
operationMode
Options for the heat transfer condition mode.
@ fixedPower
Fixed heat power [W].
@ fixedHeatTransferCoeff
Fixed heat transfer coefficient.
@ fixedHeatFlux
Fixed heat flux [W/m2].
externalHeatFluxSource(const externalHeatFluxSource &)=delete
No copy construct.
externalHeatFluxSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh, const word &defaultAreaName=word())
Construct from explicit source name and mesh.
Intermediate abstract class for handling face-set options for the derived faOptions.
const fvMesh & mesh() const noexcept
Return const access to the volume mesh.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
Namespace for finite-area.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.