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.
|
| | ~SourceNumMRF () override |
| void | prepSourceTerms (Cell *cell, const int &i=0) override |
| | Source terms preparation for integration.
|
| void | sourceEvolution (const double &time) override |
| | Allows to modifiy the source term along time.
|
| Coord | computeAbsVelocity (const Coord &relVelocity, const Coord &position) override |
| | Compute the absolute velocity in the fixed coordinate system.
|
| Coord | getOmega () override |
| bool | getRiemannCoupling () override |
| | SourceNum (int order, int physicalEntity=0) |
| | SourceNum constructor depending on integration order and physical entity to apply source.
|
| | ~SourceNum () override |
| 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).
|
| | 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.e3">
- Parameters
-
| element | XML element to read for source term |
| fileName | string name of readed XML file |
◆ ~SourceNumMRF()
| SourceNumMRF::~SourceNumMRF |
( |
| ) |
|
|
override |
◆ 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()
| Coord SourceNumMRF::getOmega |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getRiemannCoupling()
| bool SourceNumMRF::getRiemannCoupling |
( |
| ) |
|
|
inlineoverridevirtual |
◆ prepSourceTerms()
| void SourceNumMRF::prepSourceTerms |
( |
Cell * | , |
|
|
const int & | = 0 ) |
|
overridevirtual |
Source terms preparation for integration.
- Parameters
-
| cell | cell for source term integration |
Reimplemented from SourceNum.
◆ sourceEvolution()
| void SourceNumMRF::sourceEvolution |
( |
const double & | | ) |
|
|
overridevirtual |
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: