101#ifndef acousticDampingSource_H
102#define acousticDampingSource_H
121class acousticDampingSource
123 public fv::cellSetOption
169 const word& modelType,
170 const dictionary&
dict,
178 void operator=(
const acousticDampingSource&) =
delete;
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
Applies sources on velocity (i.e. U) within a specified region to enable acoustic damping.
volScalarField blendFactor_
Blending factor [-].
void operator=(const acousticDampingSource &)=delete
No copy assignment.
acousticDampingSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
virtual bool read(const dictionary &dict)
Read dictionary.
word URefName_
Name of reference velocity field.
virtual void addSup(fvMatrix< vector > &eqn, const label fieldI)
Add implicit contribution to momentum equation.
TypeName("acousticDampingSource")
Runtime type information.
virtual ~acousticDampingSource()=default
Destructor.
void setBlendingFactor()
Helper function to set the blending factor.
dimensionedScalar frequency_
Frequency [Hz].
acousticDampingSource(const acousticDampingSource &)=delete
No copy construct.
Intermediate abstract class for handling cell-set options for the derived fvOptions.
const word & name() const noexcept
Return const access to the source name.
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A class for handling words, derived from Foam::string.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
vector point
Point is a vector.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.