Go to the documentation of this file.
37 namespace regionModels
80 auto& aqr = taqr.ref();
84 const volScalarField::Boundary& vqr = qr.boundaryField();
128 const word& modelType,
204 zeroGradientFaPatchScalarField::typeName
227 zeroGradientFaPatchScalarField::typeName
254 zeroGradientFaPatchScalarField::typeName
int debug
Static debugging option.
const dictionary & solution() const
Return the solution dictionary.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual void info()
Provide some feedback.
#define InfoInFunction
Report an information message using Foam::Info.
A special matrix type and solver, designed for finite area solutions of scalar equations....
const word qrName_
Name of the primary region radiative flux.
const tmp< areaScalarField > kappa() const
Return thermal conductivity [W/m/K].
A class for handling words, derived from Foam::string.
defineTypeNameAndDebug(KirchhoffShell, 0)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
const fvMesh & primaryMesh() const
Return the reference to the primary mesh database.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const dimensionSet dimEnergy
areaScalarField qs_
External surface energy source / [J/m2/s].
tmp< faMatrix< Type > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf)
const dimensionSet dimDensity
areaScalarField T_
Shell temperature.
const tmp< areaScalarField > Cp() const
Return the film specific heat capacity [J/kg/K].
tmp< Field< Type > > mapToSurface(const typename GeometricField< Type, fvPatchField, volMesh >::Boundary &df) const
Map Boundary field to surface.
Ostream & endl(Ostream &os)
Add newline and flush stream.
scalar thickness_
Uniform thickness.
scalar rho() const
Density [kg/m3].
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
const volSurfaceMapping & vsm() const
Return mapping between surface and volume fields.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
tmp< faMatrix< Type > > ddt(const GeometricField< Type, faPatchField, areaMesh > &vf)
fvScalarMatrix TEqn(fvm::ddt(T)+fvm::div(phi, T) - fvm::laplacian(alphaEff, T)==radiation->ST(rhoCpRef, T)+fvOptions(T))
const dimensionSet dimArea(sqr(dimLength))
messageStream Info
Information stream (stdout output on master, null elsewhere)
void relax(const scalar alpha)
Relax matrix (for steady-state solution).
const tmp< areaScalarField > rho() const
Return density [Kg/m3].
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const dictionary & subDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary.
scalar kappa() const
Thermal conductivity [W/(m.K)].
void constrain(faMatrix< Type > &eqn)
Apply constraints to equation.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
solidProperties thermo_
Solid properties.
const Type & lookupObject(const word &name, const bool recursive=false) const
Foam::fa::options & faOptions() noexcept
Return faOptions.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
Thermal-shell finite-area model. It solves the energy equation in 2D. The coupling with the 3D region...
const dimensionSet dimPower
const faMesh & regionMesh() const
Return the region mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual void preEvolveRegion()
Pre-evolve thermal baffle.
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
const Time & time() const
Return the reference to the time database.
virtual void evolveRegion()
Evolve the thermal baffle.
thermalShell(const word &modelType, const fvPatch &patch, const dictionary &dict)
Construct from components and dict.
const std::string patch
OpenFOAM patch number as a std::string.
addToRunTimeSelectionTable(vibrationShellModel, KirchhoffShell, dictionary)
areaScalarField h_
Thickness.
Intermediate class for thermal-shell finite-area models.
static tmp< T > New(Args &&... args)
Construct tmp of T with forwarding arguments.
SolverPerformance< Type > solve(const dictionary &)
Solve returning the solution statistics.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
label nNonOrthCorr_
Number of non orthogonal correctors.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
void correct(GeometricField< Type, faPatchField, areaMesh > &field)
Apply correction to field.
scalar Cp() const
Specific heat capacity [J/(kg.K)].
void solveEnergy()
Solve energy equation.