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