SU2
Public Member Functions | List of all members
CSourcePieceWise_TurbSA Class Reference

Class for integrating the source terms of the Spalart-Allmaras turbulence model equation. More...

#include <numerics_structure.hpp>

Inheritance diagram for CSourcePieceWise_TurbSA:
CNumerics

Public Member Functions

 CSourcePieceWise_TurbSA (unsigned short val_nDim, unsigned short val_nVar, CConfig *config)
 Constructor of the class. More...
 
 ~CSourcePieceWise_TurbSA (void)
 Destructor of the class.
 
void ComputeResidual (su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config)
 Residual for source term integration. More...
 
void SetIntermittency (su2double intermittency_in)
 Residual for source term integration. More...
 
void SetProduction (su2double val_production)
 Residual for source term integration. More...
 
void SetDestruction (su2double val_destruction)
 Residual for source term integration. More...
 
void SetCrossProduction (su2double val_crossproduction)
 Residual for source term integration. More...
 
su2double GetProduction (void)
 ______________.
 
su2double GetDestruction (void)
 ______________.
 
su2double GetCrossProduction (void)
 ______________.
 
- Public Member Functions inherited from CNumerics
 CNumerics (void)
 Constructor of the class.
 
 CNumerics (unsigned short val_nDim, unsigned short val_nVar, CConfig *config)
 
virtual ~CNumerics (void)
 Destructor of the class.
 
su2double Determinant_3x3 (su2double A00, su2double A01, su2double A02, su2double A10, su2double A11, su2double A12, su2double A20, su2double A21, su2double A22)
 Compute the determinant of a 3 by 3 matrix. More...
 
void SetPastSol (su2double *val_u_nM1, su2double *val_u_n, su2double *val_u_nP1)
 Set the solution at different times. More...
 
void SetPastVolume (su2double val_volume_nM1, su2double val_volume_n, su2double val_volume_nP1)
 Set the control volume at different times. More...
 
void SetTimeStep (su2double val_timestep)
 Set the time step. More...
 
virtual su2double GetPrecond_Beta ()
 Get the Preconditioning Beta. More...
 
void SetVelocity2_Inf (su2double val_velocity2)
 Set the freestream velocity square. More...
 
void SetVorticity (su2double *val_vorticity_i, su2double *val_vorticity_j)
 Set the value of the vorticity. More...
 
void SetStrainMag (su2double val_strainmag_i, su2double val_strainmag_j)
 Set the value of the rate of strain magnitude. More...
 
void SetConservative (su2double *val_u_i, su2double *val_u_j)
 Set the value of the conservative variables. More...
 
void SetConservative_ZeroOrder (su2double *val_u_i, su2double *val_u_j)
 Set the value of the conservative variables withour reconstruction. More...
 
void SetPrimitive (su2double *val_v_i, su2double *val_v_j)
 Set the value of the primitive variables. More...
 
void SetSecondary (su2double *val_s_i, su2double *val_s_j)
 Set the value of the primitive variables. More...
 
void SetConservative (su2double *val_u_0, su2double *val_u_1, su2double *val_u_2)
 Set the value of the conservative variables. More...
 
void SetConservative (su2double *val_u_0, su2double *val_u_1, su2double *val_u_2, su2double *val_u_3)
 Set the value of the conservative variables. More...
 
void SetConsVarGradient (su2double **val_consvar_grad_i, su2double **val_consvar_grad_j)
 Set the gradient of the conservative variables. More...
 
void SetConsVarGradient (su2double **val_consvar_grad_0, su2double **val_consvar_grad_1, su2double **val_consvar_grad_2)
 Set the gradient of the conservative variables. More...
 
void SetConsVarGradient (su2double **val_consvar_grad_0, su2double **val_consvar_grad_1, su2double **val_consvar_grad_2, su2double **val_consvar_grad_3)
 Set the gradient of the conservative variables. More...
 
void SetConsVarGradient (su2double **val_consvar_grad)
 Set the gradient of the conservative variables. More...
 
void SetPrimVarGradient (su2double **val_primvar_grad_i, su2double **val_primvar_grad_j)
 Set the gradient of the primitive variables. More...
 
void SetPrimVarLimiter (su2double *val_primvar_lim_i, su2double *val_primvar_lim_j)
 Set the Limiter of the primitive variables. More...
 
void SetAdjointVar (su2double *val_psi_i, su2double *val_psi_j)
 Set the value of the adjoint variable. More...
 
void SetAdjointVarGradient (su2double **val_psivar_grad_i, su2double **val_psivar_grad_j)
 Set the gradient of the adjoint variables. More...
 
void SetAdjointVarLimiter (su2double *val_psivar_lim_i, su2double *val_psivar_lim_j)
 Set the limiter of the adjoint variables. More...
 
void SetTurbVar (su2double *val_turbvar_i, su2double *val_turbvar_j)
 Set the value of the turbulent variable. More...
 
void SetTransVar (su2double *val_transvar_i, su2double *val_transvar_j)
 Set the value of the turbulent variable. More...
 
void SetTurbVarGradient (su2double **val_turbvar_grad_i, su2double **val_turbvar_grad_j)
 Set the gradient of the turbulent variables. More...
 
void SetTransVarGradient (su2double **val_transvar_grad_i, su2double **val_transvar_grad_j)
 Set the gradient of the turbulent variables. More...
 
void SetTurbAdjointVar (su2double *val_turbpsivar_i, su2double *val_turbpsivar_j)
 Set the value of the adjoint turbulent variable. More...
 
void SetTurbAdjointGradient (su2double **val_turbpsivar_grad_i, su2double **val_turbpsivar_grad_j)
 Set the gradient of the adjoint turbulent variables. More...
 
virtual void SetF1blending (su2double val_F1_i, su2double val_F1_j)
 Set the value of the first blending function. More...
 
virtual void SetF2blending (su2double val_F1_i, su2double val_F1_j)
 Set the value of the second blending function. More...
 
virtual void SetCrossDiff (su2double val_CDkw_i, su2double val_CDkw_j)
 Set the value of the cross diffusion for the SST model. More...
 
void SetAuxVarGrad (su2double *val_auxvargrad_i, su2double *val_auxvargrad_j)
 Set the gradient of the auxiliary variables. More...
 
void SetDiffusionCoeff (su2double *val_diffusioncoeff_i, su2double *val_diffusioncoeff_j)
 Set the diffusion coefficient. More...
 
void SetLaminarViscosity (su2double val_laminar_viscosity_i, su2double val_laminar_viscosity_j)
 Set the laminar viscosity. More...
 
void SetThermalConductivity (su2double val_thermal_conductivity_i, su2double val_thermal_conductivity_j)
 Set the thermal conductivity (translational/rotational) More...
 
void SetThermalConductivity_ve (su2double val_thermal_conductivity_ve_i, su2double val_thermal_conductivity_ve_j)
 Set the thermal conductivity (translational/rotational) More...
 
void SetEddyViscosity (su2double val_eddy_viscosity_i, su2double val_eddy_viscosity_j)
 Set the eddy viscosity. More...
 
void SetTurbKineticEnergy (su2double val_turb_ke_i, su2double val_turb_ke_j)
 Set the turbulent kinetic energy. More...
 
void SetDistance (su2double val_dist_i, su2double val_dist_j)
 Set the value of the distance from the nearest wall. More...
 
void SetCoord (su2double *val_coord_i, su2double *val_coord_j)
 Set coordinates of the points. More...
 
void SetCoord (su2double *val_coord_0, su2double *val_coord_1, su2double *val_coord_2)
 
void SetCoord (su2double *val_coord_0, su2double *val_coord_1, su2double *val_coord_2, su2double *val_coord_3)
 
void SetGridVel (su2double *val_gridvel_i, su2double *val_gridvel_j)
 Set the velocity of the computational grid. More...
 
