|
| TypeName ("acousticDampingSource") |
|
| acousticDampingSource (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
| acousticDampingSource (const acousticDampingSource &)=delete |
|
void | operator= (const acousticDampingSource &)=delete |
|
virtual | ~acousticDampingSource ()=default |
|
virtual void | addSup (fvMatrix< vector > &eqn, const label fieldI) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldI) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< vector > &eqn, const label fieldI) |
|
virtual bool | read (const dictionary &dict) |
|
| TypeName ("cellSetOption") |
|
| cellSetOption (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
virtual | ~cellSetOption ()=default |
|
scalar | timeStart () const noexcept |
|
scalar | duration () const noexcept |
|
bool | inTimeLimits (const scalar timeValue) const |
|
selectionModeType | selectionMode () const noexcept |
|
bool | useSubMesh () const noexcept |
|
const word & | cellSetName () const noexcept |
|
scalar | V () const noexcept |
|
const labelList & | cells () const noexcept |
|
scalar | timeStart (scalar val) noexcept |
|
scalar | duration (scalar val) noexcept |
|
virtual bool | isActive () |
|
| TypeName ("option") |
|
| declareRunTimeSelectionTable (autoPtr, option, dictionary,(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh),(name, modelType, dict, mesh)) |
|
| option (const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh) |
|
autoPtr< option > | clone () const |
|
virtual | ~option ()=default |
|
const word & | name () const noexcept |
|
const fvMesh & | mesh () const noexcept |
|
const dictionary & | coeffs () const noexcept |
|
bool | active () const noexcept |
|
void | setApplied (const label fieldi) |
|
bool | active (const bool on) noexcept |
|
virtual label | applyToField (const word &fieldName) const |
|
virtual void | checkApplied () const |
|
virtual void | addSup (fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &rho, fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | addSup (const volScalarField &alpha, const volScalarField &rho, fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< scalar > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< vector > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< sphericalTensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< symmTensor > &eqn, const label fieldi) |
|
virtual void | constrain (fvMatrix< tensor > &eqn, const label fieldi) |
|
virtual void | correct (volScalarField &field) |
|
virtual void | correct (volVectorField &field) |
|
virtual void | correct (volSphericalTensorField &field) |
|
virtual void | correct (volSymmTensorField &field) |
|
virtual void | correct (volTensorField &field) |
|
virtual void | postProcessSens (scalarField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | postProcessSens (vectorField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | postProcessSens (tensorField &sensField, const word &fieldName=word::null, const word &designVariablesName=word::null) |
|
virtual void | writeHeader (Ostream &) const |
|
virtual void | writeFooter (Ostream &) const |
|
virtual void | writeData (Ostream &) const |
|
Applies sources on velocity (i.e. U
) within a specified region to enable acoustic damping.
Sources applied to:
U | Velocity [m/s]
Required fields:
U | Velocity [m/s]
- Usage
- Minimal example by using
constant/fvOptions
: acousticDampingSource1
{
// Mandatory entries (unmodifiable)
type acousticDampingSource;
// Mandatory entries (runtime modifiable)
frequency 3000;
URef UMean;
origin (-1.25 0 0);
radius1 1.2;
radius2 1.65;
// Optional entries (runtime modifiable)
w 20;
// Conditional optional entries (runtime modifiable)
// Either of the below
// Option-1
UNames (<UName1> <UName2> ... <UNameN>);
// Option-2
U U;
// Mandatory/Optional (inherited) entries
...
}
where the entries mean:
Property | Description | Type | Reqd | Dflt |
type | Type name: acousticDampingSource | word | yes | - |
frequency | Frequency value [Hz] | scalar | yes | - |
URef | Name of reference velocity field | word | yes | - |
origin | Sphere centre location or damping | vector | yes | - |
radius1 | Inner radius at which to start damping | scalar | yes | - |
radius2 | Outer radius beyond which damping is applied | scalar | yes | - |
w | Stencil width | label | no | 20 |
UNames | Names of operand velocity fields | wordList | cndtnl | - |
U | Name of operand velocity field | word | cndtnl | U |
The inherited entries are elaborated in:
- Source files
-
Definition at line 176 of file acousticDampingSource.H.