38 #ifndef interRegionHeatTransferModel_H 39 #define interRegionHeatTransferModel_H 135 TypeName(
"interRegionHeatTransferModel");
144 const word& modelType,
const word & name() const
Return const access to the source name.
Base class for inter region heat exchange. The derived classes must provide the heat transfer coeffis...
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".
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.
const volScalarField & htc() const
Return the heat transfer coefficient.
Class to calculate the cell-addressing between two overlapping meshes.
const interRegionHeatTransferModel & nbrModel() const
Return const access to the neighbour model.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Source term to energy equation.
bool firstIter_
First iteration.
virtual void calculateHtc()=0
Calculate heat transfer coefficient.
volScalarField htc_
Heat transfer coefficient [W/m2/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 meshToMesh & meshInterp() const
Return const access to the mapToMap pointer.
bool semiImplicit_
Flag to activate semi-implicit coupling.
const fvMesh & mesh() const
Return const access to the mesh database.
tmp< Field< Type > > interpolate(const interRegionHeatTransferModel &nbrModel, const Field< Type > &field) const
Interpolate field with nbrModel specified.
virtual ~interRegionHeatTransferModel()
Destructor.
word TNbrName_
Name of neighbour temperature field; default = "T".
interRegionHeatTransferModel * nbrModel_
Pointer to neighbour interRegionHeatTransferModel.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
const word & nbrRegionName() const
Return const access to the neighbour region name.
virtual bool read(const dictionary &dict)
Read dictionary.