34#include "../libTierces/tinyxml2.h"
56 void solveRiemann(
double transportLeft,
double transportRight,
double sM);
86 void addFlux(
double coefA,
const int num);
106 void add(
double scalar);
114 void extrapolate(
const double& slope,
const double& distance);
Transport * fluxBufferTransport
Definition Transport.cpp:35
Class for additional transport equations.
Definition Transport.h:41
void setValue(double value)
Set the value of the corresponding transport variable.
Definition Transport.cpp:48
void solveRiemannInletInjStagState(double transportLeft, double sM, double valueTransport)
Inlet injection using stagnation state half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:77
void solveRiemannInletInjTemp(double transportLeft, double sM, double valueTransport)
Inlet injection using temperature half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:85
Transport()
Definition Transport.cpp:39
void computeSlopeTransport(const double valueLeft, const double valueRight, const double &distance)
Compute the slope at the edge of a cell.
Definition Transport.cpp:158
void multiply(double scalar)
Multiply the corresponding transport value by a scalar.
Definition Transport.cpp:137
void subtractFlux(double coefA, const int num)
Subtract flux to the corresponding transport buffer flux.
Definition Transport.cpp:116
void extrapolate(const double &slope, const double &distance)
Extrapolate the value of the corresponding transport equation from the center of the cell to its edge...
Definition Transport.cpp:165
void solveRiemannOutletPressure(double transportLeft, double sM, double valueTransport)
Outlet at imposed pressure half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:101
const double & getValue() const
Return the value of the corresponding transport variable.
Definition Transport.h:50
void changeSign()
Change the sign of the corresponding transport value.
Definition Transport.cpp:151
void solveRiemannWall()
Wall half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:63
double m_value
Definition Transport.h:123
void addFlux(double coefA, const int num)
Add flux to the corresponding transport buffer flux.
Definition Transport.cpp:109
~Transport()
Definition Transport.cpp:44
void solveRiemann(double transportLeft, double transportRight, double sM)
Cell to cell Riemann solver for the corresponding transport equation.
Definition Transport.cpp:55
void add(double scalar)
Add a scalar to the corresponding transport value.
Definition Transport.cpp:144
void solveRiemannPiston(double transportLeft, double uPiston)
Piston half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:70
void addNonCons(double coefA, double transport, const double sM)
Add non conservative transport term to the flux.
Definition Transport.cpp:123
void subtractNonCons(double coefA, double transport, const double sM)
Subtract non conservative transport term to the flux.
Definition Transport.cpp:130
void solveRiemannInletTank(double transportLeft, double sM, double valueTransport)
Inlet tank half Riemann solver for the corresponding transport equation.
Definition Transport.cpp:93