31#include "../../CNumerics.hpp"
71 CUpwRoeBase_Flow(
unsigned short val_nDim,
unsigned short val_nVar,
const CConfig* config,
bool val_low_dissipation);
113 CUpwRoe_Flow(
unsigned short val_nDim,
unsigned short val_nVar,
const CConfig* config,
bool val_low_dissipation);
185 bool implicit, dynamic_grid;
187 su2double *Velocity_i, *Velocity_j, *RoeVelocity;
191 su2double sq_vel, Density_i, Energy_i, SoundSpeed_i, Pressure_i, Enthalpy_i,
192 Density_j, Energy_j, SoundSpeed_j, Pressure_j, Enthalpy_j, R, RoePressure, RoeDensity, RoeEnthalpy, RoeSoundSpeed,
193 ProjVelocity, ProjVelocity_i, ProjVelocity_j;
194 unsigned short iDim, iVar, jVar, kVar;
196 su2double r_hat, s_hat, t_hat, rhoB2a2, sqr_one_m_Betasqr_Lam1;
197 su2double Beta2, one_m_Betasqr, one_p_Betasqr, sqr_two_Beta_c_Area;
236 bool implicit, dynamic_grid;
239 su2double *Velocity_i, *Velocity_j, *RoeVelocity;
242 su2double *Lambda, *Epsilon, MaxLambda, Delta;
244 su2double sq_vel, Proj_ModJac_Tensor_ij, Density_i, Energy_i, SoundSpeed_i, Pressure_i, Enthalpy_i,
246 Density_j, Energy_j, SoundSpeed_j, Pressure_j, Enthalpy_j, R, RoeDensity, RoeEnthalpy, RoeSoundSpeed, RoeSoundSpeed2,
247 ProjVelocity, ProjVelocity_i, ProjVelocity_j, proj_delta_vel, delta_p, delta_rho, kappa;
248 unsigned short iDim, iVar, jVar, kVar;
250 su2double StaticEnthalpy_i, StaticEnergy_i, StaticEnthalpy_j, StaticEnergy_j, Kappa_i, Kappa_j, Chi_i, Chi_j, Velocity2_i, Velocity2_j;
A templated matrix/vector-like object.
Definition C2DContainer.hpp:374
Main class for defining the problem; basically this class reads the configuration file,...
Definition CConfig.hpp:64
Class for defining the numerical methods.
Definition CNumerics.hpp:48
static constexpr size_t MAXNDIM
Max number of space dimensions, used in some static arrays.
Definition CNumerics.hpp:50
Class for solving an approximate Riemann solver of Roe for the flow equations for a general fluid mod...
Definition roe.hpp:233
~CUpwGeneralRoe_Flow(void) override
Destructor of the class.
Definition roe.cpp:714
void ComputeRoeAverage()
Compute the Average for a general fluid flux between two nodes i and j. Using the approach of Vinokur...
Definition roe.cpp:985
ResidualType ComputeResidual(const CConfig *config) override
Compute the Roe's flux between two nodes i and j.
Definition roe.cpp:740
Class for solving an approximate Riemann solver of L2Roe for the flow equations.
Definition roe.hpp:124
Class for solving an approximate Riemann solver of LMRoe for the flow equations.
Definition roe.hpp:154
Intermediate base class for Roe schemes on ideal gas.
Definition roe.hpp:39
su2double Velocity_j[MAXNDIM]
Definition roe.hpp:42
bool roe_low_dissipation
Definition roe.hpp:41
su2double RoeVelocity[MAXNDIM]
Definition roe.hpp:42
su2double RoeEnthalpy
Definition roe.hpp:47
su2double * Conservatives_j
Definition roe.hpp:45
virtual void FinalizeResidual(su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, const CConfig *config)=0
Derived classes must specialize this method to add the specifics of the scheme they implement (e....
Definition roe.cpp:86
su2double * ProjFlux_i
Definition roe.hpp:44
bool dynamic_grid
Definition roe.hpp:41
su2double * Diff_U
Definition roe.hpp:43
su2double kappa
Definition roe.hpp:47
su2double ** invP_Tensor
Definition roe.hpp:46
su2double ** Jacobian_j
The Jacobian w.r.t. point j after computation.
Definition roe.hpp:51
su2double * ProjFlux_j
Definition roe.hpp:45
su2double RoeSoundSpeed
Definition roe.hpp:47
su2double * Flux
The flux accross the face.
Definition roe.hpp:49
su2double ProjVelocity
Definition roe.hpp:47
~CUpwRoeBase_Flow(void) override
Destructor of the class.
Definition roe.cpp:64
su2double * Conservatives_i
Definition roe.hpp:44
su2double Velocity_i[MAXNDIM]
Definition roe.hpp:42
su2double RoeDensity
Definition roe.hpp:47
su2double ** Jacobian_i
The Jacobian w.r.t. point i after computation.
Definition roe.hpp:50
su2double * Lambda
Definition roe.hpp:43
ResidualType ComputeResidual(const CConfig *config) final
Compute the flux from node i to node j, part common to most Roe schemes.
Definition roe.cpp:95
su2double ** P_Tensor
Definition roe.hpp:46
su2double RoeSoundSpeed2
Definition roe.hpp:47
bool implicit
Definition roe.hpp:41
Class for solving an approximate Riemann solver of Roe for the flow equations.
Definition roe.hpp:93
Class for solving an approximate Riemann solver of Roe with Turkel Preconditioning for the flow equat...
Definition roe.hpp:183
~CUpwTurkel_Flow(void) override
Destructor of the class.
Definition roe.cpp:482
ResidualType ComputeResidual(const CConfig *config) override
Compute the Roe's flux between two nodes i and j.
Definition roe.cpp:512
passivedouble su2double
Definition code_config.hpp:181
Return type used in some "ComputeResidual" overloads to give a const-view of the internally stored fl...
Definition CNumerics.hpp:218