Documentation 6b54b78464
Loading...
Searching...
No Matches
CNumerics Class Reference

Class for defining the numerical methods. More...

#include <CNumerics.hpp>

Inheritance diagram for CNumerics:
[legend]

Classes

struct  ResidualType
 Return type used in some "ComputeResidual" overloads to give a const-view of the internally stored flux vector and Jacobians to the outside. More...
 

Public Member Functions

 CNumerics (void)
 Constructor of the class.
 
 CNumerics (unsigned short val_nDim, unsigned short val_nVar, const CConfig *config)
 
virtual ~CNumerics (void)
 Destructor of the class.
 
void SetTimeStep (su2double val_timestep)
 Set the time step.
 
void SetVelocity2_Inf (su2double val_velocity2)
 Set the freestream velocity square.
 
void SetVorticity (const su2double *val_vorticity_i, const su2double *val_vorticity_j)
 Set the value of the vorticity.
 
void SetStrainMag (su2double val_strainmag_i, su2double val_strainmag_j)
 Set the value of the rate of strain magnitude.
 
void SetConservative (const su2double *val_u_i, const su2double *val_u_j)
 Set the value of the conservative variables.
 
void SetPrimitive (const su2double *val_v_i, const su2double *val_v_j)
 Set the value of the primitive variables.
 
void SetSecondary (const su2double *val_s_i, const su2double *val_s_j)
 Set the value of the primitive variables.
 
void SetConsVarGradient (CMatrixView< const su2double > val_consvar_grad_i, CMatrixView< const su2double > val_consvar_grad_j)
 Set the gradient of the conservative variables.
 
void SetConsVarGradient (CMatrixView< const su2double > val_consvar_grad)
 Set the gradient of the conservative variables.
 
void SetPrimVarGradient (CMatrixView< const su2double > val_primvar_grad_i, CMatrixView< const su2double > val_primvar_grad_j)
 Set the gradient of the primitive variables.
 
void SetAdjointVar (const su2double *val_psi_i, const su2double *val_psi_j)
 Set the value of the adjoint variable.
 
void SetAdjointVarGradient (CMatrixView< const su2double > val_psivar_grad_i, CMatrixView< const su2double > val_psivar_grad_j)
 Set the gradient of the adjoint variables.
 
void SetScalarVar (const su2double *val_scalarvar_i, const su2double *val_scalarvar_j)
 Set the value of the scalar variable.
 
void SetTransVar (const su2double *val_transvar_i, const su2double *val_transvar_j)
 Set the value of the turbulent variable.
 
void SetScalarVarGradient (CMatrixView< const su2double > val_scalarvar_grad_i, CMatrixView< const su2double > val_scalarvar_grad_j)
 Set the gradient of the scalar variables.
 
void SetTransVarGradient (CMatrixView< const su2double > val_transvar_grad_i, CMatrixView< const su2double > val_transvar_grad_j)
 Set the gradient of the turbulent variables.
 
void SetLocalGridLength (const su2double val_localGridLength_i)
 Set the value of the turbulent variable.
 
void SetTurbAdjointVar (const su2double *val_turbpsivar_i, const su2double *val_turbpsivar_j)
 Set the value of the adjoint turbulent variable.
 
void SetTurbAdjointGradient (CMatrixView< const su2double > val_turbpsivar_grad_i, CMatrixView< const su2double > val_turbpsivar_grad_j)
 Set the gradient of the adjoint turbulent variables.
 
template<class Vec , class Mat >
void ComputeStochReynStress (su2double density, su2double tke, const Vec &rndVec, su2double Cmag, Mat &stochReynStress)
 Compute a random contribution to the Reynolds stress tensor (Stochastic Backscatter Model).
 
su2double ComputeStochRelaxFactor (const CConfig *config)
 Compute relaxation factor for stochastic source term in momentum equations (Stochastic Backscatter Model).
 
virtual void SetF1blending (su2double val_F1_i, su2double val_F1_j)
 Set the value of the first blending function.
 
virtual void SetF2blending (su2double val_F2_i)
 Set the value of the second blending function.
 
virtual void SetCrossDiff (su2double val_CDkw_i)
 Set the value of the cross diffusion for the SST model.
 
void SetIntermittencyEff (su2double val_intermittency_eff_i)
 Set the value of the effective intermittency for the LM model.
 
void SetIntermittency (su2double val_intermittency_i)
 Set the value of the intermittency for the LM model.
 
su2double GetIntermittencyEff () const
 Get the value of the effective intermittency for the transition model.
 
void SetAuxVarGrad (CMatrixView< const su2double > val_auxvar_grad_i, CMatrixView< const su2double > val_auxvar_grad_j)
 Set the gradient of the auxiliary variables.
 
void SetDiffusionCoeff (const su2double *val_diffusioncoeff_i, const su2double *val_diffusioncoeff_j)
 Set the diffusion coefficient.
 
void SetHeatFluxDiffusion (su2double val_heatfluxdiffusion)
 Set the heat flux due to enthalpy diffusion.
 
void SetJacHeatFluxDiffusion (su2double val_jacheatfluxdiffusion)
 Set Jacobian of the heat flux due to enthalpy diffusion.
 
void SetLaminarViscosity (su2double val_laminar_viscosity_i, su2double val_laminar_viscosity_j)
 Set the laminar viscosity.
 
void SetThermalConductivity (su2double val_thermal_conductivity_i, su2double val_thermal_conductivity_j)
 Set the thermal conductivity (translational/rotational)
 
void SetThermalConductivity_ve (su2double val_thermal_conductivity_ve_i, su2double val_thermal_conductivity_ve_j)
 Set the thermal conductivity (translational/rotational)
 
void SetSpecificHeat (su2double val_specific_heat_i, su2double val_specific_heat_j)
 Set the specifc heat c_p.
 
void SetEddyViscosity (su2double val_eddy_viscosity_i, su2double val_eddy_viscosity_j)
 Set the eddy viscosity.
 
void SetTurbKineticEnergy (su2double val_turb_ke_i, su2double val_turb_ke_j)
 Set the turbulent kinetic energy.
 
void SetStochVar (unsigned short iDim, su2double val_stochvar_i, su2double val_stochvar_j)
 Set the stochastic variables from Langevin equations (Stochastic Backscatter Model).
 
void SetSbsInBoxSensor (int8_t val_sbsInBox_i)
 Set the sensor to locate the box where the Stochastic Backscatter Model is active.
 
void SetLES_Mode (su2double val_lesMode_i, su2double val_lesMode_j)
 Set the LES sensor for hybrid RANS-LES methods.
 
void SetDistance (su2double val_dist_i, su2double val_dist_j)
 Set the value of the distance from the nearest wall.
 
void SetStochSource (su2double val_stoch_source, unsigned short iDim)
 Set the stochastic source term for the Langevin equations (Backscatter Model).
 
void SetRoughness (su2double val_roughness_i, su2double val_roughness_j)
 Set the value of the roughness from the nearest wall.
 
void SetCoord (const su2double *val_coord_i, const su2double *val_coord_j)
 Set coordinates of the points.
 
void SetGridVel (const su2double *val_gridvel_i, const su2double *val_gridvel_j)
 Set the velocity of the computational grid.
 
void SetPressure (su2double val_pressure_i, su2double val_pressure_j)
 Set the value of the pressure.
 
void SetDensity (su2double val_densityinc_i, su2double val_densityinc_j)
 Set the value of the density for the incompressible solver.
 
void SetBetaInc2 (su2double val_betainc2_i, su2double val_betainc2_j)
 Set the value of the beta for incompressible flows.
 
void SetSoundSpeed (su2double val_soundspeed_i, su2double val_soundspeed_j)
 Set the value of the sound speed.
 
void SetEnthalpy (su2double val_enthalpy_i, su2double val_enthalpy_j)
 Set the value of the enthalpy.
 
void SetLambda (su2double val_lambda_i, su2double val_lambda_j)
 Set the value of the spectral radius.
 
void SetUndivided_Laplacian (const su2double *val_und_lapl_i, const su2double *val_und_lapl_j)
 Set the value of undivided laplacian.
 
void SetSensor (su2double val_sensor_i, su2double val_sensor_j)
 Set the value of the pressure sensor.
 
void SetNeighbor (unsigned short val_neighbor_i, unsigned short val_neighbor_j)
 Set the number of neighbor to a point.
 
void SetNormal (const su2double *val_normal)
 Set the value of the normal vector to the face between two points.
 
void SetVolume (su2double val_volume)
 Set the value of the volume of the control volume.
 
void SetAvgVolume (su2double val_avgvolume)
 Set the value of AvgVolume Variable.
 
void SetDissipation (su2double diss_i, su2double diss_j)
 Sets the values of the roe dissipation.
 
su2double GetDissipation () const
 Get the final Roe dissipation factor.
 
void GetInviscidProjFlux (const su2double *val_density, const su2double *val_velocity, const su2double *val_pressure, const su2double *val_enthalpy, const su2double *val_normal, su2double *val_Proj_Flux) const
 Compute the projected inviscid flux vector.
 
void GetInviscidIncProjFlux (const su2double *val_density, const su2double *val_velocity, const su2double *val_pressure, const su2double *val_betainc2, const su2double *val_enthalpy, const su2double *val_normal, su2double *val_Proj_Flux) const
 Compute the projected inviscid flux vector for incompresible simulations.
 
void GetInviscidProjJac (const su2double *val_velocity, const su2double *val_energy, const su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor) const
 Compute the projection of the inviscid Jacobian matrices.
 
void GetInviscidIncProjJac (const su2double *val_density, const su2double *val_velocity, const su2double *val_betainc2, const su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor)
 Compute the projection of the inviscid Jacobian matrices (incompressible).
 
void GetInviscidIncProjJac (const su2double *val_density, const su2double *val_velocity, const su2double *val_betainc2, const su2double *val_enthalpy, const su2double *val_dRhodh, const su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_Tensor) const
 Compute the projection of the inviscid Jacobian matrices (overload for low speed preconditioner version).
 
void GetPreconditioner (const su2double *val_density, const su2double *val_velocity, const su2double *val_betainc2, const su2double *val_enthalpy, const su2double *val_drhodh, su2double **val_Precon) const
 Compute the low speed preconditioning matrix.
 
void GetPreconditionedProjJac (const su2double *val_density, const su2double *val_velocity, const su2double *val_betainc2, const su2double *val_normal, su2double **val_Proj_Jac_Tensor) const
 Compute the projection of the preconditioned inviscid Jacobian matrices.
 
void GetInviscidProjJac (const su2double *val_velocity, const su2double *val_enthalphy, const su2double *val_chi, const su2double *val_kappa, const su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor) const
 Compute the projection of the inviscid Jacobian matrices for general fluid model.
 
void GetPrimitive2Conservative (const su2double *val_Mean_PrimVar, const su2double *val_Mean_SecVar, su2double **val_Jac_PC) const
 Mapping between primitives variables P and conservatives variables C.
 
void GetPMatrix (const su2double *val_density, const su2double *val_velocity, const su2double *val_soundspeed, const su2double *val_enthalpy, const su2double *val_chi, const su2double *val_kappa, const su2double *val_normal, su2double **val_p_tensor) const
 Computation of the matrix P for a generic fluid model.
 
template<typename Matrix >
void GetPMatrix (const su2double &density, const su2double *velocity, const su2double &soundspeed, const su2double *normal, Matrix &p_tensor) const
 Computation of the matrix P, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.
 
void GetinvRinvPe (su2double Beta2, su2double val_enthalpy, su2double val_soundspeed, su2double val_density, const su2double *val_velocity, su2double **val_invR_invPe) const
 Computation of the matrix Rinv*Pe.
 
void GetRMatrix (su2double val_pressure, su2double val_soundspeed, su2double val_density, const su2double *val_velocity, su2double **val_invR_invPe) const
 Computation of the matrix R.
 
void GetRMatrix (su2double val_soundspeed, su2double val_density, su2double **R_Matrix) const
 Computation of the matrix R.
 
void GetLMatrix (su2double val_soundspeed, su2double val_density, su2double **L_Matrix) const
 Computation of the matrix R.
 
void ComputeResJacobianGiles (CFluidModel *FluidModel, su2double pressure, su2double density, const su2double *turboVel, su2double alphaInBC, su2double gammaInBC, su2double **R_c, su2double **R_c_inv)
 Computation of the flow Residual Jacobian Matrix for Non Reflecting BC.
 
void InvMatrix3D (su2double **matrix, su2double **invMatrix)
 Computate the inverse of a 3x3 matrix.
 
void InvMatrix4D (su2double **matrix, su2double **invMatrix)
 Computate the inverse of a 4x4 matrix.
 
void GetCharJump (su2double val_soundspeed, su2double val_density, const su2double *prim_jump, su2double *char_jump) const
 Computation of the matrix R.
 
void GetPrecondJacobian (su2double Beta2, su2double r_hat, su2double s_hat, su2double t_hat, su2double rB2a2, const su2double *val_Lambda, const su2double *val_normal, su2double **val_absPeJac) const
 Computation of the matrix Td, this matrix diagonalize the preconditioned conservative Jacobians in the form $Tg |Lambda| Td = Pc{-1}|Pc (A.Normal)|$.
 
void GetPMatrix_inv (su2double **val_invp_tensor, const su2double *val_density, const su2double *val_velocity, const su2double *val_soundspeed, const su2double *val_chi, const su2double *val_kappa, const su2double *val_normal) const
 Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.
 
template<typename Matrix >
void GetPMatrix_inv (const su2double &density, const su2double *velocity, const su2double &soundspeed, const su2double *normal, Matrix &inv_p_tensor) const
 Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.
 
void GetAdjViscousFlux_Jac (su2double Pressure_i, su2double Pressure_j, su2double Density_i, su2double Density_j, su2double ViscDens_i, su2double ViscDens_j, const su2double *Velocity_i, const su2double *Velocity_j, su2double sq_vel_i, su2double sq_vel_j, su2double XiDens_i, su2double XiDens_j, su2double **Mean_GradPhi, const su2double *Mean_GradPsiE, su2double dPhiE_dn, const su2double *Normal, const su2double *Edge_Vector, su2double dist_ij_2, su2double *val_residual_i, su2double *val_residual_j, su2double **val_Jacobian_ii, su2double **val_Jacobian_ij, su2double **val_Jacobian_ji, su2double **val_Jacobian_jj, bool implicit) const
 Compute viscous residual and jacobian.
 
void GetJacInviscidLambda_fabs (const su2double *val_velocity, su2double val_soundspeed, const su2double *val_normal, su2double *val_Lambda_Vector) const
 Computation of the projected inviscid lambda (eingenvalues).
 
virtual void ComputeResidual (su2double *val_residual, CConfig *config)
 Compute the numerical residual.
 
virtual void ComputeResidual (su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config)
 
virtual ResidualType ComputeResidual (const CConfig *config)
 
virtual void ComputeResidual (su2double *val_residual_i, su2double *val_residual_j, su2double **val_Jacobian_ii, su2double **val_Jacobian_ij, su2double **val_Jacobian_ji, su2double **val_Jacobian_jj, CConfig *config)
 
virtual void ComputeResidual (su2double *val_resconv_i, su2double *val_resvisc_i, su2double *val_resconv_j, su2double *val_resvisc_j, su2double **val_Jacobian_ii, su2double **val_Jacobian_ij, su2double **val_Jacobian_ji, su2double **val_Jacobian_jj, CConfig *config)
 
virtual void ComputeResidual (su2double *val_resconv, su2double *val_resvisc, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config)
 
virtual void ComputeResidual (su2double *val_residual, su2double **val_Jacobian_i, CConfig *config)
 
virtual void ComputeResidual_TransLM (su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config, su2double &gamma_sep)
 Residual for transition problems.
 
virtual ResidualType ComputeAxisymmetric (const CConfig *config)
 Residual for source term integration.
 
virtual ResidualType ComputeVibRelaxation (const CConfig *config)
 
virtual ResidualType ComputeChemistry (const CConfig *config)
 Calculation of the chemistry source term.
 
virtual su2double GetGammaBC (void) const
 A virtual member.
 
virtual void Compute_Tangent_Matrix (CElement *element_container, const CConfig *config)
 A virtual member to compute the tangent matrix in structural problems.
 
virtual void Compute_NodalStress_Term (CElement *element_container, const CConfig *config)
 A virtual member to compute the nodal stress term in non-linear structural problems.
 
virtual void SetMeshElasticProperties (unsigned long iElem, su2double val_E)
 Set the element-based local Young's modulus in mesh problems.
 
virtual void Set_DV_Val (unsigned short i_DV, su2double val_DV)
 A virtual member to set the value of the design variables.
 
virtual su2double Get_DV_Val (unsigned short i_DV) const
 A virtual member to retrieve the value of the design variables.
 
virtual void Set_ElectricField (unsigned short i_DV, su2double val_EField)
 A virtual member to set the electric field.
 
virtual void SetMaterial_Properties (unsigned short iVal, su2double val_E, su2double val_Nu)
 A virtual member to set the material properties.
 
virtual void SetMaterial_Density (unsigned short iVal, su2double val_Rho, su2double val_Rho_DL)
 A virtual member to set the material properties.
 
virtual void Compute_Mass_Matrix (CElement *element_container, const CConfig *config)
 A virtual member to compute the mass matrix.
 
virtual void Compute_Body_Forces (CElement *element_container, const CConfig *config)
 A virtual member to compute the residual component due to body forces.
 
virtual su2double Compute_Averaged_NodalStress (CElement *element_container, const CConfig *config)
 A virtual member to compute the averaged nodal stresses.
 
void CreateBasis (const su2double *val_Normal, su2double *l, su2double *m)
 Computes a basis of orthogonal vectors from a supplied vector.
 
virtual void SetTau_Wall (su2double val_tauwall_i, su2double val_tauwall_j)
 Set the value of the Tauwall.
 
su2double GetRoe_Dissipation (const su2double Dissipation_i, const su2double Dissipation_j, const su2double Sensor_i, const su2double Sensor_j, const CConfig *config) const
 
  • Calculate the central/upwind blending function for a face

 
virtual void SetRadVar (const su2double *val_radvar_i, const su2double *val_radvar_j)
 Set the value of the radiation variable.
 
virtual void SetRadVarGradient (CMatrixView< const su2double > val_radvar_grad_i, CMatrixView< const su2double > val_radvar_grad_j)
 Set the gradient of the radiation variables.
 
void SetRadVarSource (const su2double *val_radvar_source)
 Set the gradient of the radiation variables.
 
virtual void SetdPdU (su2double *val_dPdU_i, su2double *val_dPdU_j)
 Set the pressure derivatives.
 
virtual void SetdTdU (su2double *val_dTdU_i, su2double *val_dTdU_j)
 Set the temperature derivatives.
 
virtual void SetdTvedU (su2double *val_dTvedU_i, su2double *val_dTvedU_j)
 Set the vib-el temperture derivatives.
 
virtual void SetEve (su2double *val_Eve_i, su2double *val_Eve_j)
 Set the vib-elec energy.
 
virtual void SetCvve (su2double *val_Cvve_i, su2double *val_Cvve_j)
 Set the vib-elec specific heat.
 
virtual void SetGamma (su2double val_Gamma_i, su2double val_Gamma_j)
 Set the ratio of specific heats.
 
virtual void SetStreamwisePeriodicValues (const StreamwisePeriodicValues SolverSPvals)
 Set massflow, heatflow & inlet temperature for streamwise periodic flow.
 
void SetMassFlux (const su2double val_MassFlux)
 SetMassFlux.
 
bool GetBoundedScalar () const
 Obtain information on bounded scalar problem.
 

Static Public Member Functions

template<class Mat1 , class Mat2 >
static void ComputeMeanRateOfStrainMatrix (size_t nDim, Mat1 &rateofstrain, const Mat2 &velgrad)
 Compute the mean rate of strain matrix.
 
template<class Mat1 , class Mat2 , class Scalar >
static void ComputeStressTensor (size_t nDim, Mat1 &stress, const Mat2 &velgrad, Scalar viscosity, Scalar density=0.0, Scalar turb_ke=0.0, bool reynolds3x3=false)
 Compute the stress tensor from the velocity gradients.
 
template<class Mat1 , class Mat2 , class Scalar2 >
static void AddQCR (size_t nDim, const Mat1 &gradvel, Mat2 &tau, Scalar2 turb_fraction)
 Add a correction using a Quadratic Constitutive Relation to the stress tensor.
 
template<class Mat1 , class Mat2 , class Scalar >
static void ComputePerturbedRSM (size_t nDim, size_t uq_eigval_comp, bool uq_permute, su2double uq_delta_b, su2double uq_urlx, const Mat1 &velgrad, Scalar density, Scalar viscosity, Scalar turb_ke, Mat2 &MeanPerturbedRSM)
 Perturb the Reynolds stress tensor based on parameters.
 
template<class Vec1 , class Vec2 , class Mat >
static su2double ComputeProjectedGradient (int nDim, int nVar, const Vec1 &normal, const Vec1 &coord_i, const Vec1 &coord_j, const Mat &grad_i, const Mat &grad_j, bool correct, const Vec2 &var_i, const Vec2 &var_j, su2double *projNormal, su2double *projCorrected)
 Project average gradient onto normal (with or w/o correction) for viscous fluxes of scalar quantities.
 
static bool CheckResidualNaNs (bool implicit, int nVar, const ResidualType<> residual)
 Check if residual constains a NaN value.
 

Protected Attributes

unsigned short nDim
 
unsigned short nVar
 Number of dimensions and variables.
 
su2double Gamma
 Fluid's Gamma constant (ratio of specific heats).
 
su2double Gamma_Minus_One
 Fluids's Gamma - 1.0 .
 
su2double Minf
 Free stream Mach number .
 
su2double Gas_Constant
 Gas constant.
 
su2double Prandtl_Turb
 Turbulent Prandtl's number.
 
su2double MassFlux
 Mass flux across edge.
 
su2double * Proj_Flux_Tensor
 Flux tensor projected in a direction.
 
su2double ** tau
 Viscous stress tensor.
 
const su2double delta [3][3] = {{1.0, 0.0, 0.0},{0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}}
 Identity matrix.
 
const su2double * Diffusion_Coeff_i
 Species diffusion coefficients at point i.
 
const su2double * Diffusion_Coeff_j
 Species diffusion coefficients at point j.
 
su2double Laminar_Viscosity_i
 Laminar viscosity at point i.
 
su2double Laminar_Viscosity_j
 Laminar viscosity at point j.
 
su2double Thermal_Conductivity_i
 Thermal conductivity at point i.
 
su2double Thermal_Conductivity_j
 Thermal conductivity at point j.
 
su2double Thermal_Conductivity_ve_i
 vibrational-electronic Thermal conductivity at point i.
 
su2double Thermal_Conductivity_ve_j
 vibrational-electronic Thermal conductivity at point j.
 
su2double Cp_i
 Cp at point i.
 
su2double Cp_j
 Cp at point j.
 
su2double Eddy_Viscosity_i
 Eddy viscosity at point i.
 
su2double Eddy_Viscosity_j
 Eddy viscosity at point j.
 
su2double turb_ke_i
 Turbulent kinetic energy at point i.
 
su2double turb_ke_j
 Turbulent kinetic energy at point j.
 
su2double intermittency_eff_i
 effective intermittency at point i.
 
su2double intermittency_i
 intermittency at point i.
 
su2double Pressure_i
 Pressure at point i.
 
su2double Pressure_j
 Pressure at point j.
 
su2double Density_i
 Density at point i.
 
su2double Density_j
 Density at point j.
 
su2double DensityInc_i
 Incompressible density at point i.
 
su2double DensityInc_j
 Incompressible density at point j.
 
su2double BetaInc2_i
 Beta incompressible at point i.
 
su2double BetaInc2_j
 Beta incompressible at point j.
 
su2double Lambda_i
 Spectral radius at point i.
 
su2double Lambda_j
 Spectral radius at point j.
 
su2double SoundSpeed_i
 Sound speed at point i.
 
su2double SoundSpeed_j
 Sound speed at point j.
 
su2double Enthalpy_i
 Enthalpy at point i.
 
su2double Enthalpy_j
 Enthalpy at point j.
 
su2double dist_i
 Distance of point i to the nearest wall.
 
su2double dist_j
 Distance of point j to the nearest wall.
 
const su2double * Und_Lapl_i
 Undivided laplacians at point i.
 
const su2double * Und_Lapl_j
 Undivided laplacians at point j.
 
su2double Sensor_i
 Pressure sensor at point i.
 
su2double Sensor_j
 Pressure sensor at point j.
 
const su2double * GridVel_i
 Grid velocity at point i.
 
const su2double * GridVel_j
 Grid velocity at point j.
 
const su2double * U_i
 Vector of conservative variables at point i.
 
const su2double * U_j
 Vector of conservative variables at point j.
 
const su2double * V_i
 Vector of primitive variables at point i.
 
const su2double * V_j
 Vector of primitive variables at point j.
 
const su2double * S_i
 Vector of secondary variables at point i.
 
const su2double * S_j
 Vector of secondary variables at point j.
 
const su2double * Psi_i
 Vector of adjoint variables at point i.
 
const su2double * Psi_j
 Vector of adjoint variables at point j.
 
const su2double * ScalarVar_i
 Vector of scalar variables at point i.
 
const su2double * ScalarVar_j
 Vector of scalar variables at point j.
 
su2double HeatFluxDiffusion
 Heat flux due to enthalpy diffusion for multicomponent.
 
su2double JacHeatFluxDiffusion
 Heat flux jacobian due to enthalpy diffusion for multicomponent.
 
const su2double * TransVar_i
 Vector of turbulent variables at point i.
 
const su2double * TransVar_j
 Vector of turbulent variables at point j.
 
const su2double * TurbPsi_i
 Vector of adjoint turbulent variables at point i.
 
const su2double * TurbPsi_j
 Vector of adjoint turbulent variables at point j.
 
CMatrixView< const su2double > ConsVar_Grad_i
 Gradient of conservative variables at point i.
 
CMatrixView< const su2double > ConsVar_Grad_j
 Gradient of conservative variables at point j.
 
CMatrixView< const su2double > ConsVar_Grad
 Gradient of conservative variables which is a scalar.
 
CMatrixView< const su2double > PrimVar_Grad_i
 Gradient of primitive variables at point i.
 
CMatrixView< const su2double > PrimVar_Grad_j
 Gradient of primitive variables at point j.
 
CMatrixView< const su2double > PsiVar_Grad_i
 Gradient of adjoint variables at point i.
 
CMatrixView< const su2double > PsiVar_Grad_j
 Gradient of adjoint variables at point j.
 
CMatrixView< const su2double > ScalarVar_Grad_i
 Gradient of scalar variables at point i.
 
CMatrixView< const su2double > ScalarVar_Grad_j
 Gradient of scalar variables at point j.
 
CMatrixView< const su2double > TransVar_Grad_i
 Gradient of turbulent variables at point i.
 
CMatrixView< const su2double > TransVar_Grad_j
 Gradient of turbulent variables at point j.
 
CMatrixView< const su2double > TurbPsi_Grad_i
 Gradient of adjoint turbulent variables at point i.
 
CMatrixView< const su2double > TurbPsi_Grad_j
 Gradient of adjoint turbulent variables at point j.
 
CMatrixView< const su2double > AuxVar_Grad_i
 Gradient of an auxiliary variable at point i.
 
CMatrixView< const su2double > AuxVar_Grad_j
 Gradient of an auxiliary variable at point i.
 
su2double LocalGridLength_i
 Local grid length at point i.
 
const su2double * RadVar_Source
 Source term from the radiative heat transfer equation.
 
const su2double * Coord_i
 Cartesians coordinates of point i.
 
const su2double * Coord_j
 Cartesians coordinates of point j.
 
unsigned short Neighbor_i
 Number of neighbors of the point i.
 
unsigned short Neighbor_j
 Number of neighbors of the point j.
 
const su2double * Normal = nullptr
 Normal vector, its norm is the area of the face.
 
su2double UnitNormal [MAXNDIM] = {0.0}
 Unitary normal vector.
 
su2double TimeStep
 Time step useful in dual time method.
 
su2double Area
 Area of the face i-j.
 
su2double Volume
 Volume of the control volume around point i.
 
su2double AvgVolume
 Average of the control Volume around point i for vorticity confinement parameter correction.
 
su2double vel2_inf
 value of the square of freestream speed.
 
const su2double * WindGust_i
 Wind gust at point i.
 
const su2double * WindGust_j
 Wind gust at point j.
 
const su2double * Vorticity_i
 
const su2double * Vorticity_j
 Vorticity.
 
su2double StrainMag_i
 
su2double StrainMag_j
 Strain rate magnitude.
 
su2double Dissipation_i
 
su2double Dissipation_j
 Dissipation.
 
su2double Dissipation_ij
 
su2double roughness_i = 0.0
 Roughness of the wall nearest to point i.
 
su2double roughness_j = 0.0
 Roughness of the wall nearest to point j.
 
su2double MeanPerturbedRSM [3][3]
 Perturbed Reynolds stress tensor

 
su2double stochReynStress [3][3] = {{0.0}}
 Stochastic contribution to Reynolds stress tensor for Backscatter Model.
 
su2double stochSource [3] = {0.0}
 Source term for Langevin equations in Stochastic Backscatter Model.
 
su2double stochVar_i [3] = {0.0}
 Stochastic variables at point i for Stochastic Backscatter Model.
 
su2double stochVar_j [3] = {0.0}
 Stochastic variables at point j for Stochastic Backscatter Model.
 
su2double lesMode_i = 0.0
 LES sensor at point i for hybrid RANS-LES methods.
 
su2double lesMode_j = 0.0
 LES sensor at point j for hybrid RANS-LES methods.
 
int8_t sbsInBox_i = 0
 Sensor to assess if point i lies inside the box where the Stochastic Backscatter Model is active.
 
SST_ParsedOptions sstParsedOptions
 additional options for the SST turbulence model
 
unsigned short Eig_Val_Comp
 Component towards which perturbation is perfromed.
 
su2double uq_delta_b
 Magnitude of perturbation.
 
su2double uq_urlx
 Under-relaxation factor for numerical stability.
 
bool uq_permute
 Flag for eigenvector permutation.
 
bool nemo
 Flag for NEMO problems

 
bool energy_multicomponent = false
 Flag for multicomponent and reacting flow

 
bool bounded_scalar = false
 Flag for bounded scalar problem.
 

Static Protected Attributes

static constexpr size_t MAXNDIM = 3
 Max number of space dimensions, used in some static arrays.
 

Detailed Description

Class for defining the numerical methods.

Author
F. Palacios, T. Economon

Constructor & Destructor Documentation

◆ CNumerics() [1/2]

CNumerics::CNumerics ( void  )

Constructor of the class.

◆ CNumerics() [2/2]

