95 #ifndef effectivenessHeatExchangerSource_H 96 #define effectivenessHeatExchangerSource_H 113 class effectivenessHeatExchangerSource
123 scalar secondaryMassFlowRate_;
126 scalar secondaryInletT_;
129 scalar primaryInletT_;
133 autoPtr<Function2<scalar>> eTable_;
160 scalar faceZoneArea_;
174 void calculateTotalArea(scalar& area)
const;
180 TypeName(
"effectivenessHeatExchangerSource");
189 const word& modelType,
217 const word& fieldName
effectivenessHeatExchangerSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const word & name() const
Return const access to the source name.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void operator=(const effectivenessHeatExchangerSource &)=delete
Disallow default bitwise assignment.
virtual bool read(const dictionary &dict)
Read dictionary.
const fvMesh & mesh() const
Return const access to the mesh database.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual ~effectivenessHeatExchangerSource()
Destructor.
A class for handling words, derived from string.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
List< label > labelList
A List of labels.
TypeName("effectivenessHeatExchangerSource")
Runtime type information.
virtual wordList addSupFields() const
Return the list of fields for which the fvModel adds source term.
Heat exchanger source model, in which the heat exchanger is defined as a selection of cells...
Mesh data needed to do the Finite Volume discretisation.
virtual void updateMesh(const mapPolyMesh &)
Update for mesh changes.
virtual void addSup(const volScalarField &rho, fvMatrix< scalar > &eqn, const word &fieldName) const
Explicit and implicit source for compressible equation.