@@ -2393,8 +2393,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
23932393 unsigned long iVertex, iPoint, iPointNormal;
23942394 unsigned short iMarker, iMarker_Monitoring, iDim, jDim;
23952395 unsigned short T_INDEX = 0 , TVE_INDEX = 0 , VEL_INDEX = 0 , RHOS_INDEX = 0 ;
2396- su2double Viscosity = 0.0 , WallDist[3 ] = {0.0 }, Area, TauNormal, dTn, dTven,
2397- Density = 0.0 , GradTemperature, WallDistMod, FrictionVel,
2396+ su2double Viscosity = 0.0 , WallDist[3 ] = {0.0 }, Area, Density = 0.0 , GradTemperature,
23982397 UnitNormal[3 ] = {0.0 }, TauElem[3 ] = {0.0 }, TauTangent[3 ] = {0.0 }, Tau[3 ][3 ] = {{0.0 }}, Cp,
23992398 thermal_conductivity, MaxNorm = 8.0 , Grad_Vel[3 ][3 ] = {{0.0 }}, Grad_Temp[3 ] = {0.0 }, AxiFactor;
24002399 const su2double *Coord = nullptr , *Coord_Normal = nullptr , *Normal = nullptr ;
@@ -2527,7 +2526,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25272526 /* --- Compute wall shear stress (using the stress tensor). Compute wall skin friction coefficient, and heat flux
25282527 * on the wall ---*/
25292528
2530- TauNormal = GeometryToolbox::DotProduct (nDim, TauElem, UnitNormal);
2529+ su2double TauNormal = GeometryToolbox::DotProduct (nDim, TauElem, UnitNormal);
25312530
25322531 for (iDim = 0 ; iDim < nDim; iDim++) {
25332532 TauTangent[iDim] = TauElem[iDim] - TauNormal * UnitNormal[iDim];
@@ -2541,11 +2540,11 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25412540
25422541 for (iDim = 0 ; iDim < nDim; iDim++) WallDist[iDim] = (Coord[iDim] - Coord_Normal[iDim]);
25432542
2544- WallDistMod = GeometryToolbox::Norm (nDim, WallDist);
2543+ su2double WallDistMod = GeometryToolbox::Norm (nDim, WallDist);
25452544
25462545 /* --- Compute y+ and non-dimensional velocity ---*/
25472546
2548- FrictionVel = sqrt (fabs (WallShearStress[iMarker][iVertex]) / Density);
2547+ su2double FrictionVel = sqrt (fabs (WallShearStress[iMarker][iVertex]) / Density);
25492548
25502549 /* --- in case of wall functions, we have computed YPlus in the turbulence class --- */
25512550 /* --- Note that we do not recompute y+ when y+<5 because y+ can become > 5 again --- */
@@ -2586,8 +2585,8 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25862585 for (iSpecies = 0 ; iSpecies < nSpecies; iSpecies++)
25872586 sumJhs += Ds[iSpecies]*hs[iSpecies]*GeometryToolbox::DotProduct (nDim, Grad_PrimVar[RHOS_INDEX+iSpecies], UnitNormal);
25882587
2589- dTn = GeometryToolbox::DotProduct (nDim, Grad_PrimVar[T_INDEX], UnitNormal);
2590- dTven = GeometryToolbox::DotProduct (nDim, Grad_PrimVar[TVE_INDEX], UnitNormal);
2588+ su2double dTn = GeometryToolbox::DotProduct (nDim, Grad_PrimVar[T_INDEX], UnitNormal);
2589+ su2double dTven = GeometryToolbox::DotProduct (nDim, Grad_PrimVar[TVE_INDEX], UnitNormal);
25912590
25922591 /* --- Surface energy balance: trans-rot heat flux, vib-el heat flux,
25932592 enthalpy transport due to mass diffusion ---*/
0 commit comments