CNumerics::CNumerics ( unsigned short  val_nDim,
unsigned short  val_nVar,
const CConfig *  config 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_nDim- Number of dimensions of the problem.
[in]val_nVar- Number of variables of the problem.
[in]config- Definition of the particular problem.

◆ ~CNumerics()

CNumerics::~CNumerics ( void  )
virtual

Destructor of the class.

Member Function Documentation

◆ AddQCR()

template<class Mat1 , class Mat2 , class Scalar2 >
static void CNumerics::AddQCR ( size_t  nDim,
const Mat1 &  gradvel,
Mat2 &  tau,
Scalar2  turb_fraction 
)
inlinestatic

Add a correction using a Quadratic Constitutive Relation to the stress tensor.

See: Spalart, P. R., "Strategies for Turbulence Modelling and Simulation", International Journal of Heat and Fluid Flow, Vol. 21, 2000, pp. 252-263

The QCR correction applies to the turbulent (Boussinesq) stresses only. When tau is the total (laminar + turbulent) stress tensor, which is proportional to the total viscosity, the turbulent part is recovered by scaling the correction with turb_fraction = mu_t / (mu_l + mu_t); at a no-slip wall (mu_t = 0) the correction vanishes. Pass 1 only if tau is already the turbulent stress tensor.

Parameters
[in]nDim2D or 3D.
[in]gradvelVelocity gradients.
[in,out]tauShear stress tensor.
[in]turb_fractionTurbulent share of the viscosity in tau.

◆ CheckResidualNaNs()

static bool CNumerics::CheckResidualNaNs ( bool  implicit,
int  nVar,
const ResidualType<>  residual 
)
inlinestatic

Check if residual constains a NaN value.

Parameters
[in]config- Definition of the particular problem.
[in]val_residual- residual of the numeric function.
[out]ERR- Presencse of NaN in vector

◆ Compute_Averaged_NodalStress()

virtual su2double CNumerics::Compute_Averaged_NodalStress ( CElement *  element_container,
const CConfig *  config 
)
inlinevirtual

A virtual member to compute the averaged nodal stresses.

Parameters
[in]element_container- Element structure for the particular element integrated.

Reimplemented in CFEALinearElasticity, CFEANonlinearElasticity, and CFEAElasticity.

◆ Compute_Body_Forces()

virtual void CNumerics::Compute_Body_Forces ( CElement *  element_container,
const CConfig *  config 
)
inlinevirtual

A virtual member to compute the residual component due to body forces.

Parameters
[in]element_container- Element structure for the particular element integrated.

Reimplemented in CFEAElasticity.

◆ Compute_Mass_Matrix()

virtual void CNumerics::Compute_Mass_Matrix ( CElement *  element_container,
const CConfig *  config 
)
inlinevirtual

A virtual member to compute the mass matrix.

Parameters
[in]element_container- Element structure for the particular element integrated.

Reimplemented in CFEAElasticity.

◆ Compute_NodalStress_Term()

virtual void CNumerics::Compute_NodalStress_Term ( CElement *  element_container,
const CConfig *  config 
)
inlinevirtual

A virtual member to compute the nodal stress term in non-linear structural problems.

Parameters
[in]element_container- Definition of the particular element integrated.

Reimplemented in CFEANonlinearElasticity.

◆ Compute_Tangent_Matrix()

virtual void CNumerics::Compute_Tangent_Matrix ( CElement *  element_container,
const CConfig *  config 
)
inlinevirtual

A virtual member to compute the tangent matrix in structural problems.

Parameters
[in]element_container- Element structure for the particular element integrated.

Reimplemented in CFEALinearElasticity, CFEANonlinearElasticity, CGradSmoothing, and CFEAElasticity.

◆ ComputeAxisymmetric()

virtual ResidualType CNumerics::ComputeAxisymmetric ( const CConfig *  config)
inlinevirtual

Residual for source term integration.

Parameters
[out]val_residual- Pointer to the source residual containing chemistry terms.
[in]config- Definition of the particular problem.

Reimplemented in CSource_NEMO.

◆ ComputeChemistry()

virtual ResidualType CNumerics::ComputeChemistry ( const CConfig *  config)
inlinevirtual

Calculation of the chemistry source term.

Parameters
[in]config- Definition of the particular problem.
[out]val_residual- residual of the source terms
[out]val_Jacobian_i- Jacobian of the source terms

Reimplemented in CSource_NEMO.

◆ ComputeMeanRateOfStrainMatrix()

template<class Mat1 , class Mat2 >
static void CNumerics::ComputeMeanRateOfStrainMatrix ( size_t  nDim,
Mat1 &  rateofstrain,
const Mat2 &  velgrad 
)
inlinestatic

Compute the mean rate of strain matrix.

The parameter primvargrad can be e.g. PrimVar_Grad_i or Mean_GradPrimVar.

Parameters
[in]nDim- 2 or 3
[out]rateofstrain- Rate of strain matrix
[in]velgrad- A velocity gradient matrix.
Template Parameters
Mat1- any type that supports the [][] interface
Mat2- any type that supports the [][] interface

◆ ComputePerturbedRSM()

template<class Mat1 , class Mat2 , class Scalar >
static void CNumerics::ComputePerturbedRSM ( size_t  nDim,
size_t  uq_eigval_comp,
bool  uq_permute,
su2double  uq_delta_b,
su2double  uq_urlx,
const Mat1 &  velgrad,
Scalar  density,
Scalar  viscosity,
Scalar  turb_ke,
Mat2 &  MeanPerturbedRSM 
)
inlinestatic

Perturb the Reynolds stress tensor based on parameters.

Parameters
[in]nDim- Dimension of the flow problem, 2 or 3.
[in]uq_eigval_comp- Component 1C 2C 3C.
[in]uq_permute- Whether to swap order of eigen vectors.
[in]uq_delta_b- Delta_b parameter.
[in]uq_urlx- Relaxation factor.
[in]velgrad- A velocity gradient matrix.
[in]density- Density.
[in]viscosity- Eddy viscosity.
[in]turb_keTurbulent kinetic energy.
[out]MeanPerturbedRSM- Perturbed stress tensor.

◆ ComputeProjectedGradient()

template<class Vec1 , class Vec2 , class Mat >
static su2double CNumerics::ComputeProjectedGradient ( int  nDim,
int  nVar,
const Vec1 &  normal,
const Vec1 &  coord_i,
const Vec1 &  coord_j,
const Mat &  grad_i,
const Mat &  grad_j,
bool  correct,
const Vec2 &  var_i,
const Vec2 &  var_j,
su2double *  projNormal,
su2double *  projCorrected 
)
inlinestatic

Project average gradient onto normal (with or w/o correction) for viscous fluxes of scalar quantities.

Parameters
[in]nDim- Dimension of the flow problem, 2 or 3.
[in]nVar- Number of variables.
[in]normal- Area vector.
[in]coord_i- Coordinate of point i.
[in]coord_j- Coordinate of point j.
[in]grad_i- Gradient at point i.
[in]grad_j- Gradient at point j.
[in]correct- Correct
[in]var_i- Variable at point i.
[in]var_j- Variable at point j.
[out]projNormal- Average gradient projected on normal.
[out]projCorrected- Corrected gradient projected on normal.
Returns
(Edge_Vector DOT normal) / |Edge_Vector|^2.

◆ ComputeResidual() [1/7]

◆ ComputeResidual() [2/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_resconv,
su2double *  val_resvisc,
su2double **  val_Jacobian_i,
su2double **  val_Jacobian_j,
CConfig *  config 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[out]val_resconv- Pointer to the convective residual.
[out]val_resvisc- Pointer to the artificial viscosity residual.
[out]val_Jacobian_i- Jacobian of the numerical method at node i (implicit computation).
[out]val_Jacobian_j- Jacobian of the numerical method at node j (implicit computation).
[in]config- Definition of the particular problem.

◆ ComputeResidual() [3/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_resconv_i,
su2double *  val_resvisc_i,
su2double *  val_resconv_j,
su2double *  val_resvisc_j,
su2double **  val_Jacobian_ii,
su2double **  val_Jacobian_ij,
su2double **  val_Jacobian_ji,
su2double **  val_Jacobian_jj,
CConfig *  config 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[out]val_resconv_i- Pointer to the convective residual at point i.
[out]val_resvisc_i- Pointer to the artificial viscosity residual at point i.
[out]val_resconv_j- Pointer to the convective residual at point j.
[out]val_resvisc_j- Pointer to the artificial viscosity residual at point j.
[out]val_Jacobian_ii- Jacobian of the numerical method at node i (implicit computation) from node i.
[out]val_Jacobian_ij- Jacobian of the numerical method at node i (implicit computation) from node j.
[out]val_Jacobian_ji- Jacobian of the numerical method at node j (implicit computation) from node i.
[out]val_Jacobian_jj- Jacobian of the numerical method at node j (implicit computation) from node j.
[in]config- Definition of the particular problem.

Reimplemented in CCentLax_AdjFlow, and CCentJST_AdjFlow.

◆ ComputeResidual() [4/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_residual,
CConfig *  config 
)
inlinevirtual

Compute the numerical residual.

Parameters
[out]val_residual- Pointer to the total residual.
[in]config- Definition of the particular problem.

Reimplemented in CSourceConservative_AdjFlow, and CSourceViscous_AdjFlow.

◆ ComputeResidual() [5/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_residual,
su2double **  val_Jacobian_i,
CConfig *  config 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]config- Definition of the particular problem.
[out]val_residual- residual of the source terms
[out]val_Jacobian_i- Jacobian of the source terms

Reimplemented in CSourceAxisymmetric_AdjFlow, CSourceRotatingFrame_AdjFlow, CSourceP1, and CSource_Template.

◆ ComputeResidual() [6/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_residual,
su2double **  val_Jacobian_i,
su2double **  val_Jacobian_j,
CConfig *  config 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[out]val_residual- Pointer to the total residual.
[out]val_Jacobian_i- Jacobian of the numerical method at node i (implicit computation).
[out]val_Jacobian_j- Jacobian of the numerical method at node j (implicit computation).
[in]config- Definition of the particular problem.

Reimplemented in CAvgGradCorrected_P1, CUpwLin_AdjTurb, CAvgGrad_AdjTurb, CAvgGradCorrected_AdjTurb, CSourceConservative_AdjTurb, CSourcePieceWise_AdjTurb, CConvective_Template, and CViscous_Template.

◆ ComputeResidual() [7/7]

virtual void CNumerics::ComputeResidual ( su2double *  val_residual_i,
su2double *  val_residual_j,
su2double **  val_Jacobian_ii,
su2double **  val_Jacobian_ij,
su2double **  val_Jacobian_ji,
su2double **  val_Jacobian_jj,
CConfig *  config 
)
inlinevirtual

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[out]val_residual_i- Pointer to the total residual at point i.
[out]val_residual_j- Pointer to the total viscosity residual at point j.
[out]val_Jacobian_ii- Jacobian of the numerical method at node i (implicit computation) from node i.
[out]val_Jacobian_ij- Jacobian of the numerical method at node i (implicit computation) from node j.
[out]val_Jacobian_ji- Jacobian of the numerical method at node j (implicit computation) from node i.
[out]val_Jacobian_jj- Jacobian of the numerical method at node j (implicit computation) from node j.
[in]config- Definition of the particular problem.

Reimplemented in CUpwRoe_AdjFlow, CUpwSca_AdjTurb, CAvgGrad_AdjFlow, CAvgGradCorrected_AdjFlow, CAvgGrad_AdjTurb, and CAvgGradCorrected_AdjTurb.

◆ ComputeResidual_TransLM()

virtual void CNumerics::ComputeResidual_TransLM ( su2double *  val_residual,
su2double **  val_Jacobian_i,
su2double **  val_Jacobian_j,
CConfig *  config,
su2double &  gamma_sep 
)
inlinevirtual

Residual for transition problems.

Parameters
[out]val_residual- Pointer to the total residual.
[out]val_Jacobian_i- Jacobian of the numerical method at node i (implicit computation).
[out]val_Jacobian_j- Jacobian of the numerical method at node j (implicit computation).
[in]config- Definition of the particular problem.
[out]gamma_sep

◆ ComputeResJacobianGiles()

void CNumerics::ComputeResJacobianGiles ( CFluidModel *  FluidModel,
su2double  pressure,
su2double  density,
const su2double *  turboVel,
su2double  alphaInBC,
su2double  gammaInBC,
su2double **  R_c,
su2double **  R_c_inv 
)

Computation of the flow Residual Jacobian Matrix for Non Reflecting BC.

Parameters
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[out]R_c- Residual Jacoboan Matrix
[out]R_c_inv-inverse of the Residual Jacobian Matrix .

◆ ComputeStochRelaxFactor()

su2double CNumerics::ComputeStochRelaxFactor ( const CConfig *  config)
inline

Compute relaxation factor for stochastic source term in momentum equations (Stochastic Backscatter Model).

Parameters
[in]config- Definition of the particular problem.
[out]intensityCoeff- Relaxation factor for backscatter intensity.

◆ ComputeStochReynStress()

template<class Vec , class Mat >
void CNumerics::ComputeStochReynStress ( su2double  density,
su2double  tke,
const Vec &  rndVec,
su2double  Cmag,
Mat &  stochReynStress 
)
inline

Compute a random contribution to the Reynolds stress tensor (Stochastic Backscatter Model).

See: Kok, Johan C. "A stochastic backscatter model for grey-area mitigation in detached eddy simulations." Flow, Turbulence and Combustion 99.1 (2017): 119-150.

Parameters
[in]nDim- Dimension of the flow problem, 2 or 3.
[in]density- Density.
[in]tke- Turbulent kinetic energy.
[in]rndVec- Vector of stochastic variables from Langevin equations.
[in]Cmag- Stochastic backscatter intensity coefficient.
[out]stochReynStress- Stochastic tensor (to be added to the Reynolds stress tensor).

◆ ComputeStressTensor()

template<class Mat1 , class Mat2 , class Scalar >
static void CNumerics::ComputeStressTensor ( size_t  nDim,
Mat1 &  stress,
const Mat2 &  velgrad,
Scalar  viscosity,
Scalar  density = 0.0,
Scalar  turb_ke = 0.0,
bool  reynolds3x3 = false 
)
inlinestatic

Compute the stress tensor from the velocity gradients.

To obtain the Reynolds stress tensor +(u_i' u_j')~, divide the result of this function by (-rho). The argument density is only used if turb_ke is not 0. To select the velocity gradient components from a primitive variable gradient PrimVar_Grad_i, write PrimVar_Grad_i+1. If nDim==2, we use the same formula but only only access the entries [0][0]..[1][1] of stress and velgrad. If reynolds3x3 is true, the other non-diagonal entries of stress set to zero, and stress[2][2] to some value.

Parameters
[in]nDim- Dimension of the flow problem, 2 or 3
[out]stress- Stress tensor
[in]velgrad- A velocity gradient matrix.
[in]viscosity- Viscosity
[in]density- Density
[in]turb_ke- Turbulent kinetic energy, for the turbulent stress tensor
[in]reynolds3x3- If true, write to the third row and column of stress even if nDim==2.
Template Parameters
Mat1- any type that supports the [][] interface
Mat2- any type that supports the [][] interface

◆ ComputeVibRelaxation()

virtual ResidualType CNumerics::ComputeVibRelaxation ( const CConfig *  config)
inlinevirtual

Reimplemented in CSource_NEMO.

◆ CreateBasis()

void CNumerics::CreateBasis ( const su2double *  val_Normal,
su2double *  l,
su2double *  m 
)

Computes a basis of orthogonal vectors from a supplied vector.

Parameters
[in]config- Normal vector

◆ Get_DV_Val()

virtual su2double CNumerics::Get_DV_Val ( unsigned short  i_DV) const
inlinevirtual

A virtual member to retrieve the value of the design variables.

Parameters
[in]i_DV- Index of the design variable.

Reimplemented in CFEAElasticity.

◆ GetAdjViscousFlux_Jac()

void CNumerics::GetAdjViscousFlux_Jac ( su2double  Pressure_i,
su2double  Pressure_j,
su2double  Density_i,
su2double  Density_j,
su2double  ViscDens_i,
su2double  ViscDens_j,
const su2double *  Velocity_i,
const su2double *  Velocity_j,
su2double  sq_vel_i,
su2double  sq_vel_j,
su2double  XiDens_i,
su2double  XiDens_j,
su2double **  Mean_GradPhi,
const su2double *  Mean_GradPsiE,
su2double  dPhiE_dn,
const su2double *  Normal,
const su2double *  Edge_Vector,
su2double  dist_ij_2,
su2double *  val_residual_i,
su2double *  val_residual_j,
su2double **  val_Jacobian_ii,
su2double **  val_Jacobian_ij,
su2double **  val_Jacobian_ji,
su2double **  val_Jacobian_jj,
bool  implicit 
) const

Compute viscous residual and jacobian.

◆ GetBoundedScalar()

bool CNumerics::GetBoundedScalar ( ) const
inline

Obtain information on bounded scalar problem.

Returns
is_bounded_scalar : scalar solver uses bounded scalar convective transport

◆ GetCharJump()

void CNumerics::GetCharJump ( su2double  val_soundspeed,
su2double  val_density,
const su2double *  prim_jump,
su2double *  char_jump 
) const

Computation of the matrix R.

Parameters
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[in]prim_jump- pointer to the vector containing the primitive variable jump (drho, dV, dp).
[out]char_jump- pointer to the vector containing the characteristic variable jump.

◆ GetDissipation()

su2double CNumerics::GetDissipation ( ) const
inline

Get the final Roe dissipation factor.

◆ GetGammaBC()

virtual su2double CNumerics::GetGammaBC ( void  ) const
inlinevirtual

A virtual member.

◆ GetIntermittencyEff()

su2double CNumerics::GetIntermittencyEff ( ) const
inline

Get the value of the effective intermittency for the transition model.

Parameters
[in]intermittency_eff_i- Value of the effective intermittency at point i.

◆ GetInviscidIncProjFlux()

void CNumerics::GetInviscidIncProjFlux ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_pressure,
const su2double *  val_betainc2,
const su2double *  val_enthalpy,
const su2double *  val_normal,
su2double *  val_Proj_Flux 
) const

Compute the projected inviscid flux vector for incompresible simulations.

Parameters
[in]val_density- Pointer to the density.
[in]val_velocity- Pointer to the velocity.
[in]val_pressure- Pointer to the pressure.
[in]val_betainc2- Value of the artificial compresibility factor.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_Proj_Flux- Pointer to the projected flux.

◆ GetInviscidIncProjJac() [1/2]

void CNumerics::GetInviscidIncProjJac ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_betainc2,
const su2double *  val_enthalpy,
const su2double *  val_dRhodh,
const su2double *  val_normal,
su2double  val_scale,
su2double **  val_Proj_Jac_Tensor 
) const

Compute the projection of the inviscid Jacobian matrices (overload for low speed preconditioner version).

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Pointer to the velocity.
[in]val_betainc2- Value of the artificial compresibility factor.
[in]val_enthalpy- Value of the enthalpy.
[in]val_dRhodh- Value of the derivative of density w.r.t. enthalpy.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[in]val_scale- Scale of the projection.
[out]val_Proj_Jac_tensor- Pointer to the projected inviscid Jacobian.

◆ GetInviscidIncProjJac() [2/2]

void CNumerics::GetInviscidIncProjJac ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_betainc2,
const su2double *  val_normal,
su2double  val_scale,
su2double **  val_Proj_Jac_tensor 
)

Compute the projection of the inviscid Jacobian matrices (incompressible).

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Pointer to the velocity.
[in]val_betainc2- Value of the artificial compresibility factor.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[in]val_scale- Scale of the projection.
[out]val_Proj_Jac_tensor- Pointer to the projected inviscid Jacobian.

◆ GetInviscidProjFlux()

void CNumerics::GetInviscidProjFlux ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_pressure,
const su2double *  val_enthalpy,
const su2double *  val_normal,
su2double *  val_Proj_Flux 
) const

