38 namespace regionModels
49 bool thermalShell::init(
const dictionary&
dict)
62 tmp<areaScalarField> thermalShell::qr()
82 taqr.
ref().primitiveFieldRef()
122 const word& modelType,
128 hName_(
dict.getOrDefault<
word>(
"h", suffixed(
"h"))),
129 qsName_(
dict.getOrDefault<
word>(
"qs", suffixed(
"qs"))),
130 qrName_(
dict.getOrDefault<
word>(
"qr",
"none")),
140 regionMesh().thisDb(),
152 regionMesh().thisDb(),
159 thickness_(
dict.getOrDefault<scalar>(
"thickness", 0))
void mapToSurface(const GeometricBoundaryField< Type, fvPatchField, volMesh > &, Field< Type > &result) const
Map volume boundary fields as area field.
label nNonOrthCorr_
Number of non orthogonal correctors.
const dictionary & solution() const
Return the solution dictionary.
Namespace of functions to calculate implicit derivatives returning a matrix. Time derivatives are cal...
const Type & lookupObject(const word &name, const bool recursive=false) const
Lookup and return const reference to the object of the given Type. Fatal if not found or the wrong ty...
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word & name() const noexcept
Return the object name.
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
areaScalarField T_
Shell temperature.
virtual void info()
Provide some feedback.
scalar kappa() const noexcept
Thermal conductivity [W/(m.K)].
Ostream & endl(Ostream &os)
Add newline and flush stream.
const word qrName_
Name of (volume) radiative flux field (default: none)
const tmp< areaScalarField > rho() const
Return density [kg/m3].
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
static const word & zeroGradientType() noexcept
The type name for zeroGradient patch fields.
Macros for easy insertion into run-time selection tables.
areaScalarField qs_
External surface energy source [J/m2/s].
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
solidProperties thermo_
Solid properties.
const tmp< areaScalarField > Cp() const
Return the shell specific heat capacity [J/kg/K].
tmp< faMatrix< Type > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf)
Foam::fa::options & faOptions() noexcept
Return faOptions.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void preEvolveRegion()
Pre-evolve thermal baffle.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
scalar thickness_
Uniform shell thickness [m].
A class for handling words, derived from Foam::string.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
#define DebugInFunction
Report an information message using Foam::Info.
Intermediate class for thermal-shell finite-area models.
const fvMesh & primaryMesh() const noexcept
Return the reference to the primary mesh database.
virtual void evolveRegion()
Evolve the thermal baffle.
const faMesh & regionMesh() const
Return the region mesh database.
static tmp< T > New(Args &&... args)
Construct tmp with forwarding arguments.
MinMax< Type > gMinMax(const FieldField< Field, Type > &f)
static tmp< GeometricField< scalar, faPatchField, areaMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=faPatchField< scalar >::calculatedType())
Return tmp field (NO_READ, NO_WRITE) from name, mesh, dimensions and patch type. [Takes current timeN...
const dimensionSet dimPower
tmp< faMatrix< Type > > ddt(const GeometricField< Type, faPatchField, areaMesh > &vf)
const dimensionSet dimEnergy
const dimensionSet dimDensity
addToRunTimeSelectionTable(vibrationShellModel, KirchhoffShell, dictionary)
The thermophysical, mechanical properties of a solid.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Mesh data needed to do the Finite Volume discretisation.
void solveEnergy()
Solve energy equation.
Template specialisation for scalar faMatrix.
messageStream Info
Information stream (stdout output on master, null elsewhere)
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
const Time & time() const noexcept
Return the reference to the time database.
scalar rho() const noexcept
Density [kg/m3].
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
scalar Cp() const
Specific heat capacity [J/(kg.K)].
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
thermalShell(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from components and dict.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const tmp< areaScalarField > kappa() const
Return thermal conductivity [W/m/K].
areaScalarField h_
Shell thickness field [m].
defineTypeNameAndDebug(KirchhoffShell, 0)
Do not request registration (bool: false)
const dimensionSet dimArea(sqr(dimLength))
static constexpr const zero Zero
Global zero (0)