101 #ifndef acousticDampingSource_H 102 #define acousticDampingSource_H 121 class acousticDampingSource
123 public fv::cellSetOption
169 const word& modelType,
170 const dictionary&
dict,
TypeName("acousticDampingSource")
Runtime type information.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
virtual bool read(const dictionary &dict)
Read dictionary.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
void setBlendingFactor()
Helper function to set the blending factor.
word URefName_
Name of reference velocity field.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar frequency_
Frequency [Hz].
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.
const word & name() const noexcept
Return const access to the source name.
acousticDampingSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
Applies sources on velocity (i.e. U) within a specified region to enable acoustic damping...
virtual ~acousticDampingSource()=default
Destructor.
vector point
Point is a vector.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Add implicit contribution to momentum equation.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
void operator=(const acousticDampingSource &)=delete
No copy assignment.
volScalarField blendFactor_
Blending factor [-].