177#ifndef Foam_heatExchangerModels_effectivenessTable_H
178#define Foam_heatExchangerModels_effectivenessTable_H
197 public heatExchangerModel
202 bool userPrimaryInletT_;
205 bool targetQdotActive_;
208 autoPtr<Function1<scalar>> secondaryCpPtr_;
212 autoPtr<interpolation2DTable<scalar>> eTable_;
215 label targetQdotCalcInterval_;
218 scalar secondaryMassFlowRate_;
221 scalar secondaryInletT_;
224 scalar primaryInletT_;
230 scalar targetQdotRelax_;
242 scalar effectiveness_;
250 void writeFileHeader(Ostream&
os)
const;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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,...
Mesh data needed to do the Finite Volume discretisation.
heatExchangerModel(const fvMesh &mesh, const word &name, const dictionary &coeffs)
Construct from components.
A heat exchanger model where heat exchange is calculated via an effectiveness table.
TypeName("effectivenessTable")
Runtime type information.
virtual void initialise()
Initialise data members of the model.
virtual bool read(const dictionary &dict)
Read top-level dictionary.
effectivenessTable(const effectivenessTable &)=delete
No copy construct.
virtual ~effectivenessTable()=default
Destructor.
effectivenessTable(const fvMesh &mesh, const word &name, const dictionary &coeffs)
Construct from components.
void operator=(const effectivenessTable &)=delete
No copy assignment.
virtual tmp< scalarField > energyDensity(const labelList &cells)
Return energy density per unit length [J/m3/m].
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
A namespace for various heat exchanger model implementations.
List< label > labelList
A List of labels.
dimensionedScalar log(const dimensionedScalar &ds)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.