void SetWindGust (su2double *val_windgust_i, su2double *val_windgust_j)
 Set the wind gust value. More...
 
void SetWindGustDer (su2double *val_windgustder_i, su2double *val_windgustder_j)
 Set the wind gust derivatives values. More...
 
void SetPressure (su2double val_pressure_i, su2double val_pressure_j)
 Set the value of the pressure. More...
 
void SetDensity (su2double val_densityinc_i, su2double val_densityinc_j)
 Set the value of the density for the incompressible solver. More...
 
void SetBetaInc2 (su2double val_betainc2_i, su2double val_betainc2_j)
 Set the value of the beta for incompressible flows. More...
 
void SetSoundSpeed (su2double val_soundspeed_i, su2double val_soundspeed_j)
 Set the value of the sound speed. More...
 
void SetTemperature (su2double val_temp_i, su2double val_temp_j)
 Set the value of the temperature. More...
 
void SetEnthalpy (su2double val_enthalpy_i, su2double val_enthalpy_j)
 Set the value of the enthalpy. More...
 
void SetLambda (su2double val_lambda_i, su2double val_lambda_j)
 Set the value of the spectral radius. More...
 
void SetUndivided_Laplacian (su2double *val_und_lapl_i, su2double *val_und_lapl_j)
 Set the value of undivided laplacian. More...
 
void SetSensor (su2double val_sensor_i, su2double val_sensor_j)
 Set the value of the pressure sensor. More...
 
void SetNeighbor (unsigned short val_neighbor_i, unsigned short val_neighbor_j)
 Set the number of neighbor to a point. More...
 
void SetNormal (su2double *val_normal)
 Set the value of the normal vector to the face between two points. More...
 
void SetVolume (su2double val_volume)
 Set the value of the volume of the control volume. More...
 
void SetRhosIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetRhoIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetPIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetTIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetTveIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetVelIndex (unsigned short val_Index)
 Retrieves the value of the velocity index in the primitive variable vector. More...
 
void SetHIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetAIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetRhoCvtrIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetRhoCvveIndex (unsigned short val_Index)
 Retrieves the value of the species density in the primitive variable vector. More...
 
void SetdPdU (su2double *val_dPdU_i, su2double *val_dPdU_j)
 Sets the value of the derivative of pressure w.r.t. species density. More...
 
void SetdTdU (su2double *val_dTdU_i, su2double *val_dTdU_j)
 Sets the value of the derivative of temperature w.r.t. species density. More...
 
void SetdTvedU (su2double *val_dTvedU_i, su2double *val_dTvedU_j)
 Sets the value of the derivative of vib-el. temperature w.r.t. species density. More...
 
void GetInviscidFlux (su2double val_density, su2double *val_velocity, su2double val_pressure, su2double val_enthalpy)
 Get the inviscid fluxes. More...
 
void GetViscousFlux (su2double *val_primvar, su2double **val_gradprimvar, su2double val_laminar_viscosity, su2double val_eddy_viscosity, su2double val_mach_inf)
 Get the viscous fluxes. More...
 
void GetInviscidProjFlux (su2double *val_density, su2double *val_velocity, su2double *val_pressure, su2double *val_enthalpy, su2double *val_normal, su2double *val_Proj_Flux)
 Compute the projected inviscid flux vector. More...
 
void GetInviscidArtCompProjFlux (su2double *val_density, su2double *val_velocity, su2double *val_pressure, su2double *val_betainc2, su2double *val_normal, su2double *val_Proj_Flux)
 Compute the projected inviscid flux vector for incompresible simulations. More...
 
void GetViscousProjFlux (su2double *val_primvar, su2double **val_gradprimvar, su2double val_turb_ke, su2double *val_normal, su2double val_laminar_viscosity, su2double val_eddy_viscosity)
 Compute the projection of the viscous fluxes into a direction. More...
 
void GetViscousProjFlux (su2double *val_primvar, su2double **val_gradprimvar, su2double val_turb_ke, su2double *val_normal, su2double val_laminar_viscosity, su2double val_eddy_viscosity, su2double val_thermal_conductivity, su2double val_heat_capacity_cp)
 Compute the projection of the viscous fluxes into a direction for general fluid model. More...
 
void GetViscousArtCompProjFlux (su2double **val_gradprimvar, su2double *val_normal, su2double val_laminar_viscosity, su2double val_eddy_viscosity)
 
void GetInviscidProjJac (su2double *val_velocity, su2double *val_energy, su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor)
 Compute the projection of the inviscid Jacobian matrices. More...
 
void GetInviscidArtCompProjJac (su2double *val_density, su2double *val_velocity, su2double *val_betainc2, su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor)
 Compute the projection of the inviscid Jacobian matrices (artificial compresibility). More...
 
void GetInviscidProjJac (su2double *val_velocity, su2double *val_enthalphy, su2double *val_chi, su2double *val_kappa, su2double *val_normal, su2double val_scale, su2double **val_Proj_Jac_tensor)
 Compute the projection of the inviscid Jacobian matrices for general fluid model. More...
 
void GetViscousProjJacs (su2double *val_Mean_PrimVar, su2double val_laminar_viscosity, su2double val_eddy_viscosity, su2double val_dist_ij, su2double *val_normal, su2double val_dS, su2double *val_Proj_Visc_Flux, su2double **val_Proj_Jac_Tensor_i, su2double **val_Proj_Jac_Tensor_j)
 TSL-Approximation of Viscous NS Jacobians. More...
 
void GetViscousProjJacs (su2double *val_Mean_PrimVar, su2double **val_gradprimvar, su2double *val_Mean_SecVar, su2double val_laminar_viscosity, su2double val_eddy_viscosity, su2double val_thermal_conductivity, su2double val_heat_capacity_cp, su2double val_dist_ij, su2double *val_normal, su2double val_dS, su2double *val_Proj_Visc_Flux, su2double **val_Proj_Jac_Tensor_i, su2double **val_Proj_Jac_Tensor_j)
 TSL-Approximation of Viscous NS Jacobians for arbitrary equations of state. More...
 
void GetPrimitive2Conservative (su2double *val_Mean_PrimVar, su2double *val_Mean_SecVar, su2double **val_Jac_PC)
 Mapping between primitives variables P and conservatives variables C. More...
 
void GetViscousArtCompProjJacs (su2double val_laminar_viscosity, su2double val_eddy_viscosity, su2double val_dist_ij, su2double *val_normal, su2double val_dS, su2double **val_Proj_Jac_Tensor_i, su2double **val_Proj_Jac_Tensor_j)
 Compute the projection of the viscous Jacobian matrices. More...
 
void GetPMatrix (su2double *val_density, su2double *val_velocity, su2double *val_soundspeed, su2double *val_enthalpy, su2double *val_chi, su2double *val_kappa, su2double *val_normal, su2double **val_p_tensor)
 Computation of the matrix P for a generic fluid model. More...
 
void GetPMatrix (su2double *val_density, su2double *val_velocity, su2double *val_soundspeed, su2double *val_normal, su2double **val_p_tensor)
 Computation of the matrix P, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$. More...
 
void GetinvRinvPe (su2double Beta2, su2double val_enthalpy, su2double val_soundspeed, su2double val_density, su2double *val_velocity, su2double **val_invR_invPe)
 Computation of the matrix Rinv*Pe. More...
 
void GetRMatrix (su2double val_pressure, su2double val_soundspeed, su2double val_density, su2double *val_velocity, su2double **val_invR_invPe)
 Computation of the matrix R. More...
 
void GetRMatrix (su2double val_soundspeed, su2double val_density, su2double *val_normal, su2double **R_Matrix)
 Computation of the matrix R. More...
 
void GetLMatrix (su2double val_soundspeed, su2double val_density, su2double *val_normal, su2double **L_Matrix)
 Computation of the matrix R. More...
 
void GetPrecondJacobian (su2double Beta2, su2double r_hat, su2double s_hat, su2double t_hat, su2double rB2a2, su2double *val_Lambda, su2double *val_normal, su2double **val_absPeJac)
 Computation of the matrix Td, this matrix diagonalize the preconditioned conservative Jacobians in the form $Tg |Lambda| Td = Pc{-1}|Pc (A.Normal)|$. More...
 
void GetPArtCompMatrix (su2double *val_density, su2double *val_velocity, su2double *val_betainv2, su2double *val_normal, su2double **val_p_tensor)
 Computation of the matrix P (artificial compresibility), this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$. More...
 
void GetPMatrix_inv (su2double **val_invp_tensor, su2double *val_density, su2double *val_velocity, su2double *val_soundspeed, su2double *val_chi, su2double *val_kappa, su2double *val_normal)
 Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$. More...
 
void GetPMatrix_inv (su2double *val_density, su2double *val_velocity, su2double *val_soundspeed, su2double *val_normal, su2double **val_invp_tensor)
 Computation of the matrix P^{-1}, this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$. More...
 
void GetPArtCompMatrix_inv (su2double *val_density, su2double *val_velocity, su2double *val_betainv2, su2double *val_normal, su2double **val_invp_tensor)
 Computation of the matrix P^{-1} (artificial compresibility), this matrix diagonalize the conservative Jacobians in the form $P^{-1}(A.Normal)P=Lambda$. More...
 
void GetAdjViscousFlux_Jac (su2double Pressure_i, su2double Pressure_j, su2double Density_i, su2double Density_j, su2double ViscDens_i, su2double ViscDens_j, su2double *Velocity_i, su2double *Velocity_j, su2double sq_vel_i, su2double sq_vel_j, su2double XiDens_i, su2double XiDens_j, su2double **Mean_GradPhi, su2double *Mean_GradPsiE, su2double dPhiE_dn, su2double *Normal, 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)
 Compute viscous residual and jacobian.
 
void GetJacInviscidLambda_fabs (su2double *val_velocity, su2double val_soundspeed, su2double *val_normal, su2double *val_Lambda_Vector)
 Computation of the projected inviscid lambda (eingenvalues). More...
 
virtual void ComputeResidual (su2double *val_residual, CConfig *config)
 Compute the numerical residual. More...
 
virtual void ComputeResidual (su2double *val_residual_i, su2double *val_residual_j)
 
virtual void ComputeResidual_TransLM (su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, CConfig *config, su2double &gamma_sep)
 
virtual void ComputeResidual (su2double *val_residual_i, su2double *val_residual_j, CConfig *config)
 
virtual void ComputeResidual (su2double *val_residual, su2double **val_Jacobian_i, su2double **val_Jacobian_j, su2double **val_JacobianMeanFlow_i, su2double **val_JacobianMeanFlow_j, CConfig *config)
 
virtual void ComputeResidual (su2double **val_Jacobian_i, su2double **val_Jacobian_j, 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_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_stiffmatrix_elem, CConfig *config)
 
virtual void ComputeResidual (su2double *val_residual, su2double **val_Jacobian_i, CConfig *config)
 
virtual void GetEq_Rxn_Coefficients (su2double **EqnRxnConstants, CConfig *config)
 
virtual void ComputeResidual_Axisymmetric (su2double *val_residual, CConfig *config)
 Residual for source term integration. More...
 
virtual void ComputeResidual_Axisymmetric_ad (su2double *val_residual, su2double *val_residuald, CConfig *config)
 Residual for source term integration. More...
 
virtual void SetJacobian_Axisymmetric (su2double **val_Jacobian_i, CConfig *config)
 Calculation of axisymmetric source term Jacobian. More...
 
virtual void ComputeVibRelaxation (su2double *val_residual, su2double **val_Jacobian_i, CConfig *config)
 Calculation of the translational-vibrational energy exchange source term. More...
 
virtual void ComputeChemistry (su2double *val_residual, su2double **val_Jacobian_i, CConfig *config)
 Calculation of the chemistry source term. More...
 
virtual void GetKeqConstants (su2double *A, unsigned short val_reaction, CConfig *config)
 Calculates constants used for Keq correlation. More...
 
virtual void ComputeResidual (su2double **val_Jacobian_i, su2double *val_Jacobian_mui, su2double ***val_Jacobian_gradi, CConfig *config)
 
virtual void ComputeResidual (su2double **val_Jacobian_i, su2double *val_Jacobian_mui, su2double ***val_Jacobian_gradi, su2double **val_Jacobian_j, su2double *val_Jacobian_muj, su2double ***val_Jacobian_gradj, CConfig *config)
 
virtual void Compute_Tangent_Matrix (CElement *element_container, CConfig *config)
 A virtual member to compute the tangent matrix in structural problems. More...
 
virtual void Compute_MeanDilatation_Term (CElement *element_container, CConfig *config)
 A virtual member to compute the pressure term in incompressible or nearly-incompressible structural problems. More...
 
virtual void Compute_NodalStress_Term (CElement *element_container, CConfig *config)
 A virtual member to compute the nodal stress term in non-linear structural problems. More...
 
virtual void Compute_Plane_Stress_Term (CElement *element_container, CConfig *config)
 A virtual member to compute the plane stress term in an element for nonlinear structural problems. More...
 
virtual void Compute_Constitutive_Matrix (CElement *element_container, CConfig *config)
 A virtual member to compute the constitutive matrix in an element for structural problems. More...
 
virtual void Compute_Stress_Tensor (CElement *element_container, CConfig *config)
 A virtual member to compute the stress tensor in an element for structural problems. More...
 
virtual void Compute_Mass_Matrix (CElement *element_container, CConfig *config)
 A virtual member to compute the mass matrix. More...
 
virtual void Compute_Dead_Load (CElement *element_container, CConfig *config)
 A virtual member to compute the residual component due to dead loads. More...
 
virtual void Compute_Averaged_NodalStress (CElement *element_container, CConfig *config)
 A virtual member to compute the averaged nodal stresses. More...
 
void CreateBasis (su2double *val_Normal)
 Computes a basis of orthogonal vectors from a suppled vector. More...
 

Additional Inherited Members

- Public Attributes inherited from CNumerics
su2double ** Flux_Tensor
 Flux tensor (used for viscous and inviscid purposes.
 
su2double * Proj_Flux_Tensor
 Flux tensor projected in a direction.
 
su2double ** tau
 Viscous stress tensor.
 
su2double ** delta
 Identity matrix.
 
su2double * Diffusion_Coeff_i
 Species diffusion coefficients at point i.
 
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 Laminar_Viscosity_id
 Variation of laminar viscosity at point i.
 
su2double Laminar_Viscosity_jd
 Variation of 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
 Thermal conductivity at point i.
 
su2double Thermal_Conductivity_ve_j
 Thermal conductivity at point j.
 
su2double Cp_i
 Cp at point i.
 
su2double Cp_j
 Cp at point j.
 
su2double * Theta_v
 Characteristic vibrational temperature.
 
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 Pressure_i
 Pressure at point i.
 
su2double Pressure_j
 Pressure at point j.
 
su2double GravityForce_i
 Gravity force at point i.
 
su2double GravityForce_j
 Gravity force 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 LambdaComb_i
 Spectral radius at point i.
 
su2double LambdaComb_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.
 
su2double Temp_i
 Temperature at point i.
 
su2double Temp_j
 Temperature at point j.
 
su2double * Temp_tr_i
 Temperature transl-rot at point i.
 
su2double * Temp_tr_j
 Temperature transl-rot at point j.
 
su2double * Temp_vib_i
 Temperature vibrational at point i.
 
su2double * Temp_vib_j
 Temperature vibrational at point j.
 
su2double * Und_Lapl_i
 Undivided laplacians at point i.
 
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.
 
su2double * GridVel_i
 Grid velocity at point i.
 
su2double * GridVel_j
 Grid velocity at point j.
 
su2double * U_i
 Vector of conservative variables at point i.
 
su2double * U_id
 Vector of derivative of conservative variables at point i.
 
su2double * UZeroOrder_i
 Vector of conservative variables at point i without reconstruction.
 
su2double * U_j
 Vector of conservative variables at point j.
 
su2double * UZeroOrder_j
 Vector of conservative variables at point j without reconstruction.
 
su2double * U_jd
 Vector of derivative of conservative variables at point j.
 
su2double * U_0
 Vector of conservative variables at node 0.
 
su2double * U_1
 Vector of conservative variables at node 1.
 
su2double * U_2
 Vector of conservative variables at node 2.
 
su2double * U_3
 Vector of conservative variables at node 3.
 
su2double * V_i
 Vector of primitive variables at point i.
 
su2double * V_j
 Vector of primitive variables at point j.
 
su2double * S_i
 Vector of secondary variables at point i.
 
su2double * S_j
 Vector of secondary variables at point j.
 
su2double * Psi_i
 Vector of adjoint variables at point i.
 
su2double * Psi_j
 Vector of adjoint variables at point j.
 
su2double * DeltaU_i
 Vector of linearized variables at point i.
 
su2double * DeltaU_j
 Vector of linearized variables at point j.
 
su2double * TurbVar_i
 Vector of turbulent variables at point i.
 
su2double * TurbVar_id
 Vector of derivative of turbulent variables at point i.
 
su2double * TurbVar_j
 Vector of turbulent variables at point j.
 
su2double * TurbVar_jd
 Vector of derivative of turbulent variables at point j.
 
su2double * TransVar_i
 Vector of turbulent variables at point i.
 
su2double * TransVar_j
 Vector of turbulent variables at point j.
 
su2double * TurbPsi_i
 Vector of adjoint turbulent variables at point i.
 
su2double * TurbPsi_j
 Vector of adjoint turbulent variables at point j.
 
su2double ** ConsVar_Grad_i
 Gradient of conservative variables at point i.
 
su2double ** ConsVar_Grad_j
 Gradient of conservative variables at point j.
 
su2double ** ConsVar_Grad_0
 Gradient of conservative variables at point 0.
 
su2double ** ConsVar_Grad_1
 Gradient of conservative variables at point 1.
 
su2double ** ConsVar_Grad_2
 Gradient of conservative variables at point 2.
 
su2double ** ConsVar_Grad_3
 Gradient of conservative variables at point 3.
 
su2double ** ConsVar_Grad
 Gradient of conservative variables which is a scalar.
 
su2double ** PrimVar_Grad_i
 Gradient of primitive variables at point i.
 
su2double ** PrimVar_Grad_j
 Gradient of primitive variables at point j.
 
su2double * PrimVar_Lim_i
 Limiter of primitive variables at point i.
 
su2double * PrimVar_Lim_j
 Limiter of primitive variables at point j.
 
su2double * PsiVar_Lim_i
 Limiter of adjoint variables at point i.
 
su2double * PsiVar_Lim_j
 Limiter of adjoint variables at point j.
 
su2double ** PsiVar_Grad_i
 Gradient of adjoint variables at point i.
 
su2double ** PsiVar_Grad_j
 Gradient of adjoint variables at point j.
 
su2double ** TurbVar_Grad_i
 Gradient of turbulent variables at point i.
 
su2double ** TurbVar_Grad_j
 Gradient of turbulent variables at point j.
 
su2double ** TransVar_Grad_i
 Gradient of turbulent variables at point i.
 
su2double ** TransVar_Grad_j
 Gradient of turbulent variables at point j.
 
su2double ** TurbPsi_Grad_i
 Gradient of adjoint turbulent variables at point i.
 
su2double ** TurbPsi_Grad_j
 Gradient of adjoint turbulent variables at point j.
 
su2double * AuxVar_Grad_i
 Gradient of an auxiliary variable at point i.
 
su2double * AuxVar_Grad_j
 Gradient of an auxiliary variable at point i.
 
su2double * Coord_i
 Cartesians coordinates of point i.
 
su2double * Coord_j
 Cartesians coordinates of point j.
 
su2double * Coord_0
 Cartesians coordinates of point 0 (Galerkin method, triangle).
 
su2double * Coord_1
 Cartesians coordinates of point 1 (Galerkin method, tetrahedra).
 
su2double * Coord_2
 Cartesians coordinates of point 2 (Galerkin method, triangle).
 
su2double * Coord_3
 Cartesians coordinates of point 3 (Galerkin method, tetrahedra).
 
unsigned short Neighbor_i
 Number of neighbors of the point i.
 
unsigned short Neighbor_j
 Number of neighbors of the point j.
 
su2double * Normal
 Normal vector, it norm is the area of the face.
 
su2double * UnitNormal
 Unitary normal vector.
 
su2double * UnitNormald
 derivatve of 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 Volume_n
 Volume of the control volume at time n.
 
su2double Volume_nM1
 Volume of the control volume at time n-1.
 
su2double Volume_nP1
 Volume of the control volume at time n+1.
 
su2double * U_n
 Vector of conservative variables at time n.
 
su2double * U_nM1
 Vector of conservative variables at time n-1.
 
su2double * U_nP1
 Vector of conservative variables at time n+1.
 
su2double vel2_inf
 value of the square of freestream speed.
 
su2double * WindGust_i
 Wind gust at point i.
 
su2double * WindGust_j
 Wind gust at point j.
 
su2double * WindGustDer_i
 Wind gust derivatives at point i.
 
su2double * WindGustDer_j
 Wind gust derivatives at point j.
 
su2double * Vorticity_i
 
su2double * Vorticity_j
 Vorticity.
 
su2double StrainMag_i
 
su2double StrainMag_j
 Strain rate magnitude.
 
su2double * l
 
su2double * m
 
- Protected Attributes inherited from CNumerics
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 Gas_Constant
 Gas constant.
 
su2double * Vector
 Auxiliary vector.
 
su2double * Enthalpy_formation
 
su2double Prandtl_Lam
 Laminar Prandtl's number.
 
su2double Prandtl_Turb
 Turbulent Prandtl's number.
 

Detailed Description

Class for integrating the source terms of the Spalart-Allmaras turbulence model equation.

Author
A. Bueno.
Version
5.0.0 "Raven"

Constructor & Destructor Documentation

§ CSourcePieceWise_TurbSA()

CSourcePieceWise_TurbSA::CSourcePieceWise_TurbSA ( unsigned short  val_nDim,
unsigned short  val_nVar,
CConfig config 
)

Constructor of the class.

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.

Member Function Documentation

§ ComputeResidual()

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

Residual for source term integration.

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 from CNumerics.

§ SetCrossProduction()

void CSourcePieceWise_TurbSA::SetCrossProduction ( su2double  val_crossproduction)
inlinevirtual

Residual for source term integration.

Parameters
[in]val_crossproduction- Value of the CrossProduction.

Reimplemented from CNumerics.

§ SetDestruction()

void CSourcePieceWise_TurbSA::SetDestruction ( su2double  val_destruction)
inlinevirtual

Residual for source term integration.

Parameters
[in]val_destruction- Value of the Destruction.

Reimplemented from CNumerics.

§ SetIntermittency()

void CSourcePieceWise_TurbSA::SetIntermittency ( su2double  intermittency_in)
inlinevirtual

Residual for source term integration.

Parameters
[in]intermittency_in- Value of the intermittency.

Reimplemented from CNumerics.

§ SetProduction()

void CSourcePieceWise_TurbSA::SetProduction ( su2double  val_production)
inlinevirtual

Residual for source term integration.

Parameters
[in]val_production- Value of the Production.

Reimplemented from CNumerics.


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