Class used implementing artificial viscosity limiter based on velocity gradient as desribed in Eric Meier Dissertation (2011, Univ.
More...
Class used implementing artificial viscosity limiter based on velocity gradient as desribed in Eric Meier Dissertation (2011, Univ.
Washington, Appx B) Add a diffusion term to the equation adding dissipatin to compressional modes causing shocks Applied on the momentum equation for p=(px,py,pz) Uses Local Discontinuous Galerkin or Interior Penalty d/dt (p) + div (-2 nu Io (|grad u|) o grad u) or (px) (-2 nu |vx_x| vx_x) d/dt (py) + d/dx (0) (pz) (0)
(0)
+ d/dy (-2 nu |vy_y| vy_y)
(0)
(0)
+ d/dz (0)
(-2 nu |vz_z| vz_z)
(0)
= (0)
(0)
where nu is the viscosity
|
| ArtificialViscosityLimiterMeier () |
| Constructor.
|
|
| ~ArtificialViscosityLimiterMeier () override |
| Destructor.
|
|
void | setup (const WxCryptSet &wxc) override |
| Setup.
|
|
const std::vector< int > & | getInputVariableIndexes (int flag) const override |
| Get input variable indices.
|
|
const std::vector< int > & | getAuxiliaryVariableIndexes (int flag) const override |
| Get auxiliary variable indices.
|
|
const std::vector< int > & | getOutputVariableIndexes (int flag) const override |
| Get output variable indices.
|
|
real | numerical_flux (const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const override |
| Numerical flux definition.
|
|
real | internal_flux (const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const override |
| Internal flux definition.
|
|
real | numerical_flux_ldg (const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const |
| Specific Numerical flux definition for local discontinuous galerkin method Called by the numerical flux function.
|
|
real | numerical_flux_ip (const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const |
| Specific Numerical flux definition for interior penalty method Called by the numerical flux function.
|
|
| WmApplication () |
|
virtual | ~WmApplication ()=default |
|
virtual void | setup (const WxCryptSet &wxc) |
|
virtual const std::vector< int > & | getAuxiliaryVariableIndexes (int flag=WMAPPLICATIONFLAG_NONE) const |
|
virtual const std::vector< int > & | getCrossVariableIndexes (int flag=WMAPPLICATIONFLAG_NONE) const |
|
const std::vector< std::string > & | getBoundaryNames () const |
|
bool | isOnBoundary (const std::string &boundaryName) const |
|
bool | has (int flag) const |
|
virtual real | numerical_flux (const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const |
|
virtual real | internal_flux (const real *q, const real *aux, const solverVariables_t *pSV, std::vector< std::vector< real > > &internalFlux) const |
|
virtual real | source (const real *q, const real *aux, const elementGeometry_t *pEG, real *source) const |
|
virtual void | bc_q (const real *q_in, const real *aux_in, const real *aux_out, const solverVariables_t *pFV, real *q_out) const |
| Boundary Condition Application which sets the boundary condition on ghost nodes.
|
|
virtual real | bcNumericalFlux (const real *q_l, const real *q_r, const real *aux_l, const real *aux_r, const solverVariables_t *pFV, real *numericalFlux) const |
|
virtual void | conserved_to_primitive (const real *q, const real *aux, real *w) const |
|
virtual void | primitive_to_conserved (const real *w, const real *aux, real *q) const |
|
virtual void | evaluate_function (const real *q, const real *aux, const solverVariables_t *pSV, real *result) const |
|
virtual void | bc_q_kinetic (const real *q_in, const real *aux_in, const solverVariables_t *pFV, real *q_out) const |
|
std::shared_ptr< std::string > | app_name () |
|
virtual const std::vector< int > & | getInputVariableIndexes (int flag=0) const |
|
virtual const std::vector< int > & | getOutputVariableIndexes (int flag=0) const |
|