117#ifndef fa_externalHeatFluxSource_H
118#define fa_externalHeatFluxSource_H
136class externalHeatFluxSource
138 public fa::faceSetOption
176 autoPtr<Function1<scalar>> Ta_;
193 const word& sourceName,
194 const word& modelType,
195 const dictionary&
dict,
203 void operator=(
const externalHeatFluxSource&) =
delete;
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.
externalHeatFluxSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvPatch &patch)
Construct from explicit source name and mesh.
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.
Intermediate abstract class for handling face-set options for the derived faOptions.
const fvPatch & patch() const noexcept
Return const access to fvPatch.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.