Compute the projected inviscid flux vector.

Parameters
[in]val_density- Pointer to the density.
[in]val_velocity- Pointer to the velocity.
[in]val_pressure- Pointer to the pressure.
[in]val_enthalpy- Pointer to the enthalpy.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_Proj_Flux- Pointer to the projected flux.

◆ GetInviscidProjJac() [1/2]

void CNumerics::GetInviscidProjJac ( const su2double *  val_velocity,
const su2double *  val_energy,
const su2double *  val_normal,
su2double  val_scale,
su2double **  val_Proj_Jac_tensor 
) const

Compute the projection of the inviscid Jacobian matrices.

Parameters
[in]val_velocityPointer to the velocity.
[in]val_energyValue of the energy.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[in]val_scale- Scale of the projection.
[out]val_Proj_Jac_tensor- Pointer to the projected inviscid Jacobian.

◆ GetInviscidProjJac() [2/2]

void CNumerics::GetInviscidProjJac ( const su2double *  val_velocity,
const su2double *  val_enthalphy,
const su2double *  val_chi,
const su2double *  val_kappa,
const su2double *  val_normal,
su2double  val_scale,
su2double **  val_Proj_Jac_tensor 
) const

Compute the projection of the inviscid Jacobian matrices for general fluid model.

Parameters
[in]val_velocityPointer to the velocity.
[in]val_energyValue of the energy.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[in]val_scale- Scale of the projection.
[out]val_Proj_Jac_tensor- Pointer to the projected inviscid Jacobian.

◆ GetinvRinvPe()

void CNumerics::GetinvRinvPe ( su2double  Beta2,
su2double  val_enthalpy,
su2double  val_soundspeed,
su2double  val_density,
const su2double *  val_velocity,
su2double **  val_invR_invPe 
) const

Computation of the matrix Rinv*Pe.

Parameters
[in]Beta2- A variable in used to define Pe matrix.
[in]val_enthalpy- value of the enthalpy.
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[in]val_velocity- value of the velocity.
[out]val_invR_invPe- Pointer to the matrix of conversion from entropic to conserved variables.

◆ GetJacInviscidLambda_fabs()

void CNumerics::GetJacInviscidLambda_fabs ( const su2double *  val_velocity,
su2double  val_soundspeed,
const su2double *  val_normal,
su2double *  val_Lambda_Vector 
) const

Computation of the projected inviscid lambda (eingenvalues).

Parameters
[in]val_velocity- Value of the velocity.
[in]val_soundspeed- Value of the sound speed.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[in]val_Lambda_Vector- Pointer to Lambda matrix.

◆ GetLMatrix()

void CNumerics::GetLMatrix ( su2double  val_soundspeed,
su2double  val_density,
su2double **  L_Matrix 
) const

Computation of the matrix R.

Parameters
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[out]L_Matrix- Pointer to the matrix of conversion from conserved to entropic variables.

◆ GetPMatrix() [1/2]

template<typename Matrix >
void CNumerics::GetPMatrix ( const su2double &  density,
const su2double *  velocity,
const su2double &  soundspeed,
const su2double *  normal,
Matrix &  p_tensor 
) const
inline

Computation of the matrix P, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.

Parameters
[in]density- Value of the density.
[in]velocity- Velocity vector.
[in]soundspeed- Value of the sound speed.
[in]normal- Normal vector, the norm of the vector is the area of the face.
[out]p_tensor- P matrix.

◆ GetPMatrix() [2/2]

void CNumerics::GetPMatrix ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_soundspeed,
const su2double *  val_enthalpy,
const su2double *  val_chi,
const su2double *  val_kappa,
const su2double *  val_normal,
su2double **  val_p_tensor 
) const

Computation of the matrix P for a generic fluid model.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Value of the velocity.
[in]val_soundspeed- Value of the sound speed.
[in]val_enthalpy- Value of the Enthalpy
[in]val_chi- Value of the derivative of Pressure with respect to the Density.
[in]val_kappa- Value of the derivative of Pressure with respect to the volume specific Static Energy.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_p_tensor- Pointer to the P matrix.

◆ GetPMatrix_inv() [1/2]

template<typename Matrix >
void CNumerics::GetPMatrix_inv ( const su2double &  density,
const su2double *  velocity,
const su2double &  soundspeed,
const su2double *  normal,
Matrix &  inv_p_tensor 
) const
inline

Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.

Parameters
[in]density- Value of the density.
[in]velocity- Velocity vector.
[in]soundspeed- Value of the sound speed.
[in]normal- Normal vector, the norm of the vector is the area of the face.
[out]inv_p_tensor- Pointer to inverse of the P matrix.

◆ GetPMatrix_inv() [2/2]

void CNumerics::GetPMatrix_inv ( su2double **  val_invp_tensor,
const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_soundspeed,
const su2double *  val_chi,
const su2double *  val_kappa,
const su2double *  val_normal 
) const

Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$.

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Value of the velocity.
[in]val_soundspeed- Value of the sound speed.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_invp_tensor- Pointer to inverse of the P matrix.

◆ GetPreconditionedProjJac()

void CNumerics::GetPreconditionedProjJac ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_betainc2,
const su2double *  val_normal,
su2double **  val_Proj_Jac_Tensor 
) const

Compute the projection of the preconditioned inviscid Jacobian matrices.

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Pointer to the velocity.
[in]val_betainc2- Value of the artificial compresibility factor.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_Proj_Jac_tensor- Pointer to the projected inviscid Jacobian.

◆ GetPreconditioner()

void CNumerics::GetPreconditioner ( const su2double *  val_density,
const su2double *  val_velocity,
const su2double *  val_betainc2,
const su2double *  val_enthalpy,
const su2double *  val_drhodh,
su2double **  val_Precon 
) const

Compute the low speed preconditioning matrix.

Parameters
[in]val_density- Value of the density.
[in]val_velocity- Pointer to the velocity.
[in]val_betainc2- Value of the artificial compresibility factor.
[in]val_enthalpy- Value of the enthalpy.
[in]val_dRhodh- Value of the derivative of density w.r.t. enthalpy.
[out]val_Precon- Pointer to the preconditioning matrix.

◆ GetPrecondJacobian()

void CNumerics::GetPrecondJacobian ( su2double  Beta2,
su2double  r_hat,
su2double  s_hat,
su2double  t_hat,
su2double  rB2a2,
const su2double *  val_Lambda,
const su2double *  val_normal,
su2double **  val_absPeJac 
) const

Computation of the matrix Td, this matrix diagonalize the preconditioned conservative Jacobians in the form $Tg |Lambda| Td = Pc{-1}|Pc (A.Normal)|$.

Parameters
[in]Beta2- A variable in used to define absPeJacobian matrix.
[in]r_hat- A variable in used to define absPeJacobian matrix.
[in]s_hat- A variable in used to define absPeJacobian matrix.
[in]t_hat- A variable in used to define absPeJacobian matrix.
[in]rB2a2- A variable in used to define absPeJacobian matrix.
[in]val_Lambda- Eigenvalues of the Preconditioned Jacobian.
[in]val_normal- Normal vector, the norm of the vector is the area of the face.
[out]val_absPeJac- Pointer to the Preconditioned Jacobian matrix.

◆ GetPrimitive2Conservative()

void CNumerics::GetPrimitive2Conservative ( const su2double *  val_Mean_PrimVar,
const su2double *  val_Mean_SecVar,
su2double **  val_Jac_PC 
) const

Mapping between primitives variables P and conservatives variables C.

Parameters
[in]val_Mean_PrimVar- Mean value of the primitive variables.
[in]val_Mean_PrimVar- Mean Value of the secondary variables.
[out]val_Jac_PC- Pointer to the Jacobian dPdC.

◆ GetRMatrix() [1/2]

void CNumerics::GetRMatrix ( su2double  val_pressure,
su2double  val_soundspeed,
su2double  val_density,
const su2double *  val_velocity,
su2double **  val_invR_invPe 
) const

Computation of the matrix R.

Parameters
[in]val_pressure- value of the pressure.
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[in]val_velocity- value of the velocity.
[out]val_invR_invPe- Pointer to the matrix of conversion from entropic to conserved variables.

◆ GetRMatrix() [2/2]

void CNumerics::GetRMatrix ( su2double  val_soundspeed,
su2double  val_density,
su2double **  R_Matrix 
) const

Computation of the matrix R.

Parameters
[in]val_soundspeed- value of the sound speed.
[in]val_density- value of the density.
[out]R_Matrix- Pointer to the matrix of conversion from entropic to conserved variables.

◆ GetRoe_Dissipation()

su2double CNumerics::GetRoe_Dissipation ( const su2double  Dissipation_i,
const su2double  Dissipation_j,
const su2double  Sensor_i,
const su2double  Sensor_j,
const CConfig *  config 
) const

  • Calculate the central/upwind blending function for a face

At its simplest level, this function will calculate the average value of the "Roe dissipation" or central/upwind blending function at a face. If Ducros shock sensors are used, then this method will also adjust the central/upwind blending to account for shocks.

Parameters
[in]Dissipation_i- Value of the blending function at point i
[in]Dissipation_j- Value of the bledning function at point j
[in]Sensor_i- Shock sensor at point i
[in]Sensor_j- Shock sensor at point j
[in]config- The configuration of the problem
Returns
Dissipation_ij - Blending parameter at face

◆ InvMatrix3D()

void CNumerics::InvMatrix3D ( su2double **  matrix,
su2double **  invMatrix 
)

Computate the inverse of a 3x3 matrix.

Parameters
[in]matrix- the matrix to invert
[out]invMatrix- inverse matrix.

◆ InvMatrix4D()

void CNumerics::InvMatrix4D ( su2double **  matrix,
su2double **  invMatrix 
)

Computate the inverse of a 4x4 matrix.

Parameters
[in]matrix- the matrix to invert
[out]invMatrix- inverse matrix.

◆ Set_DV_Val()

virtual void CNumerics::Set_DV_Val ( unsigned short  i_DV,
su2double  val_DV 
)
inlinevirtual

A virtual member to set the value of the design variables.

Parameters
[in]i_DV- Index of the design variable.
[in]val_DV- Value of the design variable

Reimplemented in CFEAElasticity.

◆ Set_ElectricField()

virtual void CNumerics::Set_ElectricField ( unsigned short  i_DV,
su2double  val_EField 
)
inlinevirtual

A virtual member to set the electric field.

Parameters
[in]EField_DV- New electric field computed by adjoint methods.

Reimplemented in CFEANonlinearElasticity, and CFEAElasticity.

◆ SetAdjointVar()

void CNumerics::SetAdjointVar ( const su2double *  val_psi_i,
const su2double *  val_psi_j 
)
inline

Set the value of the adjoint variable.

Parameters
[in]val_psi_i- Value of the adjoint variable at point i.
[in]val_psi_j- Value of the adjoint variable at point j.

◆ SetAdjointVarGradient()

void CNumerics::SetAdjointVarGradient ( CMatrixView< const su2double >  val_psivar_grad_i,
CMatrixView< const su2double >  val_psivar_grad_j 
)
inline

Set the gradient of the adjoint variables.

Parameters
[in]val_psivar_grad_i- Gradient of the adjoint variable at point i.
[in]val_psivar_grad_j- Gradient of the adjoint variable at point j.

◆ SetAuxVarGrad()

