39 namespace regionModels
41 namespace thermalBaffleModels
107 forAll(ppCoupled, localFacei)
159 thermalBaffle::thermalBaffle
161 const word& modelType,
220 thermalBaffle::thermalBaffle
222 const word& modelType,
287 void thermalBaffle::init()
297 <<
"the boundary field of Qs is " 298 << Qsb <<
" and " <<
nl const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
autoPtr< solidThermo > thermo_
Solid thermo.
volScalarField Qs_
Surface energy source / [J/m2/s].
#define forAll(list, i)
Loop across all elements in list.
dimensionedScalar delta_
Baffle mesh thickness.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & indent(Ostream &os)
Indent stream.
virtual tmp< Field< Type > > snGrad() const
Return patch-normal gradient.
void solveEnergy()
Solve energy equation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label nNonOrthCorr_
Number of non orthogonal correctors.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
bool oneD_
Is it one dimension.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
virtual const solidThermo & thermo() const
Return const reference to the solidThermo.
static autoPtr< solidThermo > New(const fvMesh &, const word &phaseName=word::null)
Return a pointer to a new solidThermo created from.
bool constantThickness_
Is thickness constant.
void size(const label)
Override size to be inconsistent with allocated storage.
scalarField thickness_
Baffle physical thickness.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
const Time & time() const
Return the reference to the time database.
Macros for easy insertion into run-time selection tables.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
volScalarField & h_
Enthalpy/internal energy.
Switch moveMesh_
Flag to allow mesh movement.
const dimensionSet dimVolume(pow3(dimLength))
static autoPtr< radiationModel > New(const volScalarField &T)
Return a reference to the selected radiation model.
virtual void evolveRegion()
Evolve the thermal baffle.
virtual ~thermalBaffle()
Destructor.
Type gSum(const FieldField< Field, Type > &f)
virtual const volScalarField & kappaRad() const
Return solid absortivity [1/m].
virtual void preEvolveRegion()
Pre-evolve thermal baffle.
volScalarField Q_
Volumetric energy source / [J/m3/s].
addToRunTimeSelectionTable(thermalBaffleModel, noThermo, mesh)
A class for handling words, derived from string.
labelListList boundaryFaceCells_
Global cell IDs.
const dictionary & solution() const
Return the solution dictionary.
tmp< fvMatrix< Type > > ddt(const GeometricField< Type, fvPatchField, volMesh > &vf)
const Type & value() const
Return const reference to value.
const fvMesh & regionMesh() const
Return the region mesh database.
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.
label readLabel(Istream &is)
virtual const tmp< volScalarField > Cp() const
Return the film specific heat capacity [J/kg/K].
Calculate the divergence of the given field.
virtual bool read()
Read control parameters IO dictionary.
SolverPerformance< Type > solve(const dictionary &)
Solve segregated or coupled returning the solution statistics.
Fundamental solid thermodynamic properties.
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const dimensionSet dimEnergy
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
tmp< fvMatrix< Type > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual bool read()
Read control parameters from dictionary.
defineTypeNameAndDebug(noThermo, 0)
Mesh data needed to do the Finite Volume discretisation.
autoPtr< radiation::radiationModel > radiation_
Pointer to radiation model.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual const volScalarField & T() const
Return temperature [K].
A special matrix type and solver, designed for finite volume solutions of scalar equations.
dimensioned< scalar > mag(const dimensioned< Type > &)
labelList intCoupledPatchIDs_
List of patch IDs internally coupled with the primary region.
A class for managing temporary objects.
virtual const volScalarField & kappa() const
Return thermal conductivity [W/m/K].
const labelList & intCoupledPatchIDs() const
Return the list of patch IDs internally coupled with the.
A patch is a list of labels that address the faces in the global face list.
virtual void info()
Provide some feedback.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual const volScalarField & rho() const
Return density [Kg/m3].
const dimensionSet dimArea(sqr(dimLength))
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
#define InfoInFunction
Report an information message using Foam::Info.