![]() |
waves
Basic FE playground
|
Nonlinear density. More...
#include <wF0El.h>
Public Member Functions | |
F0ElRho (double _mInf, double _mC2=5) | |
virtual double | eval (tbox::Element const &e, std::vector< double > const &u, size_t k) const override |
Evaluate the nonlinear density (constant over element) More... | |
virtual double | evalGrad (tbox::Element const &e, std::vector< double > const &u, size_t k) const override |
Evaluate the nonlinear density derivative (constant over element) More... | |
![]() | |
F0El () | |
virtual | ~F0El () |
Private Attributes | |
double | gamma |
heat capacity ratio (diatomic gas only) More... | |
double | mInf |
freestream Mach number More... | |
double | gradUC |
critical velocity More... | |
Nonlinear density.
The density is limited (Padé approximation) for large value of velocity and particularized for diatomic gas. The input _mC2 is the square of the critical Mach number used to compute the critical velocity.
|
inline |
|
overridevirtual |
Evaluate the nonlinear density (constant over element)
Implements flow::F0El.
|
overridevirtual |
Evaluate the nonlinear density derivative (constant over element)
Implements flow::F0El.
|
private |
heat capacity ratio (diatomic gas only)
|
private |
critical velocity
|
private |
freestream Mach number