177 #ifndef Foam_heatExchangerModels_effectivenessTable_H 178 #define Foam_heatExchangerModels_effectivenessTable_H 188 namespace heatExchangerModels
195 class effectivenessTable
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;
266 const dictionary& coeffs
294 virtual bool read(
const dictionary&
dict);
virtual bool read(const dictionary &dict)
Read top-level dictionary.
dimensionedScalar log(const dimensionedScalar &ds)
virtual ~effectivenessTable()=default
Destructor.
effectivenessTable(const fvMesh &mesh, const word &name, const dictionary &coeffs)
Construct from components.
virtual tmp< scalarField > energyDensity(const labelList &cells)
Return energy density per unit length [J/m3/m].
virtual void write(const bool log)
Write data to stream and files.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual void initialise()
Initialise data members of the model.
TypeName("effectivenessTable")
Runtime type information.
OBJstream os(runTime.globalPath()/outputName)
void operator=(const effectivenessTable &)=delete
No copy assignment.
List< label > labelList
A List of labels.