void CNumerics::SetAuxVarGrad ( CMatrixView< const su2double >  val_auxvar_grad_i,
CMatrixView< const su2double >  val_auxvar_grad_j 
)
inline

Set the gradient of the auxiliary variables.

Parameters
[in]val_auxvar_grad_i- Gradient of the auxiliary variable at point i.
[in]val_auxvar_grad_j- Gradient of the auxiliary variable at point j.

◆ SetAvgVolume()

void CNumerics::SetAvgVolume ( su2double  val_avgvolume)
inline

Set the value of AvgVolume Variable.

Parameters
[in]val_avgvolumeAvgVolume Variable.

◆ SetBetaInc2()

void CNumerics::SetBetaInc2 ( su2double  val_betainc2_i,
su2double  val_betainc2_j 
)
inline

Set the value of the beta for incompressible flows.

Parameters
[in]val_betainc2_i- Value of beta for incompressible flows at point i.
[in]val_betainc2_j- Value of beta for incompressible flows at point j.

◆ SetConservative()

void CNumerics::SetConservative ( const su2double *  val_u_i,
const su2double *  val_u_j 
)
inline

Set the value of the conservative variables.

Parameters
[in]val_u_i- Value of the conservative variable at point i.
[in]val_u_j- Value of the conservative variable at point j.

◆ SetConsVarGradient() [1/2]

void CNumerics::SetConsVarGradient ( CMatrixView< const su2double >  val_consvar_grad)
inline

Set the gradient of the conservative variables.

Parameters
[in]val_consvar_grad- Gradient of the conservative variable which is a scalar.

◆ SetConsVarGradient() [2/2]

void CNumerics::SetConsVarGradient ( CMatrixView< const su2double >  val_consvar_grad_i,
CMatrixView< const su2double >  val_consvar_grad_j 
)
inline

Set the gradient of the conservative variables.

Parameters
[in]val_consvar_grad_i- Gradient of the conservative variable at point i.
[in]val_consvar_grad_j- Gradient of the conservative variable at point j.

◆ SetCoord()

void CNumerics::SetCoord ( const su2double *  val_coord_i,
const su2double *  val_coord_j 
)
inline

Set coordinates of the points.

Parameters
[in]val_coord_i- Coordinates of the point i.
[in]val_coord_j- Coordinates of the point j.

◆ SetCrossDiff()

virtual void CNumerics::SetCrossDiff ( su2double  val_CDkw_i)
inlinevirtual

Set the value of the cross diffusion for the SST model.

Parameters
[in]val_CDkw_i- Value of the cross diffusion at point i.

Reimplemented in CSourcePieceWise_TurbSST< FlowIndices >.

◆ SetCvve()

virtual void CNumerics::SetCvve ( su2double *  val_Cvve_i,
su2double *  val_Cvve_j 
)
inlinevirtual

Set the vib-elec specific heat.

Parameters
[in]val_Cvve_i- Cvve at i.
[in]val_Cvve_j- Cvve at j.

Reimplemented in CNEMONumerics.

◆ SetDensity()

void CNumerics::SetDensity ( su2double  val_densityinc_i,
su2double  val_densityinc_j 
)
inline

Set the value of the density for the incompressible solver.

Parameters
[in]val_densityinc_i- Value of the pressure at point i.
[in]val_densityinc_j- Value of the pressure at point j.

◆ SetDiffusionCoeff()

void CNumerics::SetDiffusionCoeff ( const su2double *  val_diffusioncoeff_i,
const su2double *  val_diffusioncoeff_j 
)
inline

Set the diffusion coefficient.

Parameters
[in]val_diffusioncoeff_i- Value of the diffusion coefficients at i.
[in]val_diffusioncoeff_j- Value of the diffusion coefficients at j

◆ SetDissipation()

void CNumerics::SetDissipation ( su2double  diss_i,
su2double  diss_j 
)
inline

Sets the values of the roe dissipation.

Parameters
[in]diss_i- Dissipation value at node i
[in]diss_j- Dissipation value at node j

◆ SetDistance()

void CNumerics::SetDistance ( su2double  val_dist_i,
su2double  val_dist_j 
)
inline

Set the value of the distance from the nearest wall.

Parameters
[in]val_dist_i- Value of of the distance from point i to the nearest wall.
[in]val_dist_j- Value of of the distance from point j to the nearest wall.

◆ SetdPdU()

virtual void CNumerics::SetdPdU ( su2double *  val_dPdU_i,
su2double *  val_dPdU_j 
)
inlinevirtual

Set the pressure derivatives.

Parameters
[in]val_dPdU_i- pressure derivatives at i.
[in]val_dPdU_j- pressure derivatives at j.

Reimplemented in CNEMONumerics.

◆ SetdTdU()

virtual void CNumerics::SetdTdU ( su2double *  val_dTdU_i,
su2double *  val_dTdU_j 
)
inlinevirtual

Set the temperature derivatives.

Parameters
[in]val_dTdU_i- temperature derivatives at i.
[in]val_dTdU_j- temperature derivatives at j.

Reimplemented in CNEMONumerics.

◆ SetdTvedU()

virtual void CNumerics::SetdTvedU ( su2double *  val_dTvedU_i,
su2double *  val_dTvedU_j 
)
inlinevirtual

Set the vib-el temperture derivatives.

Parameters
[in]val_dTvedU_i- t_ve derivatives at i.
[in]val_dTvedU_j- t_ve derivatives at j.

Reimplemented in CNEMONumerics.

◆ SetEddyViscosity()

void CNumerics::SetEddyViscosity ( su2double  val_eddy_viscosity_i,
su2double  val_eddy_viscosity_j 
)
inline

Set the eddy viscosity.

Parameters
[in]val_eddy_viscosity_i- Value of the eddy viscosity at point i.
[in]val_eddy_viscosity_j- Value of the eddy viscosity at point j.

◆ SetEnthalpy()

void CNumerics::SetEnthalpy ( su2double  val_enthalpy_i,
su2double  val_enthalpy_j 
)
inline

Set the value of the enthalpy.

Parameters
[in]val_enthalpy_i- Value of the enthalpy at point i.
[in]val_enthalpy_j- Value of the enthalpy at point j.

◆ SetEve()

virtual void CNumerics::SetEve ( su2double *  val_Eve_i,
su2double *  val_Eve_j 
)
inlinevirtual

Set the vib-elec energy.

Parameters
[in]val_Eve_i- vib-el energy at i.
[in]val_Eve_j- vib-el energy at j.

Reimplemented in CNEMONumerics.

◆ SetF1blending()

virtual void CNumerics::SetF1blending ( su2double  val_F1_i,
su2double  val_F1_j 
)
inlinevirtual

Set the value of the first blending function.

Parameters
[in]val_F1_i- Value of the first Menter blending function at point i.
[in]val_F1_j- Value of the first Menter blending function at point j.

Reimplemented in CSourcePieceWise_TurbSST< FlowIndices >.

◆ SetF2blending()

virtual void CNumerics::SetF2blending ( su2double  val_F2_i)
inlinevirtual

Set the value of the second blending function.

Parameters
[in]val_F2_i- Value of the second Menter blending function at point i.

Reimplemented in CSourcePieceWise_TurbSST< FlowIndices >.

◆ SetGamma()

virtual void CNumerics::SetGamma ( su2double  val_Gamma_i,
su2double  val_Gamma_j 
)
inlinevirtual

Set the ratio of specific heats.

Parameters
[in]val_Gamma_i- Gamma at i.
[in]val_Gamma_j- Gamma at j.

Reimplemented in CNEMONumerics.

◆ SetGridVel()

void CNumerics::SetGridVel ( const su2double *  val_gridvel_i,
const su2double *  val_gridvel_j 
)
inline

Set the velocity of the computational grid.

Parameters
[in]val_gridvel_i- Grid velocity of the point i.
[in]val_gridvel_j- Grid velocity of the point j.

◆ SetHeatFluxDiffusion()

void CNumerics::SetHeatFluxDiffusion ( su2double  val_heatfluxdiffusion)
inline

Set the heat flux due to enthalpy diffusion.

Parameters
[in]val_heatfluxdiffusion- Value of the heat flux due to enthalpy diffusion.

◆ SetIntermittency()

void CNumerics::SetIntermittency ( su2double  val_intermittency_i)
inline

Set the value of the intermittency for the LM model.

Parameters
[in]intermittency_i- Value of the intermittency at point i.

◆ SetIntermittencyEff()

void CNumerics::SetIntermittencyEff ( su2double  val_intermittency_eff_i)
inline

Set the value of the effective intermittency for the LM model.

Parameters
[in]intermittency_eff_i- Value of the effective intermittency at point i.

◆ SetJacHeatFluxDiffusion()

void CNumerics::SetJacHeatFluxDiffusion ( su2double  val_jacheatfluxdiffusion)
inline

Set Jacobian of the heat flux due to enthalpy diffusion.

Parameters
[in]val_jacheatfluxdiffusion- Value of the heat flux jacobian due to enthalpy diffusion.

◆ SetLambda()

void CNumerics::SetLambda ( su2double  val_lambda_i,
su2double  val_lambda_j 
)
inline

Set the value of the spectral radius.

Parameters
[in]val_lambda_i- Value of the spectral radius at point i.
[in]val_lambda_j- Value of the spectral radius at point j.

◆ SetLaminarViscosity()

void CNumerics::SetLaminarViscosity ( su2double  val_laminar_viscosity_i,
su2double  val_laminar_viscosity_j 
)
inline

Set the laminar viscosity.

Parameters
[in]val_laminar_viscosity_i- Value of the laminar viscosity at point i.
[in]val_laminar_viscosity_j- Value of the laminar viscosity at point j.

◆ SetLES_Mode()

void CNumerics::SetLES_Mode ( su2double  val_lesMode_i,
su2double  val_lesMode_j 
)
inline

Set the LES sensor for hybrid RANS-LES methods.

Parameters
[in]val_lesMode_i- Value of the LES sensor at point i.
[in]val_lesMode_j- Value of the LES sensor at point j.

◆ SetLocalGridLength()

void CNumerics::SetLocalGridLength ( const su2double  val_localGridLength_i)
inline

Set the value of the turbulent variable.

Parameters
[in]val_transvar_i- Value of the turbulent variable at point i.

◆ SetMassFlux()

void CNumerics::SetMassFlux ( const su2double  val_MassFlux)
inline

SetMassFlux.

Parameters
[in]val_MassFluxMass flux across the edge

◆ SetMaterial_Density()

virtual void CNumerics::SetMaterial_Density ( unsigned short  iVal,
su2double  val_Rho,
su2double  val_Rho_DL 
)
inlinevirtual

A virtual member to set the material properties.

Parameters
[in]iVal- Index of the region of concern
[in]val_Rho- Value of the density (inertial effects).
[in]val_Rho_DL- Value of the density (dead load effects).

Reimplemented in CFEAElasticity.

◆ SetMaterial_Properties()

virtual void CNumerics::SetMaterial_Properties ( unsigned short  iVal,
su2double  val_E,
su2double  val_Nu 
)
inlinevirtual

A virtual member to set the material properties.

Parameters
[in]iVal- Index of the region of concern
[in]val_E- Value of the Young Modulus.
[in]val_Nu- Value of the Poisson's ratio.

Reimplemented in CFEAElasticity.

◆ SetMeshElasticProperties()

virtual void CNumerics::SetMeshElasticProperties ( unsigned long  iElem,
su2double  val_E 
)
inlinevirtual

Set the element-based local Young's modulus in mesh problems.

Parameters
[in]iElem- Element index.
[in]val_E- Value of elasticity modulus.

Reimplemented in CFEAElasticity, and CFEAMeshElasticity.

◆ SetNeighbor()

void CNumerics::SetNeighbor ( unsigned short  val_neighbor_i,
unsigned short  val_neighbor_j 
)
inline

Set the number of neighbor to a point.

Parameters
[in]val_neighbor_i- Number of neighbor to point i.
[in]val_neighbor_j- Number of neighbor to point j.

◆ SetNormal()

void CNumerics::SetNormal ( const su2double *  val_normal)
inline

Set the value of the normal vector to the face between two points.

Parameters
[in]val_normal- Normal vector, the norm of the vector is the area of the face.

◆ SetPressure()

void CNumerics::SetPressure ( su2double  val_pressure_i,
su2double  val_pressure_j 
)
inline

Set the value of the pressure.

Parameters
[in]val_pressure_i- Value of the pressure at point i.
[in]val_pressure_j- Value of the pressure at point j.

◆ SetPrimitive()

