@@ -299,10 +299,6 @@ void CNEMONSSolver::BC_HeatFluxNonCatalytic_Wall(CGeometry *geometry,
299299 const auto Normal = geometry->vertex [val_marker][iVertex]->GetNormal ();
300300 su2double Area = GeometryToolbox::Norm (nDim, Normal);
301301
302- su2double UnitNormal[MAXNDIM] = {0.0 };
303- for (auto iDim = 0u ; iDim < nDim; iDim++)
304- UnitNormal[iDim] = -Normal[iDim]/Area;
305-
306302 /* --- Initialize the convective & viscous residuals to zero ---*/
307303 for (auto iVar = 0u ; iVar < nVar; iVar++) {Res_Visc[iVar] = 0.0 ;}
308304
@@ -433,7 +429,7 @@ void CNEMONSSolver::BC_HeatFluxCatalytic_Wall(CGeometry *geometry,
433429 su2double rho, Ys;
434430 su2double *Normal, Area;
435431 su2double *Ds, *V, *dYdn, SdYdn;
436- su2double **GradV, ** GradY;
432+ su2double **GradY;
437433
438434 /* --- Assign booleans ---*/
439435 implicit = (config->GetKind_TimeIntScheme_Flow () == EULER_IMPLICIT);
@@ -620,8 +616,6 @@ void CNEMONSSolver::BC_IsothermalNonCatalytic_Wall(CGeometry *geometry,
620616 unsigned short val_marker) {
621617
622618 const bool implicit = (config->GetKind_TimeIntScheme () == EULER_IMPLICIT);
623- const su2double Temperature_Ref = config->GetTemperature_Ref ();
624- const su2double Prandtl_Lam = config->GetPrandtl_Lam ();
625619 const su2double Prandtl_Turb = config->GetPrandtl_Turb ();
626620 const bool ionization = config->GetIonization ();
627621
@@ -661,10 +655,6 @@ void CNEMONSSolver::BC_IsothermalNonCatalytic_Wall(CGeometry *geometry,
661655 const auto Normal = geometry->vertex [val_marker][iVertex]->GetNormal ();
662656 su2double Area = GeometryToolbox::Norm (nDim, Normal);
663657
664- su2double UnitNormal[MAXNDIM] = {0.0 };
665- for (auto iDim = 0u ; iDim < nDim; iDim++)
666- UnitNormal[iDim] = -Normal[iDim]/Area;
667-
668658 /* --- Compute closest normal neighbor ---*/
669659 const auto Point_Normal = geometry->vertex [val_marker][iVertex]->GetNormal_Neighbor ();
670660
0 commit comments