hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::Navier_stokes< visc, turb >::Pde< n_dim, row_size > Class Template Reference

Classes

class  Characteristics
 
class  Computation
 

Public Member Functions

 Pde (int n_var, Transport_model dynamic_visc=inviscid, Transport_model thermal_cond=inviscid, double stke_amb=0., double std_amb=0.)
 
Mat< n_extrap > fetch_extrap (int stride, const double *data) const
 
void write_update (Mat< n_update > update, int stride, double *data, bool critical) const
 

Public Attributes

Transport_model dyn_visc
 
Transport_model therm_cond
 

Static Public Attributes

static constexpr bool has_diffusion = visc
 
static constexpr bool has_convection = true
 
static constexpr bool has_source = visc && (turb != laminar)
 
static constexpr bool needs_size = false
 
static constexpr int n_update = n_dim + 2 + 2*(turb == k_omega)
 
static constexpr int n_state = n_dim + 4 + 2*(turb == k_omega)
 
static constexpr int n_extrap = n_dim + 2 + 2*(turb == k_omega)
 
static constexpr int i_mass = n_dim
 
static constexpr int i_energy = n_dim + 1
 
static constexpr int i_turb_kin_ener = n_dim + 2
 
static constexpr int i_turb_diss = n_dim + 3
 
static constexpr int i_bulk_art_visc = n_update
 
static constexpr int i_laplacian_art_visc = n_update + 1
 
static constexpr double heat_rat = 1.4
 
static constexpr double alpha = 13./25.
 
static constexpr double beta_s = 9./100.
 
static constexpr double beta_0 = 0.0708
 
static constexpr double sigma = 1./2.
 
static constexpr double sigma_s = 3./5.
 
static constexpr double sigma_do = 1./8.
 
static constexpr double c_lim = 7./8.
 
static constexpr double turb_prandtl = .9
 

The documentation for this class was generated from the following file: