Go to the documentation of this file.
201 #ifndef fv_effectivenessHeatExchangerSource_H
202 #define fv_effectivenessHeatExchangerSource_H
219 class effectivenessHeatExchangerSource
221 public fv::cellSetOption
253 autoPtr<interpolation2DTable<scalar>>
eTable_;
285 void calculateTotalArea(scalar&
area);
291 TypeName(
"effectivenessHeatExchangerSource");
300 const word& modelType,
301 const dictionary&
dict,
324 fvMatrix<scalar>& eqn,
336 fvMatrix<scalar>& eqn,
344 virtual bool read(
const dictionary&
dict);
word UName_
Name of velocity field; default = U.
List< label > labelList
A List of labels.
const word & name() const noexcept
Return const access to the source name.
A class for handling words, derived from Foam::string.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
bool userPrimaryInletT_
Flag to use a user-specified primary inlet temperature.
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)
Add explicit/implicit contribution to momentum equation.
void operator=(const effectivenessHeatExchangerSource &)=delete
No copy assignment.
scalar primaryInletT_
Primary air temperature at the heat exchanger inlet [K].
word TName_
Name of temperature field; default = T.
Heat exchanger source model for compressible flows, in which the heat exchanger is defined as an ener...
#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)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
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.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
autoPtr< interpolation2DTable< scalar > > eTable_
scalar secondaryInletT_
Inlet secondary temperature [K].
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.
effectivenessHeatExchangerSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
label targetQdotCalcInterval_
Target heat rejection calculation interval.
scalar targetQdot_
Target heat rejection.