![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
Class for acoustic-wave source terms. More...
#include <SourceNumAcousticWave.h>
Inherits SourceNum.
Inherited by SourceNumAcousticWavePlaneGaussianPulse, and SourceNumAcousticWavePlaneSinusoidalPulse.
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 |
Class for acoustic-wave source terms.
| SourceNumAcousticWave::SourceNumAcousticWave | ( | int | order, |
| int | physicalEntity = 0 ) |
SourceNumAcousticWave constructor.
| order | integration order (could EULER, RK2 or RK4 scheme) |
| physicalEntity | the entity to which the source term is applied (default whole domain) |
|
override |
|
protected |
Pressure amplitude of the wave (Pa).
|
protected |
Source term on the momentum equation.
|
protected |
Location of the source (m).
|
protected |
Delayed time at which the first pulse starts (s).
|
protected |