40void vibrationShellFvPatchScalarField::create_baffle()
57 const DimensionedField<scalar, volMesh>& iF
77 parent_bctype(ptf,
p, iF, mapper),
100 "value",
"refValue",
"refGradient",
"valueFraction"
107 if (this->readMixedEntries(
dict))
131 const DimensionedField<scalar, volMesh>& iF
134 parent_bctype(ptf, iF),
157 static bool warned =
false;
162 <<
"Ignoring, regionFaModels are disabled" <<
endl;
168 auto& baffle = baffle_();
181 baffle.vsm().mapToVolumePatch(baffle.a(),
refGrad(),
patch().index());
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
@ MUST_READ
Reading required.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
This boundary condition provides a coupled acoustic pressure condition between a primary region (3D m...
A wrapper for dictionary content, without operators that could affect inheritance patterns.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
void write(Ostream &os, const bool subDict=true) const
Write dictionary, normally with sub-dictionary formatting.
const objectRegistry & db() const
The associated objectRegistry.
const fvPatch & patch() const noexcept
Return the patch.
bool updated() const noexcept
True if the boundary condition has already been updated.
A FieldMapper for finite-volume patch fields.
virtual void updateCoeffs()
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void write(Ostream &) const
virtual Field< scalar > & refGrad()
virtual Field< scalar > & refValue()
virtual scalarField & valueFraction()
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...
static autoPtr< vibrationShellModel > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected model using dictionary.
virtual void write(Ostream &) const
Write.
vibrationShellFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
OBJstream os(runTime.globalPath()/outputName)
#define makePatchTypeField(PatchTypeField, typePatchTypeField)
Define a concrete fvPatchField type and add to run-time tables Example, (fvPatchScalarField,...
#define InfoInFunction
Report an information message using Foam::Info.
bool allowFaModels() noexcept
The enable/disable state for regionFaModel (default: true).
List< word > wordList
List of word.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static constexpr const zero Zero
Global zero (0).
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimDensity
fvPatchField< scalar > fvPatchScalarField
IOdictionary transportProperties(IOobject("transportProperties", runTime.constant(), mesh, IOobject::MUST_READ, IOobject::NO_WRITE))