|
SU2
|
Class for defining the numerical methods. More...
#include <numerics_structure.hpp>
Public Member Functions | |
| 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, 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 | SetIntermittency (su2double intermittency_in) |
| Set intermittency for numerics (used in SA with LM transition model) | |
| virtual void | SetProduction (su2double val_production) |
| Residual for source term integration. More... | |
| virtual void | SetDestruction (su2double val_destruction) |
| Residual for source term integration. More... | |
| virtual void | SetCrossProduction (su2double val_crossproduction) |
| Residual for source term integration. More... | |
| virtual su2double | GetProduction (void) |
| Residual for source term integration. More... | |
| virtual su2double | GetDestruction (void) |
| Residual for source term integration. More... | |
| virtual su2double | GetCrossProduction (void) |
| Residual for source term integration. 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... | |
Public Attributes | |
| 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 | |
| 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. | |
Class for defining the numerical methods.
| CNumerics::CNumerics | ( | unsigned short | val_nDim, |
| unsigned short | val_nVar, | ||
| CConfig * | config | ||
| ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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. |
|
inlinevirtual |
A virtual member to compute the averaged nodal stresses.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_NonlinearElasticity, CFEM_LinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the constitutive matrix in an element for structural problems.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_NeoHookean_Incomp, CFEM_NeoHookean_Comp, CFEM_NonlinearElasticity, and CFEM_Elasticity.
A virtual member to compute the residual component due to dead loads.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the mass matrix.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the pressure term in incompressible or nearly-incompressible structural problems.
| [in] | element_container | - Definition of the particular element integrated. |
Reimplemented in CFEM_NonlinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the nodal stress term in non-linear structural problems.
| [in] | element_container | - Definition of the particular element integrated. |
Reimplemented in CFEM_NonlinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the plane stress term in an element for nonlinear structural problems.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_NeoHookean_Incomp, CFEM_NeoHookean_Comp, CFEM_NonlinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the stress tensor in an element for structural problems.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_NeoHookean_Incomp, CFEM_NeoHookean_Comp, CFEM_NonlinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
A virtual member to compute the tangent matrix in structural problems.
| [in] | element_container | - Element structure for the particular element integrated. |
Reimplemented in CFEM_NonlinearElasticity, CFEM_LinearElasticity, and CFEM_Elasticity.
|
inlinevirtual |
Calculation of the chemistry source term.
| [in] | config | - Definition of the particular problem. |
| [out] | val_residual | - residual of the source terms |
| [out] | val_Jacobian_i | - Jacobian of the source terms |
|
inlinevirtual |
Compute the numerical residual.
| [out] | val_residual | - Pointer to the total residual. |
| [in] | config | - Definition of the particular problem. |
Reimplemented in CSourceConservative_AdjFlow, CSourceViscous_AdjFlow, and CSourceGravity.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | val_residual_i | - Pointer to the total residual at point i. |
| [out] | val_residual_j | - Pointer to the total residual at point j. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | val_residual_i | - Pointer to the total residual at point i. |
| [out] | val_residual_j | - Pointer to the total residual at point j. |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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 CViscous_Template, CConvective_Template, CSourceConservative_AdjTurb, CSourcePieceWise_AdjTurb, CSourcePieceWise_TurbSST, CSourcePieceWise_TurbSA_Neg, CSourcePieceWise_TurbSA, CAvgGrad_AdjTurb, CAvgGradCorrected_AdjTurb, CAvgGradCorrected_TurbSST, CAvgGrad_TurbSST, CAvgGradCorrected_TransLM, CAvgGradCorrected_TurbML, CAvgGradCorrected_TurbSA_Neg, CAvgGradCorrected_TurbSA, CAvgGradCorrectedArtComp_Flow, CGeneralAvgGradCorrected_Flow, CAvgGradCorrected_Flow, CAvgGrad_TransLM, CAvgGrad_TurbML, CAvgGrad_TurbSA_Neg, CAvgGrad_TurbSA, CAvgGradArtComp_Flow, CGeneralAvgGrad_Flow, CAvgGrad_Flow, CCentLaxArtComp_Flow, CCentLax_Flow, CCentJSTArtComp_Flow, CCentJST_Flow, CCentJST_KE_Flow, CUpwSca_TransLM, CUpwSca_TurbSST, CUpwSca_TurbML, CUpwSca_TurbSA, CUpwLin_AdjTurb, CUpwLin_TransLM, CUpwGeneralHLLC_Flow, CUpwHLLC_Flow, CUpwAUSM_Flow, CUpwArtComp_Flow, CUpwTurkel_Flow, CUpwMSW_Flow, CUpwGeneralRoe_Flow, CUpwRoe_Flow, and CUpwCUSP_Flow.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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). |
| [out] | val_JacobianMeanFlow_i | - Jacobian of the numerical method at node i (implicit computation). |
| [out] | val_JacobianMeanFlow_j | - Jacobian of the numerical method at node j (implicit computation). |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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 CAvgGrad_AdjTurb, CAvgGradCorrected_AdjTurb, CAvgGradCorrectedArtComp_AdjFlow, CAvgGradCorrected_AdjFlow, CAvgGradArtComp_AdjFlow, CAvgGrad_AdjFlow, CUpwSca_AdjTurb, CUpwRoeArtComp_AdjFlow, and CUpwRoe_AdjFlow.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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 CCentLaxArtComp_AdjFlow, CCentLax_AdjFlow, CCentJSTArtComp_AdjFlow, and CCentJST_AdjFlow.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | val_stiffmatrix_elem | - Stiffness matrix for Galerkin computation. |
| [in] | config | - Definition of the particular problem. |
Reimplemented in CGalerkin_Flow.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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_Template, CSourceWindGust, CSourceAxisymmetric_AdjFlow, CSourceAxisymmetric_Flow, CSourceRotatingFrame_AdjFlow, and CSourceRotatingFrame_Flow.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | val_Jacobian_i | - Jacobian of the numerical method at node i |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | val_Jacobian_i | - Jacobian of the numerical method at node i |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
Residual for source term integration.
| [out] | val_residual | - Pointer to the source residual containing chemistry terms. |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
Residual for source term integration.
| [out] | val_residual | - Pointer to the source residual containing chemistry terms. |
| [in] | config | - Definition of the particular problem. |
|
inlinevirtual |
Calculation of the translational-vibrational energy exchange source term.
| [in] | config | - Definition of the particular problem. |
| [out] | val_residual | - residual of the source terms |
| [out] | val_Jacobian_i | - Jacobian of the source terms |
| void CNumerics::CreateBasis | ( | su2double * | val_Normal | ) |
Computes a basis of orthogonal vectors from a suppled vector.
| [in] | config | - Normal vector |
|
inline |
Compute the determinant of a 3 by 3 matrix.
| [in] | val_matrix | 3 by 3 matrix. |
|
inlinevirtual |
Residual for source term integration.
| [in] | val_crossproduction | - Value of the CrossProduction. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
|
inlinevirtual |
Residual for source term integration.
| [in] | val_destruction | - Value of the Destruction. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
|
inlinevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [out] | - | Matrix for storing the constants to be used in the calculation of the equilibrium extent of reaction Keq. |
| [in] | config | - Definition of the particular problem. |
| void CNumerics::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.
| [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. |
| void CNumerics::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).
| [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. |
| void CNumerics::GetInviscidFlux | ( | su2double | val_density, |
| su2double * | val_velocity, | ||
| su2double | val_pressure, | ||
| su2double | val_enthalpy | ||
| ) |
Get the inviscid fluxes.
| [in] | val_density | - Value of the density. |
| [in] | val_velocity | - Value of the velocity. |
| [in] | val_pressure | - Value of the pressure. |
| [in] | val_enthalpy | - Value of the enthalpy. |
| void CNumerics::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.
| [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. |
| void CNumerics::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.
| [in] | val_velocity | Pointer to the velocity. |
| [in] | val_energy | Value 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. |
| void CNumerics::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.
| [in] | val_velocity | Pointer to the velocity. |
| [in] | val_energy | Value 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. |
| void CNumerics::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.
| [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. |
| void CNumerics::GetJacInviscidLambda_fabs | ( | su2double * | val_velocity, |
| su2double | val_soundspeed, | ||
| su2double * | val_normal, | ||
| su2double * | val_Lambda_Vector | ||
| ) |
Computation of the projected inviscid lambda (eingenvalues).
| [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. |
|
inlinevirtual |
Calculates constants used for Keq correlation.
| [out] | A | - Pointer to coefficient array. |
| [in] | val_reaction | - Reaction number indicator. |
| [in] | config | - Definition of the particular problem. |
| void CNumerics::GetLMatrix | ( | su2double | val_soundspeed, |
| su2double | val_density, | ||
| su2double * | val_normal, | ||
| su2double ** | L_Matrix | ||
| ) |
Computation of the matrix R.
| [in] | val_soundspeed | - value of the sound speed. |
| [in] | val_density | - value of the density. |
| [in] | val_normal | - value of the unit normal. |
| [out] | L_Matrix | - Pointer to the matrix of conversion from conserved to entropic variables. |
| void CNumerics::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$.
| [in] | val_density | - Value of the density. |
| [in] | val_velocity | - Value of the velocity. |
| [in] | val_betainv2 | - Value of the compresibility factor. |
| [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. |
| void CNumerics::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$.
| [in] | val_density | - Value of the density. |
| [in] | val_velocity | - Value of the velocity. |
| [in] | val_betainv2 | - Value of the compresibility factor. |
| [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. |
| void CNumerics::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.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [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. |
| void CNumerics::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$.
| [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_p_tensor | - Pointer to the P matrix. |
| void CNumerics::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$.
| [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. |
| void CNumerics::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$.
| [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. |
|
inlinevirtual |
Get the Preconditioning Beta.
Reimplemented in CUpwTurkel_Flow.
| void CNumerics::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)|$.
| [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. |
| void CNumerics::GetPrimitive2Conservative | ( | su2double * | val_Mean_PrimVar, |
| su2double * | val_Mean_SecVar, | ||
| su2double ** | val_Jac_PC | ||
| ) |
Mapping between primitives variables P and conservatives variables C.
| [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. |
|
inlinevirtual |
Residual for source term integration.
| [in] | val_production | - Value of the Production. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
| void CNumerics::GetRMatrix | ( | su2double | val_pressure, |
| su2double | val_soundspeed, | ||
| su2double | val_density, | ||
| su2double * | val_velocity, | ||
| su2double ** | val_invR_invPe | ||
| ) |
Computation of the matrix R.
| [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. |
| void CNumerics::GetRMatrix | ( | su2double | val_soundspeed, |
| su2double | val_density, | ||
| su2double * | val_normal, | ||
| su2double ** | R_Matrix | ||
| ) |
Computation of the matrix R.
| [in] | val_soundspeed | - value of the sound speed. |
| [in] | val_density | - value of the density. |
| [in] | val_normal | - value of the unit normal. |
| [out] | R_Matrix | - Pointer to the matrix of conversion from entropic to conserved variables. |
| void CNumerics::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.
| [in] | val_laminar_viscosity | - Value of the laminar viscosity. |
| [in] | val_eddy_viscosity | - Value of the eddy viscosity. |
| [in] | val_dist_ij | - Distance between the points. |
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| [in] | val_dS | - Area of the face between two nodes. |
| [out] | val_Proj_Jac_Tensor_i | - Pointer to the projected viscous Jacobian at point i. |
| [out] | val_Proj_Jac_Tensor_j | - Pointer to the projected viscous Jacobian at point j. |
| void CNumerics::GetViscousFlux | ( | su2double * | val_primvar, |
| su2double ** | val_gradprimvar, | ||
| su2double | val_laminar_viscosity, | ||
| su2double | val_eddy_viscosity, | ||
| su2double | val_mach_inf | ||
| ) |
Get the viscous fluxes.
| [in] | val_primvar | - Value of the primitive variables. |
| [in] | val_gradprimvar | - Gradient of the primitive variables. |
| [in] | val_laminar_viscosity | - Value of the laminar viscosity. |
| [in] | val_eddy_viscosity | - Value of the eddy viscosity. |
| [in] | val_mach_inf | - Value of the Mach number at the infinity. |
| void CNumerics::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.
| [in] | val_primvar | - Primitive variables. |
| [in] | val_gradprimvar | - Gradient of the primitive variables. |
| [in] | val_turb_ke | - Turbulent kinetic energy |
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| [in] | val_laminar_viscosity | - Laminar viscosity. |
| [in] | val_eddy_viscosity | - Eddy viscosity. |
| [in] | val_thermal_conductivity | - Thermal Conductivity. |
| [in] | val_eddy_conductivity | - Eddy Conductivity. |
| void CNumerics::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.
| [in] | val_primvar | - Primitive variables. |
| [in] | val_gradprimvar | - Gradient of the primitive variables. |
| [in] | val_turb_ke | - Turbulent kinetic energy |
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| [in] | val_laminar_viscosity | - Laminar viscosity. |
| [in] | val_eddy_viscosity | - Eddy viscosity. |
| [in] | val_thermal_conductivity | - Thermal Conductivity. |
| [in] | val_heat_capacity_cp | - Heat Capacity at constant pressure. |
| void CNumerics::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.
| [in] | val_Mean_PrimVar | - Mean value of the primitive variables. |
| [in] | val_laminar_viscosity | - Value of the laminar viscosity. |
| [in] | val_eddy_viscosity | - Value of the eddy viscosity. |
| [in] | val_dist_ij | - Distance between the points. |
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| [in] | val_dS | - Area of the face between two nodes. |
| [in] | val_Proj_Visc_Flux | - Pointer to the projected viscous flux. |
| [out] | val_Proj_Jac_Tensor_i | - Pointer to the projected viscous Jacobian at point i. |
| [out] | val_Proj_Jac_Tensor_j | - Pointer to the projected viscous Jacobian at point j. |
| void CNumerics::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.
| [in] | val_Mean_PrimVar | - Mean value of the primitive variables. |
| [in] | val_gradprimvar | - Mean value of the gradient of the primitive variables. |
| [in] | val_Mean_SecVar | - Mean value of the secondary variables. |
| [in] | val_laminar_viscosity | - Value of the laminar viscosity. |
| [in] | val_eddy_viscosity | - Value of the eddy viscosity. |
| [in] | val_thermal_conductivity | - Value of the thermal conductivity. |
| [in] | val_heat_capacity_cp | - Value of the specific heat at constant pressure. |
| [in] | val_dist_ij | - Distance between the points. |
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| [in] | val_dS | - Area of the face between two nodes. |
| [in] | val_Proj_Visc_Flux | - Pointer to the projected viscous flux. |
| [out] | val_Proj_Jac_Tensor_i | - Pointer to the projected viscous Jacobian at point i. |
| [out] | val_Proj_Jac_Tensor_j | - Pointer to the projected viscous Jacobian at point j. |
|
inline |
Set the value of the adjoint variable.
| [in] | val_psi_i | - Value of the adjoint variable at point i. |
| [in] | val_psi_j | - Value of the adjoint variable at point j. |
|
inline |
Set the gradient of the adjoint variables.
| [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. |
|
inline |
Set the limiter of the adjoint variables.
| [in] | val_psivar_lim_i | - Gradient of the adjoint variable at point i. |
| [in] | val_psivar_lim_j | - Gradient of the adjoint variable at point j. |
| void CNumerics::SetAIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inline |
Set the gradient of the auxiliary variables.
| [in] | val_auxvargrad_i | - Gradient of the auxiliary variable at point i. |
| [in] | val_auxvargrad_j | - Gradient of the auxiliary variable at point j. |
|
inline |
Set the value of the beta for incompressible flows.
| [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. |
|
inline |
Set the value of the conservative variables.
| [in] | val_u_i | - Value of the conservative variable at point i. |
| [in] | val_u_j | - Value of the conservative variable at point j. |
|
inline |
Set the value of the conservative variables.
| [in] | val_u_0 | - Value of the conservative variable at point 0. |
| [in] | val_u_1 | - Value of the conservative variable at point 1. |
| [in] | val_u_2 | - Value of the conservative variable at point 2. |
|
inline |
Set the value of the conservative variables.
| [in] | val_u_0 | - Value of the conservative variable at point 0. |
| [in] | val_u_1 | - Value of the conservative variable at point 1. |
| [in] | val_u_2 | - Value of the conservative variable at point 2. |
| [in] | val_u_3 | - Value of the conservative variable at point 3. |
|
inline |
Set the value of the conservative variables withour reconstruction.
| [in] | val_u_i | - Value of the conservative variable at point i. |
| [in] | val_u_j | - Value of the conservative variable at point j. |
|
inline |
Set the gradient of the conservative variables.
| [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. |
|
inline |
Set the gradient of the conservative variables.
| [in] | val_consvar_grad_0 | - Gradient of the conservative variable at point 0. |
| [in] | val_consvar_grad_1 | - Gradient of the conservative variable at point 1. |
| [in] | val_consvar_grad_2 | - Gradient of the conservative variable at point 2. |
|
inline |
Set the gradient of the conservative variables.
| [in] | val_consvar_grad_0 | - Gradient of the conservative variable at point 0. |
| [in] | val_consvar_grad_1 | - Gradient of the conservative variable at point 1. |
| [in] | val_consvar_grad_2 | - Gradient of the conservative variable at point 2. |
| [in] | val_consvar_grad_3 | - Gradient of the conservative variable at point 3. |
|
inline |
Set the gradient of the conservative variables.
| [in] | val_consvar_grad | - Gradient of the conservative variable which is a scalar. |
|
inline |
Set coordinates of the points.
| [in] | val_coord_i | - Coordinates of the point i. |
| [in] | val_coord_j | - Coordinates of the point j. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_coord_0 | - Coordinates of the point 0. |
| [in] | val_coord_1 | - Coordinates of the point 1. |
| [in] | val_coord_2 | - Coordinates of the point 2. |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| [in] | val_coord_0 | - Coordinates of the point 0. |
| [in] | val_coord_1 | - Coordinates of the point 1. |
| [in] | val_coord_2 | - Coordinates of the point 2. |
| [in] | val_coord_3 | - Coordinates of the point 3. |
|
inlinevirtual |
Set the value of the cross diffusion for the SST model.
| [in] | val_CDkw_i | - Value of the cross diffusion at point i. |
| [in] | val_CDkw_j | - Value of the cross diffusion at point j. |
Reimplemented in CSourcePieceWise_TurbSST.
|
inlinevirtual |
Residual for source term integration.
| [in] | val_crossproduction | - Value of the CrossProduction. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
|
inline |
Set the value of the density for the incompressible solver.
| [in] | val_densityinc_i | - Value of the pressure at point i. |
| [in] | val_densityinc_j | - Value of the pressure at point j. |
|
inlinevirtual |
Residual for source term integration.
| [in] | val_destruction | - Value of the Destruction. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
|
inline |
Set the diffusion coefficient.
| [in] | val_diffusioncoeff_i | - Value of the diffusion coefficients at i. |
| [in] | val_diffusioncoeff_j | - Value of the diffusion coefficients at j |
|
inline |
Set the value of the distance from the nearest wall.
| [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. |
| void CNumerics::SetdPdU | ( | su2double * | val_dPdU_i, |
| su2double * | val_dPdU_j | ||
| ) |
Sets the value of the derivative of pressure w.r.t. species density.
| [in] | iRho_s |
| void CNumerics::SetdTdU | ( | su2double * | val_dTdU_i, |
| su2double * | val_dTdU_j | ||
| ) |
Sets the value of the derivative of temperature w.r.t. species density.
| [in] | iRho_s |
| void CNumerics::SetdTvedU | ( | su2double * | val_dTvedU_i, |
| su2double * | val_dTvedU_j | ||
| ) |
Sets the value of the derivative of vib-el. temperature w.r.t. species density.
| [in] | iRho_s |
|
inline |
Set the eddy viscosity.
| [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. |
|
inline |
Set the value of the enthalpy.
| [in] | val_enthalpy_i | - Value of the enthalpy at point i. |
| [in] | val_enthalpy_j | - Value of the enthalpy at point j. |
|
inlinevirtual |
Set the value of the first blending function.
| [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, CAvgGradCorrected_TurbSST, and CAvgGrad_TurbSST.
|
inlinevirtual |
Set the value of the second blending function.
| [in] | val_F1_i | - Value of the second Menter blending function at point i. |
| [in] | val_F1_j | - Value of the second Menter blending function at point j. |
Reimplemented in CSourcePieceWise_TurbSST.
|
inline |
Set the velocity of the computational grid.
| [in] | val_gridvel_i | - Grid velocity of the point i. |
| [in] | val_gridvel_j | - Grid velocity of the point j. |
| void CNumerics::SetHIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inlinevirtual |
Calculation of axisymmetric source term Jacobian.
| [out] | val_Jacobian_i | - Jacobian of the numerical method at node i (implicit computation). |
| [in] | config | - Definition of the particular problem. |
|
inline |
Set the value of the spectral radius.
| [in] | val_lambda_i | - Value of the spectral radius at point i. |
| [in] | val_lambda_j | - Value of the spectral radius at point j. |
|
inline |
Set the laminar viscosity.
| [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. |
|
inline |
Set the number of neighbor to a point.
| [in] | val_neighbor_i | - Number of neighbor to point i. |
| [in] | val_neighbor_j | - Number of neighbor to point j. |
|
inline |
Set the value of the normal vector to the face between two points.
| [in] | val_normal | - Normal vector, the norm of the vector is the area of the face. |
| void CNumerics::SetPastSol | ( | su2double * | val_u_nM1, |
| su2double * | val_u_n, | ||
| su2double * | val_u_nP1 | ||
| ) |
Set the solution at different times.
| [in] | val_u_nM1 | Conservative solution at time n-1. |
| [in] | val_u_n | Conservative solution at time n. |
| [in] | val_u_nP1 | Conservative solution at time n+1. |
| void CNumerics::SetPastVolume | ( | su2double | val_volume_nM1, |
| su2double | val_volume_n, | ||
| su2double | val_volume_nP1 | ||
| ) |
Set the control volume at different times.
| [in] | val_volume_nM1 | - Control volume at time n-1. |
| [in] | val_volume_n | - Control volume at time n. |
| [in] | val_volume_nP1 | - Control volume at time n+1. |
| void CNumerics::SetPIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inline |
Set the value of the pressure.
| [in] | val_pressure_i | - Value of the pressure at point i. |
| [in] | val_pressure_j | - Value of the pressure at point j. |
|
inline |
Set the value of the primitive variables.
| [in] | val_v_i | - Value of the primitive variable at point i. |
| [in] | val_v_j | - Value of the primitive variable at point j. |
|
inline |
Set the gradient of the primitive variables.
| [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. |
|
inline |
Set the Limiter of the primitive variables.
| [in] | val_primvar_lim_i | - Limiter of the primitive variable at point i. |
| [in] | val_primvar_lim_j | - Limiter of the primitive variable at point j. |
|
inlinevirtual |
Residual for source term integration.
| [in] | val_production | - Value of the Production. |
Reimplemented in CSourcePieceWise_TurbSA_Neg, and CSourcePieceWise_TurbSA.
| void CNumerics::SetRhoCvtrIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
| void CNumerics::SetRhoCvveIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
| void CNumerics::SetRhoIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
| void CNumerics::SetRhosIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inline |
Set the value of the primitive variables.
| [in] | val_v_i | - Value of the primitive variable at point i. |
| [in] | val_v_j | - Value of the primitive variable at point j. |
|
inline |
Set the value of the pressure sensor.
| [in] | val_sensor_i | Pressure sensor at point i. |
| [in] | val_sensor_j | Pressure sensor at point j. |
|
inline |
Set the value of the sound speed.
| [in] | val_soundspeed_i | - Value of the sound speed at point i. |
| [in] | val_soundspeed_j | - Value of the sound speed at point j. |
|
inline |
Set the value of the rate of strain magnitude.
| [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. |
|
inline |
Set the value of the temperature.
| [in] | val_temp_i | - Value of the temperature at point i. |
| [in] | val_temp_j | - Value of the temperature at point j. |
|
inline |
Set the thermal conductivity (translational/rotational)
| [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. |
|
inline |
Set the thermal conductivity (translational/rotational)
| [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. |
|
inline |
Set the time step.
| [in] | val_timestep | - Value of the time step. |
| void CNumerics::SetTIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inline |
Set the value of the turbulent variable.
| [in] | val_transvar_i | - Value of the turbulent variable at point i. |
| [in] | val_transvar_j | - Value of the turbulent variable at point j. |
|
inline |
Set the gradient of the turbulent variables.
| [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. |
|
inline |
Set the gradient of the adjoint turbulent variables.
| [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. |
|
inline |
Set the value of the adjoint turbulent variable.
| [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. |
|
inline |
Set the turbulent kinetic energy.
| [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. |
|
inline |
Set the value of the turbulent variable.
| [in] | val_turbvar_i | - Value of the turbulent variable at point i. |
| [in] | val_turbvar_j | - Value of the turbulent variable at point j. |
|
inline |
Set the gradient of the turbulent variables.
| [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. |
| void CNumerics::SetTveIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the species density in the primitive variable vector.
| [in] | iRho_s |
|
inline |
Set the value of undivided laplacian.
| [in] | val_und_lapl_i | Undivided laplacian at point i. |
| [in] | val_und_lapl_j | Undivided laplacian at point j. |
| void CNumerics::SetVelIndex | ( | unsigned short | val_Index | ) |
Retrieves the value of the velocity index in the primitive variable vector.
| [in] | i(rho*u) |
|
inline |
Set the freestream velocity square.
| [in] | SetVelocity2_Inf | - Value of the square of the freestream velocity. |
|
inline |
Set the value of the volume of the control volume.
| [in] | val_volume | Volume of the control volume. |
|
inline |
Set the value of the vorticity.
| [in] | val_vorticity | - Value of the vorticity. |
|
inline |
Set the wind gust value.
| [in] | val_windgust_i | - Wind gust of the point i. |
| [in] | val_windgust_j | - Wind gust of the point j. |
|
inline |
Set the wind gust derivatives values.
| [in] | val_windgust_i | - Wind gust derivatives of the point i. |
| [in] | val_windgust_j | - Wind gust derivatives of the point j. |
1.8.12