Go to the documentation of this file.
38 #ifndef interRegionHeatTransferModel_H
39 #define interRegionHeatTransferModel_H
135 TypeName(
"interRegionHeatTransferModel");
144 const word& modelType,
virtual void correct(volScalarField &field)
const interRegionHeatTransferModel & nbrModel() const
Return const access to the neighbour model.
const word & nbrRegionName() const
Return const access to the neighbour region name.
void correct()
Correct to calculate the inter-region heat transfer coefficient.
A class for handling words, derived from string.
label timeIndex_
Time index - used for updating htc.
A class for managing temporary objects.
const word & name() const
Return const access to the source name.
word TName_
Name of temperature field; default = "T".
Base class for inter region heat exchange. The derived classes must provide the heat transfer coeffis...
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldI)
Source term to energy equation.
interRegionHeatTransferModel * nbrModel_
Pointer to neighbour interRegionHeatTransferModel.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Class to calculate the cell-addressing between two overlapping meshes.
TypeName("interRegionHeatTransferModel")
Runtime type information.
Base class for inter-region exchange.
virtual void calculateHtc()=0
Calculate heat transfer coefficient.
word nbrModelName_
Name of the model in the neighbour mesh.
tmp< Field< Type > > interpolate(const interRegionHeatTransferModel &nbrModel, const Field< Type > &field) const
Interpolate field with nbrModel specified.
interRegionHeatTransferModel(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
const volScalarField & htc() const
Return the heat transfer coefficient.
volScalarField htc_
Heat transfer coefficient [W/m2/k] times area/volume [1/m].
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
bool firstIter_
First iteration.
void setNbrModel()
Set the neighbour interRegionHeatTransferModel.
word TNbrName_
Name of neighbour temperature field; default = "T".
virtual ~interRegionHeatTransferModel()
Destructor.
const fvMesh & mesh() const
Return const access to the mesh database.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
virtual bool read(const dictionary &dict)
Read dictionary.
const meshToMesh & meshInterp() const
Return const access to the mapToMap pointer.
Generic GeometricField class.
bool semiImplicit_
Flag to activate semi-implicit coupling.