36#ifndef thermalBaffleModel_H
37#define thermalBaffleModel_H
54namespace thermalBaffleModels
119 const word& modelType,
131 const word& modelType,
150 const word& modelType,
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Mesh data needed to do the Finite Volume discretisation.
Base class for 1-D region models.
static autoPtr< thermalBaffleModel > New(const fvMesh &mesh)
Return a reference to the selected model.
bool constantThickness() const
Return if region has constant thickness.
const dimensionedScalar & delta() const
Return geometrical thickness.
virtual const tmp< volScalarField > Cp() const =0
Return specific heat capacity [J/kg/K].
virtual const volScalarField & kappaRad() const =0
Return the region absorptivity [1/m].
bool constantThickness_
Is thickness constant.
scalarField thickness_
Baffle physical thickness.
virtual const volScalarField & T() const =0
Return const temperature [K].
bool oneD() const
Return if region is one dimensional.
virtual const volScalarField & kappa() const =0
Return the region thermal conductivity [W/m/k].
const scalarField & thickness() const
Return thickness.
virtual const solidThermo & thermo() const =0
Return solid thermo.
virtual void preEvolveRegion()
Pre-evolve region.
virtual const volScalarField & rho() const =0
Return density [kg/m3].
bool oneD_
Is it one dimension.
TypeName("thermalBaffleModel")
Runtime type information.
dimensionedScalar delta_
Baffle mesh thickness.
declareRunTimeSelectionTable(autoPtr, thermalBaffleModel, mesh,(const word &modelType, const fvMesh &mesh),(modelType, mesh))
virtual bool read()
Read control parameters from IO dictionary.
declareRunTimeSelectionTable(autoPtr, thermalBaffleModel, dictionary,(const word &modelType, const fvMesh &mesh, const dictionary &dict),(modelType, mesh, dict))
virtual ~thermalBaffleModel()
Destructor.
Fundamental solid thermodynamic properties.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
Macros to ease declaration of run-time selection tables.
#define declareRunTimeSelectionTable(ptrWrapper, baseType, argNames, argList, parList)
Declare a run-time selection (variables and adder classes)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.