45 #ifndef Foam_heatExchangerModel_H 46 #define Foam_heatExchangerModel_H 158 virtual const word&
U()
const 179 virtual void write(
const bool log) = 0;
declareRunTimeSelectionTable(autoPtr, heatExchangerModel, dictionary,(const fvMesh &mesh, const word &name, const dictionary &coeffs),(mesh, name, coeffs))
labelList faceId_
Local list of face IDs.
TypeName("heatExchangerModel")
Runtime type information.
dimensionedScalar log(const dimensionedScalar &ds)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
word faceZoneName_
Name of the faceZone at the heat exchanger inlet.
static autoPtr< heatExchangerModel > New(const fvMesh &mesh, const word &name, const dictionary &coeffs)
Return a reference to the selected heat exchanger model.
virtual void initialise()
Initialise data members of the model.
labelList faceSign_
List of +1/-1 representing face flip map (1 use as is, -1 negate)
void operator=(const heatExchangerModel &)=delete
No copy assignment.
Base class for heat exchanger models to handle various characteristics for the heatExchangerSource fv...
word phiName_
Name of operand flux field.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
const word & name_
Reference to the name of the fvOption source.
heatExchangerModel(const fvMesh &mesh, const word &name, const dictionary &coeffs)
Construct from components.
const fvMesh & mesh_
Reference to the mesh.
word TName_
Name of operand temperature field.
virtual ~heatExchangerModel()=default
Destructor.
word UName_
Name of operand velocity field.
virtual bool read(const dictionary &dict)=0
Read top-level dictionary.
labelList facePatchId_
Local list of patch IDs per face.
virtual tmp< scalarField > energyDensity(const labelList &cells)=0
Return energy density per unit length [J/m3/m].
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual const word & U() const
Return const reference to the name of velocity field.
A class for managing temporary objects.
Base class for writing single files from the function objects.
virtual void write(const bool log)=0
Write data to stream and files.
const dictionary & coeffs_
Dictionary containing coefficients specific to the chosen model.