78#ifndef Foam_regionModels_vibrationShellModel_H
79#define Foam_regionModels_vibrationShellModel_H
139 const word& modelType,
152 const word& modelType,
Forwards and collection of common area field types.
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,...
dictionary()
Default construct, a top-level empty dictionary.
Finite-area options, which is an IOdictionary of values and a fa::optionList.
Mesh data needed to do the Finite Volume discretisation.
Base class for area region models.
regionFaModel(const fvMesh &mesh, const word ®ionType, const word &modelName, const dictionary &dict, bool readFields=true)
Construct from mesh and name and dict.
Intermediate class for vibration-shell finite-area models.
word pName_
Name of primary region acoustic pressure field.
solidProperties solid_
Solid properties.
const volScalarField & pa() const noexcept
Return the primary region presssure.
const areaScalarField & w() const noexcept
Return the shell displacement.
vibrationShellModel(const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from type name and mesh and dict.
TypeName("vibrationShellModel")
Runtime type information.
virtual ~vibrationShellModel()=default
Destructor.
declareRunTimeSelectionTable(autoPtr, vibrationShellModel, dictionary,(const word &modelType, const fvMesh &mesh, const dictionary &dict),(modelType, mesh, dict))
const areaScalarField & a() const noexcept
Return the shell acceleration.
static autoPtr< vibrationShellModel > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected model using dictionary.
Foam::fa::options & faOptions_
Reference to faOptions.
vibrationShellModel(const vibrationShellModel &)=delete
No copy construct.
const volScalarField & pa_
Primary region acoustic pressure [Pa].
void operator=(const vibrationShellModel &)=delete
No copy assignment.
virtual void preEvolveRegion()
Pre-evolve region.
Foam::fa::options & faOptions() noexcept
Return faOptions.
areaScalarField w_
Shell displacement [m].
areaScalarField a_
Shell acceleration [m/s2].
const solidProperties & solid() const noexcept
Return solid properties.
The thermophysical, mechanical properties of a solid.
A class for handling words, derived from Foam::string.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
#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.
Forwards and collection of common volume field types.