134 #ifndef effectivenessHeatExchangerSource_H 135 #define effectivenessHeatExchangerSource_H 152 class effectivenessHeatExchangerSource
172 autoPtr<interpolation2DTable<scalar> >
eTable_;
220 void calculateTotalArea(scalar& area);
226 TypeName(
"effectivenessHeatExchangerSource");
235 const word& modelType,
259 "effectivenessHeatExchangerSource::addSup(eqn, fieldI): " 260 "only compressible solvers supported." const fvMesh & mesh() const
Return const access to the mesh database.
virtual ~effectivenessHeatExchangerSource()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
word phiName_
Name of the flux.
const word & name() const
Return const access to the source name.
word faceZoneName_
Name of the faceZone at the heat exchange inlet.
scalar primaryInletT_
Primary air temperature at the heat exchanger inlet [K].
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.
word TName_
Name of temperature field; default = T.
A list of keyword definitions, which are a keyword followed by any number of values (e...
labelList faceId_
Local list of face IDs.
virtual bool read(const dictionary &dict)
Read dictionary.
TypeName("effectivenessHeatExchangerSource")
Runtime type information.
labelList facePatchId_
Local list of patch ID per face.
Heat exchanger source model, in which the heat exchanger is defined as a selection of cells...
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldI)
Scalar.
scalar faceZoneArea_
Area of the face zone.
List< label > labelList
A List of labels.
labelList faceSign_
List of +1/-1 representing face flip map (1 use as is, -1 negate)
autoPtr< interpolation2DTable< scalar > > eTable_
2D look up table efficiency = function of primary and secondary
scalar secondaryInletT_
Inlet secondary temperature [K].
#define notImplemented(functionName)
Issue a FatalErrorIn for a function not currently implemented.
label zoneID_
Id for the face zone.
scalar secondaryMassFlowRate_
Secondary flow mass rate [kg/s].
word UName_
Name of velocity field; default = U.