void CNumerics::SetPrimitive ( const su2double *  val_v_i,
const su2double *  val_v_j 
)
inline

Set the value of the primitive variables.

Parameters
[in]val_v_i- Value of the primitive variable at point i.
[in]val_v_j- Value of the primitive variable at point j.

◆ SetPrimVarGradient()

void CNumerics::SetPrimVarGradient ( CMatrixView< const su2double >  val_primvar_grad_i,
CMatrixView< const su2double >  val_primvar_grad_j 
)
inline

Set the gradient of the primitive variables.

Parameters
[in]val_primvar_grad_i- Gradient of the primitive variable at point i.
[in]val_primvar_grad_j- Gradient of the primitive variable at point j.

◆ SetRadVar()

virtual void CNumerics::SetRadVar ( const su2double *  val_radvar_i,
const su2double *  val_radvar_j 
)
inlinevirtual

Set the value of the radiation variable.

Parameters
[in]val_radvar_i- Value of the turbulent variable at point i.
[in]val_radvar_j- Value of the turbulent variable at point j.

Reimplemented in CNumericsRadiation.

◆ SetRadVarGradient()

virtual void CNumerics::SetRadVarGradient ( CMatrixView< const su2double >  val_radvar_grad_i,
CMatrixView< const su2double >  val_radvar_grad_j 
)
inlinevirtual

Set the gradient of the radiation variables.

Parameters
[in]val_radvar_grad_i- Gradient of the turbulent variable at point i.
[in]val_radvar_grad_j- Gradient of the turbulent variable at point j.

Reimplemented in CNumericsRadiation.

◆ SetRadVarSource()

void CNumerics::SetRadVarSource ( const su2double *  val_radvar_source)
inline

Set the gradient of the radiation variables.

Parameters
[in]val_radvar_source- Source term (and jacobian term) of the radiative heat transfer.

◆ SetRoughness()

void CNumerics::SetRoughness ( su2double  val_roughness_i,
su2double  val_roughness_j 
)
inline

Set the value of the roughness from the nearest wall.

Parameters
[in]val_dist_i- Value of of the roughness of the nearest wall from point i
[in]val_dist_j- Value of of the roughness of the nearest wall from point j

◆ SetSbsInBoxSensor()

void CNumerics::SetSbsInBoxSensor ( int8_t  val_sbsInBox_i)
inline

Set the sensor to locate the box where the Stochastic Backscatter Model is active.

Parameters
[in]val_sbsInBox_i- 1 if point i lies inside the box where the model is active.

◆ SetScalarVar()

void CNumerics::SetScalarVar ( const su2double *  val_scalarvar_i,
const su2double *  val_scalarvar_j 
)
inline

Set the value of the scalar variable.

Parameters
[in]val_scalarvar_i- Value of the scalar variable at point i.
[in]val_scalarvar_j- Value of the scalar variable at point j.

◆ SetScalarVarGradient()

void CNumerics::SetScalarVarGradient ( CMatrixView< const su2double >  val_scalarvar_grad_i,
CMatrixView< const su2double >  val_scalarvar_grad_j 
)
inline

Set the gradient of the scalar variables.

Parameters
[in]val_scalarvar_grad_i- Gradient of the scalar variable at point i.
[in]val_scalarvar_grad_j- Gradient of the scalar variable at point j.

◆ SetSecondary()

void CNumerics::SetSecondary ( const su2double *  val_s_i,
const su2double *  val_s_j 
)
inline

Set the value of the primitive variables.

Parameters
[in]val_v_i- Value of the primitive variable at point i.
[in]val_v_j- Value of the primitive variable at point j.

◆ SetSensor()

void CNumerics::SetSensor ( su2double  val_sensor_i,
su2double  val_sensor_j 
)
inline

Set the value of the pressure sensor.

Parameters
[in]val_sensor_iPressure sensor at point i.
[in]val_sensor_jPressure sensor at point j.

◆ SetSoundSpeed()

void CNumerics::SetSoundSpeed ( su2double  val_soundspeed_i,
su2double  val_soundspeed_j 
)
inline

Set the value of the sound speed.

Parameters
[in]val_soundspeed_i- Value of the sound speed at point i.
[in]val_soundspeed_j- Value of the sound speed at point j.

◆ SetSpecificHeat()

void CNumerics::SetSpecificHeat ( su2double  val_specific_heat_i,
su2double  val_specific_heat_j 
)
inline

Set the specifc heat c_p.

Parameters
[in]val_specific_heat_i- Value of the specific heat at point i.
[in]val_specific_heat_j- Value of the specific heat at point j.

◆ SetStochSource()

void CNumerics::SetStochSource ( su2double  val_stoch_source,
unsigned short  iDim 
)
inline

Set the stochastic source term for the Langevin equations (Backscatter Model).

Parameters
[in]val_stoch_source- Value of stochastic source term.
[in]iDim- Index of Langevin equation.

◆ SetStochVar()

void CNumerics::SetStochVar ( unsigned short  iDim,
su2double  val_stochvar_i,
su2double  val_stochvar_j 
)
inline

Set the stochastic variables from Langevin equations (Stochastic Backscatter Model).

Parameters
[in]val_stochvar_i- Value of the stochastic variable at point i.
[in]val_stochvar_j- Value of the stochastic variable at point j.
[in]iDim- Index of Langevin equation.

◆ SetStrainMag()

void CNumerics::SetStrainMag ( su2double  val_strainmag_i,
su2double  val_strainmag_j 
)
inline

Set the value of the rate of strain magnitude.

Parameters
[in]val_StrainMag_i- Value of the magnitude of rate of strain at point i.
[in]val_StrainMag_j- Value of the magnitude of rate of strain at point j.

◆ SetStreamwisePeriodicValues()

virtual void CNumerics::SetStreamwisePeriodicValues ( const StreamwisePeriodicValues  SolverSPvals)
inlinevirtual

Set massflow, heatflow & inlet temperature for streamwise periodic flow.

Parameters
[in]SolverSPvals- Struct holding the values.

Reimplemented in CSourceBase_Flow.

◆ SetTau_Wall()

virtual void CNumerics::SetTau_Wall ( su2double  val_tauwall_i,
su2double  val_tauwall_j 
)
inlinevirtual

Set the value of the Tauwall.

Parameters
[in]val_tauwall_i- Tauwall at point i
[in]val_tauwall_j- Tauwall at point j

Reimplemented in CAvgGrad_Base.

◆ SetThermalConductivity()

void CNumerics::SetThermalConductivity ( su2double  val_thermal_conductivity_i,
su2double  val_thermal_conductivity_j 
)
inline

Set the thermal conductivity (translational/rotational)

Parameters
[in]val_thermal_conductivity_i- Value of the thermal conductivity at point i.
[in]val_thermal_conductivity_j- Value of the thermal conductivity at point j.
[in]iSpecies- Value of the species.

◆ SetThermalConductivity_ve()

void CNumerics::SetThermalConductivity_ve ( su2double  val_thermal_conductivity_ve_i,
su2double  val_thermal_conductivity_ve_j 
)
inline

Set the thermal conductivity (translational/rotational)

Parameters
[in]val_thermal_conductivity_i- Value of the thermal conductivity at point i.
[in]val_thermal_conductivity_j- Value of the thermal conductivity at point j.
[in]iSpecies- Value of the species.

◆ SetTimeStep()

void CNumerics::SetTimeStep ( su2double  val_timestep)
inline

Set the time step.

Parameters
[in]val_timestep- Value of the time step.

◆ SetTransVar()

void CNumerics::SetTransVar ( const su2double *  val_transvar_i,
const su2double *  val_transvar_j 
)
inline

Set the value of the turbulent variable.

Parameters
[in]val_transvar_i- Value of the turbulent variable at point i.
[in]val_transvar_j- Value of the turbulent variable at point j.

◆ SetTransVarGradient()

void CNumerics::SetTransVarGradient ( CMatrixView< const su2double >  val_transvar_grad_i,
CMatrixView< const su2double >  val_transvar_grad_j 
)
inline

Set the gradient of the turbulent variables.

Parameters
[in]val_turbvar_grad_i- Gradient of the turbulent variable at point i.
[in]val_turbvar_grad_j- Gradient of the turbulent variable at point j.

◆ SetTurbAdjointGradient()

void CNumerics::SetTurbAdjointGradient ( CMatrixView< const su2double >  val_turbpsivar_grad_i,
CMatrixView< const su2double >  val_turbpsivar_grad_j 
)
inline

Set the gradient of the adjoint turbulent variables.

Parameters
[in]val_turbpsivar_grad_i- Gradient of the adjoint turbulent variable at point i.
[in]val_turbpsivar_grad_j- Gradient of the adjoint turbulent variable at point j.

◆ SetTurbAdjointVar()

void CNumerics::SetTurbAdjointVar ( const su2double *  val_turbpsivar_i,
const su2double *  val_turbpsivar_j 
)
inline

Set the value of the adjoint turbulent variable.

Parameters
[in]val_turbpsivar_i- Value of the adjoint turbulent variable at point i.
[in]val_turbpsivar_j- Value of the adjoint turbulent variable at point j.

◆ SetTurbKineticEnergy()

void CNumerics::SetTurbKineticEnergy ( su2double  val_turb_ke_i,
su2double  val_turb_ke_j 
)
inline

Set the turbulent kinetic energy.

Parameters
[in]val_turb_ke_i- Value of the turbulent kinetic energy at point i.
[in]val_turb_ke_j- Value of the turbulent kinetic energy at point j.

◆ SetUndivided_Laplacian()

void CNumerics::SetUndivided_Laplacian ( const su2double *  val_und_lapl_i,
const su2double *  val_und_lapl_j 
)
inline

Set the value of undivided laplacian.

Parameters
[in]val_und_lapl_iUndivided laplacian at point i.
[in]val_und_lapl_jUndivided laplacian at point j.

◆ SetVelocity2_Inf()

void CNumerics::SetVelocity2_Inf ( su2double  val_velocity2)
inline

Set the freestream velocity square.

Parameters
[in]SetVelocity2_Inf- Value of the square of the freestream velocity.

◆ SetVolume()

void CNumerics::SetVolume ( su2double  val_volume)
inline

Set the value of the volume of the control volume.

Parameters
[in]val_volumeVolume of the control volume.

◆ SetVorticity()

void CNumerics::SetVorticity ( const su2double *  val_vorticity_i,
const su2double *  val_vorticity_j 
)
inline

Set the value of the vorticity.

Parameters
[in]val_vorticity- Value of the vorticity.

Member Data Documentation

◆ Area

su2double CNumerics::Area
protected

Area of the face i-j.

◆ AuxVar_Grad_i

CMatrixView<const su2double> CNumerics::AuxVar_Grad_i
protected

Gradient of an auxiliary variable at point i.

◆ AuxVar_Grad_j

CMatrixView<const su2double> CNumerics::AuxVar_Grad_j
protected

Gradient of an auxiliary variable at point i.

◆ AvgVolume

su2double CNumerics::AvgVolume
protected

Average of the control Volume around point i for vorticity confinement parameter correction.

◆ BetaInc2_i

su2double CNumerics::BetaInc2_i
protected

Beta incompressible at point i.

◆ BetaInc2_j

su2double CNumerics::BetaInc2_j
protected

Beta incompressible at point j.

◆ bounded_scalar

bool CNumerics::bounded_scalar = false
protected

Flag for bounded scalar problem.

◆ ConsVar_Grad

CMatrixView<const su2double> CNumerics::ConsVar_Grad
protected

Gradient of conservative variables which is a scalar.

◆ ConsVar_Grad_i

CMatrixView<const su2double> CNumerics::ConsVar_Grad_i
protected

Gradient of conservative variables at point i.

◆ ConsVar_Grad_j

CMatrixView<const su2double> CNumerics::ConsVar_Grad_j
protected

Gradient of conservative variables at point j.

◆ Coord_i

const su2double* CNumerics::Coord_i
protected

Cartesians coordinates of point i.

◆ Coord_j

const su2double * CNumerics::Coord_j
protected

Cartesians coordinates of point j.

◆ Cp_i

su2double CNumerics::Cp_i
protected

Cp at point i.

◆ Cp_j

su2double CNumerics::Cp_j
protected

Cp at point j.

◆ delta

const su2double CNumerics::delta[3][3] = {{1.0, 0.0, 0.0},{0.0, 1.0, 0.0}, {0.0, 0.0, 1.0}}
protected

Identity matrix.

◆ Density_i

su2double CNumerics::Density_i
protected

Density at point i.

◆ Density_j

su2double CNumerics::Density_j
protected

Density at point j.

◆ DensityInc_i

su2double CNumerics::DensityInc_i
protected

Incompressible density at point i.

◆ DensityInc_j

su2double CNumerics::DensityInc_j
protected

Incompressible density at point j.

◆ Diffusion_Coeff_i

const su2double* CNumerics::Diffusion_Coeff_i
protected

Species diffusion coefficients at point i.

◆ Diffusion_Coeff_j

const su2double * CNumerics::Diffusion_Coeff_j
protected

Species diffusion coefficients at point j.

◆ Dissipation_i

su2double CNumerics::Dissipation_i
protected

◆ Dissipation_ij

su2double CNumerics::Dissipation_ij
protected

◆ Dissipation_j

su2double CNumerics::Dissipation_j
protected

Dissipation.

◆ dist_i

su2double CNumerics::dist_i
protected

Distance of point i to the nearest wall.

◆ dist_j

su2double CNumerics::dist_j
protected

Distance of point j to the nearest wall.

◆ Eddy_Viscosity_i

su2double CNumerics::Eddy_Viscosity_i
protected

Eddy viscosity at point i.

◆ Eddy_Viscosity_j

su2double CNumerics::Eddy_Viscosity_j
protected

Eddy viscosity at point j.

◆ Eig_Val_Comp

unsigned short CNumerics::Eig_Val_Comp
protected

Component towards which perturbation is perfromed.

◆ energy_multicomponent

bool CNumerics::energy_multicomponent = false
protected

Flag for multicomponent and reacting flow

◆ Enthalpy_i

su2double CNumerics::Enthalpy_i
protected

Enthalpy at point i.

◆ Enthalpy_j

su2double CNumerics::Enthalpy_j
protected

Enthalpy at point j.

◆ Gamma

su2double CNumerics::Gamma
protected

Fluid's Gamma constant (ratio of specific heats).

◆ Gamma_Minus_One

su2double CNumerics::Gamma_Minus_One
protected

Fluids's Gamma - 1.0 .

◆ Gas_Constant

su2double CNumerics::Gas_Constant
protected

Gas constant.

◆ GridVel_i

const su2double* CNumerics::GridVel_i
protected

Grid velocity at point i.

◆ GridVel_j

const su2double * CNumerics::GridVel_j
protected

Grid velocity at point j.

◆ HeatFluxDiffusion

su2double CNumerics::HeatFluxDiffusion
protected

Heat flux due to enthalpy diffusion for multicomponent.

◆ intermittency_eff_i

su2double CNumerics::intermittency_eff_i
protected

effective intermittency at point i.

◆ intermittency_i

su2double CNumerics::intermittency_i
protected

intermittency at point i.

◆ JacHeatFluxDiffusion

su2double CNumerics::JacHeatFluxDiffusion
protected

Heat flux jacobian due to enthalpy diffusion for multicomponent.

◆ Lambda_i

su2double CNumerics::Lambda_i
protected

Spectral radius at point i.

◆ Lambda_j

su2double CNumerics::Lambda_j
protected

Spectral radius at point j.

◆ Laminar_Viscosity_i

su2double CNumerics::Laminar_Viscosity_i
protected

Laminar viscosity at point i.

◆ Laminar_Viscosity_j

su2double CNumerics::Laminar_Viscosity_j
protected

Laminar viscosity at point j.

◆ lesMode_i

su2double CNumerics::lesMode_i = 0.0
protected

LES sensor at point i for hybrid RANS-LES methods.

◆ lesMode_j

su2double CNumerics::lesMode_j = 0.0
protected

LES sensor at point j for hybrid RANS-LES methods.

◆ LocalGridLength_i

su2double CNumerics::LocalGridLength_i
protected

Local grid length at point i.

◆ MassFlux

su2double CNumerics::MassFlux
protected

Mass flux across edge.

◆ MAXNDIM

constexpr size_t CNumerics::MAXNDIM = 3
staticconstexprprotected

Max number of space dimensions, used in some static arrays.

◆ MeanPerturbedRSM

su2double CNumerics::MeanPerturbedRSM[3][3]
protected

Perturbed Reynolds stress tensor

◆ Minf

su2double CNumerics::Minf
protected

Free stream Mach number .

◆ nDim

unsigned short CNumerics::nDim
protected

◆ Neighbor_i

unsigned short CNumerics::Neighbor_i
protected

Number of neighbors of the point i.

◆ Neighbor_j

unsigned short CNumerics::Neighbor_j
protected

Number of neighbors of the point j.

◆ nemo

bool CNumerics::nemo
protected

Flag for NEMO problems

◆ Normal

const su2double* CNumerics::Normal = nullptr
protected

Normal vector, its norm is the area of the face.

◆ nVar

unsigned short CNumerics::nVar
protected

Number of dimensions and variables.

◆ Prandtl_Turb

su2double CNumerics::Prandtl_Turb
protected

Turbulent Prandtl's number.

◆ Pressure_i

su2double CNumerics::Pressure_i
protected

Pressure at point i.

◆ Pressure_j

su2double CNumerics::Pressure_j
protected

Pressure at point j.

◆ PrimVar_Grad_i

CMatrixView<const su2double> CNumerics::PrimVar_Grad_i
protected

Gradient of primitive variables at point i.

◆ PrimVar_Grad_j

CMatrixView<const su2double> CNumerics::PrimVar_Grad_j
protected

Gradient of primitive variables at point j.

◆ Proj_Flux_Tensor

su2double* CNumerics::Proj_Flux_Tensor
protected

Flux tensor projected in a direction.

◆ Psi_i

const su2double* CNumerics::Psi_i
protected

Vector of adjoint variables at point i.

◆ Psi_j

const su2double * CNumerics::Psi_j
protected

Vector of adjoint variables at point j.

◆ PsiVar_Grad_i

CMatrixView<const su2double> CNumerics::PsiVar_Grad_i
protected

Gradient of adjoint variables at point i.

◆ PsiVar_Grad_j

CMatrixView<const su2double> CNumerics::PsiVar_Grad_j
protected

Gradient of adjoint variables at point j.

◆ RadVar_Source

const su2double* CNumerics::RadVar_Source
protected

Source term from the radiative heat transfer equation.

◆ roughness_i

su2double CNumerics::roughness_i = 0.0
protected

Roughness of the wall nearest to point i.

◆ roughness_j

su2double CNumerics::roughness_j = 0.0
protected

Roughness of the wall nearest to point j.

◆ S_i

const su2double* CNumerics::S_i
protected

Vector of secondary variables at point i.

◆ S_j

const su2double * CNumerics::S_j
protected

Vector of secondary variables at point j.

◆ sbsInBox_i

int8_t CNumerics::sbsInBox_i = 0
protected

Sensor to assess if point i lies inside the box where the Stochastic Backscatter Model is active.

◆ ScalarVar_Grad_i

CMatrixView<const su2double> CNumerics::ScalarVar_Grad_i
protected

Gradient of scalar variables at point i.

◆ ScalarVar_Grad_j

CMatrixView<const su2double> CNumerics::ScalarVar_Grad_j
protected

Gradient of scalar variables at point j.

◆ ScalarVar_i

const su2double* CNumerics::ScalarVar_i
protected

Vector of scalar variables at point i.

◆ ScalarVar_j

const su2double * CNumerics::ScalarVar_j
protected

Vector of scalar variables at point j.

◆ Sensor_i

su2double CNumerics::Sensor_i
protected

Pressure sensor at point i.

◆ Sensor_j

su2double CNumerics::Sensor_j
protected

Pressure sensor at point j.

◆ SoundSpeed_i

su2double CNumerics::SoundSpeed_i
protected

Sound speed at point i.

◆ SoundSpeed_j

su2double CNumerics::SoundSpeed_j
protected

Sound speed at point j.

◆ sstParsedOptions

SST_ParsedOptions CNumerics::sstParsedOptions
protected

additional options for the SST turbulence model

◆ stochReynStress

su2double CNumerics::stochReynStress[3][3] = {{0.0}}
protected

Stochastic contribution to Reynolds stress tensor for Backscatter Model.

◆ stochSource

su2double CNumerics::stochSource[3] = {0.0}
protected

Source term for Langevin equations in Stochastic Backscatter Model.

◆ stochVar_i

su2double CNumerics::stochVar_i[3] = {0.0}
protected

Stochastic variables at point i for Stochastic Backscatter Model.

◆ stochVar_j

su2double CNumerics::stochVar_j[3] = {0.0}
protected

Stochastic variables at point j for Stochastic Backscatter Model.

◆ StrainMag_i

su2double CNumerics::StrainMag_i
protected

◆ StrainMag_j

su2double CNumerics::StrainMag_j
protected

Strain rate magnitude.

◆ tau

su2double** CNumerics::tau
protected

Viscous stress tensor.

◆ Thermal_Conductivity_i

su2double CNumerics::Thermal_Conductivity_i
protected

Thermal conductivity at point i.

◆ Thermal_Conductivity_j

su2double CNumerics::Thermal_Conductivity_j
protected

Thermal conductivity at point j.

◆ Thermal_Conductivity_ve_i

su2double CNumerics::Thermal_Conductivity_ve_i
protected

vibrational-electronic Thermal conductivity at point i.

◆ Thermal_Conductivity_ve_j

su2double CNumerics::Thermal_Conductivity_ve_j
protected

vibrational-electronic Thermal conductivity at point j.

◆ TimeStep

su2double CNumerics::TimeStep
protected

Time step useful in dual time method.

◆ TransVar_Grad_i

CMatrixView<const su2double> CNumerics::TransVar_Grad_i
protected

Gradient of turbulent variables at point i.

◆ TransVar_Grad_j

CMatrixView<const su2double> CNumerics::TransVar_Grad_j
protected

Gradient of turbulent variables at point j.

◆ TransVar_i

const su2double* CNumerics::TransVar_i
protected

Vector of turbulent variables at point i.

◆ TransVar_j

const su2double * CNumerics::TransVar_j
protected

Vector of turbulent variables at point j.

◆ turb_ke_i

su2double CNumerics::turb_ke_i
protected

Turbulent kinetic energy at point i.

◆ turb_ke_j

su2double CNumerics::turb_ke_j
protected

Turbulent kinetic energy at point j.

◆ TurbPsi_Grad_i

CMatrixView<const su2double> CNumerics::TurbPsi_Grad_i
protected

Gradient of adjoint turbulent variables at point i.

◆ TurbPsi_Grad_j

CMatrixView<const su2double> CNumerics::TurbPsi_Grad_j
protected

Gradient of adjoint turbulent variables at point j.

◆ TurbPsi_i

const su2double* CNumerics::TurbPsi_i
protected

Vector of adjoint turbulent variables at point i.

◆ TurbPsi_j

const su2double * CNumerics::TurbPsi_j
protected

Vector of adjoint turbulent variables at point j.

◆ U_i

const su2double* CNumerics::U_i
protected

Vector of conservative variables at point i.

◆ U_j

const su2double * CNumerics::U_j
protected

Vector of conservative variables at point j.

◆ Und_Lapl_i

const su2double* CNumerics::Und_Lapl_i
protected

Undivided laplacians at point i.

◆ Und_Lapl_j

const su2double * CNumerics::Und_Lapl_j
protected

Undivided laplacians at point j.

◆ UnitNormal

su2double CNumerics::UnitNormal[MAXNDIM] = {0.0}
protected

Unitary normal vector.

◆ uq_delta_b

su2double CNumerics::uq_delta_b
protected

Magnitude of perturbation.

◆ uq_permute

bool CNumerics::uq_permute
protected

Flag for eigenvector permutation.

◆ uq_urlx

su2double CNumerics::uq_urlx
protected

Under-relaxation factor for numerical stability.

◆ V_i

const su2double* CNumerics::V_i
protected

Vector of primitive variables at point i.

◆ V_j

const su2double * CNumerics::V_j
protected

Vector of primitive variables at point j.

◆ vel2_inf

su2double CNumerics::vel2_inf
protected

value of the square of freestream speed.

◆ Volume

su2double CNumerics::Volume
protected

Volume of the control volume around point i.

◆ Vorticity_i

const su2double* CNumerics::Vorticity_i
protected

◆ Vorticity_j

const su2double * CNumerics::Vorticity_j
protected

Vorticity.

◆ WindGust_i

const su2double* CNumerics::WindGust_i
protected

Wind gust at point i.

◆ WindGust_j

const su2double * CNumerics::WindGust_j
protected

Wind gust at point j.


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