Go to the documentation of this file.
153 #ifndef fv_effectivenessHeatExchangerSource_H
154 #define fv_effectivenessHeatExchangerSource_H
171 class effectivenessHeatExchangerSource
206 autoPtr<interpolation2DTable<scalar>>
eTable_;
247 void calculateTotalArea(scalar&
area);
word UName_
Name of velocity field; default = U.
A class for handling words, derived from Foam::string.
Cell-set options abstract base class. Provides a base set of controls, e.g.:
bool userPrimaryInletT_
Flag to use a user-specified primary inlet temperature.
const word & name() const
Return const access to the source name.
virtual bool read(const dictionary &dict)
Read dictionary.
scalar secondaryMassFlowRate_
Secondary flow mass rate [kg/s].
virtual ~effectivenessHeatExchangerSource()=default
Destructor.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Scalar.
scalar primaryInletT_
Primary air temperature at the heat exchanger inlet [K].
word TName_
Name of temperature field; default = T.
Heat exchanger source model, in which the heat exchanger is defined as an energy source using a selec...
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
labelList faceId_
Local list of face IDs.
bool targetQdotActive_
Flag to use target heat rejection.
labelList faceSign_
List of +1/-1 representing face flip map (1 use as is, -1 negate)
word faceZoneName_
Name of the faceZone at the heat exchange inlet.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
word phiName_
Name of the flux.
Mesh data needed to do the Finite Volume discretisation.
TypeName("effectivenessHeatExchangerSource")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
scalar targetQdotRelax_
Target heat rejection temperature under-relaxation coefficient.
autoPtr< interpolation2DTable< scalar > > eTable_
2D look up table efficiency = function of primary and secondary
scalar secondaryInletT_
Inlet secondary temperature [K].
const fvMesh & mesh() const
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
const wordList area
Standard area field types (scalar, vector, tensor, etc)
labelList facePatchId_
Local list of patch ID per face.
label targetQdotCalcInterval_
Target heat rejection calculation interval.
scalar targetQdot_
Target heat rejection.