209#ifndef fv_effectivenessHeatExchangerSource_H
210#define fv_effectivenessHeatExchangerSource_H
229class effectivenessHeatExchangerSource
231 public fv::cellSetOption,
232 public functionObjects::writeFile
237 bool userPrimaryInletT_;
240 bool targetQdotActive_;
243 autoPtr<Function1<scalar>> secondaryCpPtr_;
247 autoPtr<interpolation2DTable<scalar>> eTable_;
250 label targetQdotCalcInterval_;
253 scalar secondaryMassFlowRate_;
256 scalar secondaryInletT_;
259 scalar primaryInletT_;
265 scalar targetQdotRelax_;
295 virtual void writeFileHeader(Ostream&
os);
301 TypeName(
"effectivenessHeatExchangerSource");
310 const word& modelType,
311 const dictionary&
dict,
318 const effectivenessHeatExchangerSource&
322 void operator=(
const effectivenessHeatExchangerSource&) =
delete;
334 fvMatrix<scalar>& eqn,
346 fvMatrix<scalar>& eqn,
354 virtual bool read(
const dictionary&
dict);
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,...
Base class for writing single files from the function objects.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
Heat exchanger source model for compressible flows, where the heat exchanger is modelled as an energy...
TypeName("effectivenessHeatExchangerSource")
Runtime type information.
virtual ~effectivenessHeatExchangerSource()=default
Destructor.
virtual bool read(const dictionary &dict)
Read dictionary.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Add explicit/implicit contribution to momentum equation.
effectivenessHeatExchangerSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
void operator=(const effectivenessHeatExchangerSource &)=delete
No copy assignment.
effectivenessHeatExchangerSource(const effectivenessHeatExchangerSource &)=delete
No copy construct.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for handling words, derived from Foam::string.
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
OBJstream os(runTime.globalPath()/outputName)
List< label > labelList
A List of labels.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.