ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
Loading...
Searching...
No Matches
SourceNumAcousticWave Class Reference

Class for acoustic-wave source terms. More...

#include <SourceNumAcousticWave.h>

Inherits SourceNum.

Inherited by SourceNumAcousticWavePlaneGaussianPulse, and SourceNumAcousticWavePlaneSinusoidalPulse.

Collaboration diagram for SourceNumAcousticWave:
[legend]

Public Member Functions

 SourceNumAcousticWave (int order, int physicalEntity=0)
 SourceNumAcousticWave constructor.
 ~SourceNumAcousticWave () override
Public Member Functions inherited from SourceNum
 SourceNum (int order, int physicalEntity=0)
 SourceNum constructor depending on integration order and physical entity to apply source.
 ~SourceNum () override
void prepSourceTerms (Cell *, const int &=0) override
 Source terms preparation for integration.
void integrateSourceTerms (Cell *cell, const double &dt, Prim=vecPhases) override
 Source terms integration on conservative quantities.
void integrationEuler (Cell *cell, const double &dt)
 Euler explicite integration (order 1).
void integrationRK2 (Cell *cell, const double &dt)
 Runge-Kutta integration (order 2).
void integrationRK4 (Cell *cell, const double &dt)
 Runge-Kutta integration (order 4).
void sourceEvolution (const double &) override
 Allows to modifiy the source term along time.
Coord computeAbsVelocity (const Coord &, const Coord &) override
 Compute the absolute velocity in the fixed coordinate system.
Public Member Functions inherited from Source
 Source (int physicalEntity=0)
 Source constructor depending on integration order and physical entity to apply source.
virtual ~Source ()
virtual Coord getOmega ()
virtual bool getRiemannCoupling ()
virtual int getPhysicalEntity ()

Protected Attributes

double m_sourceMomentum
double m_pressureAmplitude
 Source term on the momentum equation.
double m_delayedTime
 Pressure amplitude of the wave (Pa).
Coord m_sourceLocation
 Delayed time at which the first pulse starts (s).
Coord m_pulseDirection
 Location of the source (m).
Protected Attributes inherited from SourceNum
int m_order
Protected Attributes inherited from Source
int m_physicalEntity

Detailed Description

Class for acoustic-wave source terms.

Constructor & Destructor Documentation

◆ SourceNumAcousticWave()

SourceNumAcousticWave::SourceNumAcousticWave ( int order,
int physicalEntity = 0 )

SourceNumAcousticWave constructor.

Parameters
orderintegration order (could EULER, RK2 or RK4 scheme)
physicalEntitythe entity to which the source term is applied (default whole domain)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~SourceNumAcousticWave()

SourceNumAcousticWave::~SourceNumAcousticWave ( )
override

Member Data Documentation

◆ m_delayedTime

double SourceNumAcousticWave::m_delayedTime
protected

Pressure amplitude of the wave (Pa).

◆ m_pressureAmplitude

double SourceNumAcousticWave::m_pressureAmplitude
protected

Source term on the momentum equation.

◆ m_pulseDirection

Coord SourceNumAcousticWave::m_pulseDirection
protected

Location of the source (m).

◆ m_sourceLocation

Coord SourceNumAcousticWave::m_sourceLocation
protected

Delayed time at which the first pulse starts (s).

◆ m_sourceMomentum

double SourceNumAcousticWave::m_sourceMomentum
protected

The documentation for this class was generated from the following files: