Class to solve the Inviscid compressible fluid flows (Euler equations) for perfect gas in 2-D.
More...
|
| ICPG2DT (Mesh &ms) |
| Constructor using mesh instance.
|
|
| ICPG2DT (Mesh &ms, Vect< real_t > &r, Vect< real_t > &v, Vect< real_t > &p) |
| Constructor using mesh and initial data. More...
|
|
| ~ICPG2DT () |
| Destructor.
|
|
void | setReconstruction () |
| Reconstruct. More...
|
|
real_t | runOneTimeStep () |
| Advance one time step.
|
|
void | Forward (const Vect< real_t > &Flux, Vect< real_t > &Field) |
| Add Flux to Field. More...
|
|
real_t | getFlux () |
| Get flux.
|
|
void | setSolver (SolverType s) |
| Choose solver. More...
|
|
void | setGamma (real_t gamma) |
| Set Gamma value.
|
|
void | setCv (real_t Cv) |
| Set value of heat capacity at constant volume.
|
|
void | setCp (real_t Cp) |
| Set value of heat capacity at constant pressure.
|
|
void | setKappa (real_t Kappa) |
| Set Kappa value.
|
|
real_t | getGamma () const |
| Return value of Gamma.
|
|
real_t | getCv () const |
| Return value of heat capacity at constant volume.
|
|
real_t | getCp () const |
| Return value of heat capacity at constant pressure.
|
|
real_t | getKappa () const |
| Return value of Kappa.
|
|
Mesh & | getMesh () |
| Return reference to mesh instance.
|
|
void | getMomentum (Vect< real_t > &m) const |
| Calculate elementwise momentum.
|
|
void | getInternalEnergy (Vect< real_t > &e) const |
| Calculate elementwise internal energy.
|
|
void | getTotalEnergy (Vect< real_t > &e) const |
| Return elementwise total energy.
|
|
void | getSoundSpeed (Vect< real_t > &s) const |
| Return elementwise sound speed.
|
|
void | getMach (Vect< real_t > &m) const |
| Return elementwise Mach number.
|
|
void | setBC (const Side &sd, real_t a) |
| Prescribe a constant boundary condition at given side. More...
|
|
void | setBC (int code, real_t a) |
| Prescribe a constant boundary condition for a given code. More...
|
|
void | setBC (real_t u) |
| Prescribe a constant boundary condition on all boundary sides. More...
|
|
void | setBC (const Side &sd, const LocalVect< real_t, 4 > &u) |
| Prescribe a constant boundary condition at a given side. More...
|
|
void | setBC (int code, const LocalVect< real_t, 4 > &u) |
| Prescribe a constant boundary condition for a given code. More...
|
|
void | setBC (const LocalVect< real_t, 4 > &u) |
| Prescribe a constant boundary condition at all boundary sides. More...
|
|
real_t | getR (size_t i) const |
| Return density at given element label. More...
|
|
real_t | getV (size_t i, size_t j) const |
|
real_t | getP (size_t i) const |
| Return pressure at given element label. More...
|
|
bool | setReconstruction (const Vect< real_t > &U, Vect< real_t > &LU, Vect< real_t > &RU, size_t dof) |
| Function to reconstruct by the Muscl method. More...
|
|
void | setTimeStep (real_t dt) |
| Assign time step value. More...
|
|
real_t | getTimeStep () const |
| Return time step value.
|
|
void | setCFL (real_t CFL) |
| Assign CFL value. More...
|
|
real_t | getCFL () const |
| Return CFL value.
|
|
void | setReferenceLength (real_t dx) |
| Assign reference length value. More...
|
|
real_t | getReferenceLength () const |
| Return reference length.
|
|
Mesh & | getMesh () const |
| Return reference to Mesh instance.
|
|
void | setVerbose (int v) |
| Set verbosity parameter. More...
|
|
void | setMethod (const Method &s) |
| Choose a flux solver. More...
|
|
void | setSolidZoneCode (int c) |
| Choose a code for solid zone.
|
|
bool | getSolidZone () const |
| Return flag for presence of solid zones.
|
|
int | getSolidZoneCode () const |
| Return code of solid zone, 0 if this one is not present.
|
|
void | setLimiter (Limiter l) |
| Choose a flux limiter. More...
|
|
Class to solve the Inviscid compressible fluid flows (Euler equations) for perfect gas in 2-D.
Solution method is a second-order MUSCL Finite Volume scheme on triangles