Class TurbulenceSpectrum

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class TurbulenceSpectrum : public Referenced

Defines the energy spectrum of turbulence.

Subclassed by SimpleTurbulenceSpectrum

Public Functions

TurbulenceSpectrum(double Brms, double lMin, double lMax, double lBendover = 1, double sIndex = 5./3., double qIndex = 4)

Parameters
  • Brms: root mean square field strength for generated field
  • lMin: Minimum physical scale of the turbulence
  • lMax: Maximum physical scale of the turbulence
  • lBendover: the bend-over scale
  • sindex: Spectral index of the energy spectrum in the inertial range
  • qindex: Spectral index of the energy spectrum in the energy range

~TurbulenceSpectrum()
double getBrms() const
double getLmin() const
double getLmax() const
double getLbendover() const
double getSindex() const
double getQindex() const
virtual double energySpectrum(double kHat) const

General energy spectrum for synthetic turbulence models (not normalized!) with normalized ^k = k*lBendover

size_t addReference() const
size_t removeReference() const
int removeReferenceNoDelete() const
size_t getReferenceCount() const

Protected Functions

double spectrumNormalization() const

Normalization for the below defined Lc

Protected Attributes

size_t _referenceCount