@@ -2394,7 +2394,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
23942394 unsigned short iMarker, iMarker_Monitoring, iDim, jDim;
23952395 unsigned short T_INDEX = 0 , TVE_INDEX = 0 , VEL_INDEX = 0 , RHOS_INDEX = 0 ;
23962396 su2double Viscosity = 0.0 , WallDist[3 ] = {0.0 }, Area, TauNormal, dTn, dTven,
2397- Density = 0.0 , GradTemperature, WallDistMod, FrictionVel,
2397+ Density = 0.0 , WallDistMod, FrictionVel,
23982398 UnitNormal[3 ] = {0.0 }, TauElem[3 ] = {0.0 }, TauTangent[3 ] = {0.0 }, Tau[3 ][3 ] = {{0.0 }}, Cp,
23992399 thermal_conductivity, MaxNorm = 8.0 , Grad_Vel[3 ][3 ] = {{0.0 }}, Grad_Temp[3 ] = {0.0 }, AxiFactor;
24002400 const su2double *Coord = nullptr , *Coord_Normal = nullptr , *Normal = nullptr ;
@@ -2557,6 +2557,8 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
25572557 // / TODO: Move these ifs to specialized functions.
25582558 if (!nemo){
25592559
2560+ su2double GradTemperature;
2561+
25602562 if (FlowRegime == ENUM_REGIME::COMPRESSIBLE) {
25612563 GradTemperature = -GeometryToolbox::DotProduct (nDim, Grad_Temp, UnitNormal);
25622564
0 commit comments