90#ifndef interRegionHeatTransferModel_H
91#define interRegionHeatTransferModel_H
107class interRegionHeatTransferModel
109 public interRegionOption
187 TypeName(
"interRegionHeatTransferModel");
Generic templated field type.
virtual void correct()
Solve the turbulence equations and correct the turbulence viscosity.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Intermediate class for handling inter-region heat exchanges.
tmp< Field< Type > > interpolate(const interRegionHeatTransferModel &nbrModel, const Field< Type > &field) const
Interpolate field with nbrModel specified.
void correct()
Correct to calculate the inter-region heat transfer coefficient.
word TNbrName_
Name of operand neighbour temperature field.
void setNbrModel()
Set the neighbour interRegionHeatTransferModel.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldi)
Source term to energy equation.
virtual bool read(const dictionary &dict)
Read source dictionary.
interRegionHeatTransferModel(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from dictionary.
volScalarField htc_
Heat transfer coefficient [W/m2/k] times area/volume [1/m].
virtual void calculateHtc()=0
Calculate heat transfer coefficient.
const interRegionHeatTransferModel & nbrModel() const
Return const access to the neighbour model.
const word & nbrRegionName() const
Return const access to the neighbour region name.
word nbrModelName_
Name of the model in the neighbour mesh.
virtual ~interRegionHeatTransferModel()=default
Destructor.
const volScalarField & htc() const
Return the heat transfer coefficient.
tmp< Field< Type > > interpolate(const Field< Type > &field) const
Interpolate field without nbrModel specified.
interRegionHeatTransferModel * nbrModel_
Pointer to neighbour interRegionHeatTransferModel.
TypeName("interRegionHeatTransferModel")
Runtime type information.
word TName_
Name of operand temperature field.
label timeIndex_
Time index - used for updating htc.
const meshToMesh & meshInterp() const
Return const access to the mapToMap pointer.
bool semiImplicit_
Flag to activate semi-implicit coupling.
bool firstIter_
Flag to determine the first iteration.
Intermediate class for handling inter-region exchanges.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
Class to calculate the cell-addressing between two overlapping meshes.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.