Moving Reference Frame method for rotating flows.
More...
#include <SourceNumMRF.h>
Inherits SourceNum.
|
| SourceNumMRF (tinyxml2::XMLElement *element, int order, int physicalEntity, std::string fileName="Unknown file") |
| SourceNumMRF constructor from a XML format reading.
|
|
virtual | ~SourceNumMRF () |
|
virtual void | prepSourceTerms (Cell *cell, const int &i=0) |
| Source terms preparation for integration.
|
|
virtual void | sourceEvolution (const double &time) |
| Allows to modifiy the source term along time.
|
|
virtual Coord | computeAbsVelocity (const Coord &relVelocity, const Coord &position) |
| Compute the absolute velocity in the fixed coordinate system.
|
|
virtual Coord | getOmega () |
|
virtual bool | getRiemannCoupling () |
|
| SourceNum (int order, int physicalEntity=0) |
| SourceNum constructor depending on integration order and physical entity to apply source.
|
|
virtual | ~SourceNum () |
|
virtual void | integrateSourceTerms (Cell *cell, const double &dt) |
| 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)
|
|
| Source (int physicalEntity=0) |
| Source constructor depending on integration order and physical entity to apply source.
|
|
virtual | ~Source () |
|
virtual int | getPhysicalEntity () |
|
Moving Reference Frame method for rotating flows.
◆ SourceNumMRF()
SourceNumMRF::SourceNumMRF |
( |
tinyxml2::XMLElement * |
element, |
|
|
int |
order, |
|
|
int |
physicalEntity, |
|
|
std::string |
fileName = "Unknown file" |
|
) |
| |
SourceNumMRF constructor from a XML format reading.
Reading data from XML file under the following format: ex: <dataMRF omega="1.d3">
- Parameters
-
element | XML element to read for source term |
fileName | string name of readed XML file |
◆ ~SourceNumMRF()
SourceNumMRF::~SourceNumMRF |
( |
| ) |
|
|
virtual |
◆ computeAbsVelocity()
Compute the absolute velocity in the fixed coordinate system.
- Parameters
-
relVelocity | velocity in the moving coordinate system |
position | position vector in the fixed coordinate system |
Reimplemented from SourceNum.
◆ getOmega()
virtual Coord SourceNumMRF::getOmega |
( |
| ) |
|
|
inlinevirtual |
◆ getRiemannCoupling()
virtual bool SourceNumMRF::getRiemannCoupling |
( |
| ) |
|
|
inlinevirtual |
◆ prepSourceTerms()
void SourceNumMRF::prepSourceTerms |
( |
Cell * |
, |
|
|
const int & |
= 0 |
|
) |
| |
|
virtual |
Source terms preparation for integration.
- Parameters
-
cell | cell for source term integration |
Reimplemented from SourceNum.
◆ sourceEvolution()
void SourceNumMRF::sourceEvolution |
( |
const double & |
| ) |
|
|
virtual |
Allows to modifiy the source term along time.
- Parameters
-
time | physical time of the computation |
Reimplemented from SourceNum.
◆ m_incr
double SourceNumMRF::m_incr |
|
private |
Optional final time to increase linearly omega.
◆ m_omega
Coord SourceNumMRF::m_omega |
|
private |
◆ m_riemannCoupling
bool SourceNumMRF::m_riemannCoupling |
|
private |
To increment angular velocity from zero to omega.
◆ m_tf
double SourceNumMRF::m_tf |
|
private |
The documentation for this class was generated from the following files:
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Sources/SourceNumMRF.h
- /Users/fabien/depotsSephiroth/gitLab/ECOGEN/ecogen/src/Sources/SourceNumMRF.cpp