@@ -296,24 +296,6 @@ void CNEMONSSolver::BC_HeatFluxNonCatalytic_Wall(CGeometry *geometry,
296296 su2double ktr = nodes->GetThermalConductivity (iPoint);
297297 su2double kve = nodes->GetThermalConductivity_ve (iPoint);
298298
299- /* --- Scale thermal conductivity with turb ---*/
300- // TODO: Need to determine proper way to incorporate eddy viscosity
301- // This is only scaling Kve by same factor as ktr
302- su2double Mass = 0.0 ;
303- auto & Ms = FluidModel->GetSpeciesMolarMass ();
304- su2double tmp1, scl, Cptr;
305- su2double Ru=1000.0 *UNIVERSAL_GAS_CONSTANT;
306- su2double eddy_viscosity = nodes->GetEddyViscosity (iPoint);
307- for (unsigned short iSpecies=0 ; iSpecies<nSpecies; iSpecies++)
308- Mass += V[iSpecies]/V[RHO_INDEX]*Ms[iSpecies];
309- Cptr = V[RHOCVTR_INDEX]/V[RHO_INDEX]+Ru/Mass;
310- tmp1 = Cptr*(eddy_viscosity/Prandtl_Turb);
311- scl = tmp1/ktr;
312- ktr += Cptr*(eddy_viscosity/Prandtl_Turb);
313- kve = kve*(1.0 +scl);
314- // Cpve = V[RHOCVVE_INDEX]+Ru/Mass;
315- // kve += Cpve*(val_eddy_viscosity/Prandtl_Turb);
316-
317299 /* --- Compute residual ---*/
318300 Res_Visc[nSpecies+nDim] += pcontrol*(ktr*dTdn+kve*dTvedn) +
319301 Wall_HeatFlux*Area;
@@ -658,24 +640,6 @@ void CNEMONSSolver::BC_IsothermalNonCatalytic_Wall(CGeometry *geometry,
658640 su2double ktr = nodes->GetThermalConductivity (iPoint);
659641 su2double kve = nodes->GetThermalConductivity_ve (iPoint);
660642
661- /* --- Scale thermal conductivity with turb ---*/
662- // This is only scaling Kve by same factor as ktr
663- const auto V = nodes->GetPrimitive (iPoint);
664- su2double Mass = 0.0 ;
665- auto & Ms = FluidModel->GetSpeciesMolarMass ();
666- su2double tmp1, scl, Cptr;
667- su2double Ru=1000.0 *UNIVERSAL_GAS_CONSTANT;
668- su2double eddy_viscosity=nodes->GetEddyViscosity (iPoint);
669- for (unsigned short iSpecies=0 ; iSpecies<nSpecies; iSpecies++)
670- Mass += V[iSpecies]/V[RHO_INDEX]*Ms[iSpecies];
671- Cptr = V[RHOCVTR_INDEX]/V[RHO_INDEX]+Ru/Mass;
672- tmp1 = Cptr*(eddy_viscosity/Prandtl_Turb);
673- scl = tmp1/ktr;
674- ktr += Cptr*(eddy_viscosity/Prandtl_Turb);
675- kve = kve*(1.0 +scl);
676- // Cpve = V[RHOCVVE_INDEX]+Ru/Mass;
677- // kve += Cpve*(val_eddy_viscosity/Prandtl_Turb);
678-
679643 /* --- Apply to the linear system ---*/
680644 Res_Visc[nSpecies+nDim] = ((ktr*(Ti-Tj) + kve*(Tvei-Tvej)) +
681645 (ktr*(Twall-Ti) + kve*(Twall-Tvei))*C)*Area/dist_ij;
@@ -993,20 +957,6 @@ void CNEMONSSolver::BC_Smoluchowski_Maxwell(CGeometry *geometry,
993957 su2double Density = nodes->GetDensity (iPoint);
994958 su2double Gamma = nodes->GetGamma (iPoint);
995959
996- /* --- Incorporate turbulence effects ---*/
997- const auto & Ms = FluidModel->GetSpeciesMolarMass ();
998- su2double Ru = 1000.0 *UNIVERSAL_GAS_CONSTANT;
999- const auto Vi = nodes->GetPrimitive (iPoint);
1000-
1001- su2double Mass = 0.0 ;
1002- for (auto iSpecies=0u ; iSpecies<nSpecies; iSpecies++)
1003- Mass += Vi[iSpecies]*Ms[iSpecies];
1004- su2double Cptr = rhoCvtr + Ru/Mass;
1005- su2double tmp1 = Cptr*(Eddy_Visc/Prandtl_Turb);
1006- su2double scl = tmp1/ktr;
1007- ktr += Cptr*(Eddy_Visc/Prandtl_Turb);
1008- kve = kve*(1.0 +scl);
1009-
1010960 /* --- Retrieve Primitive Gradients ---*/
1011961 const auto Grad_PrimVar = nodes->GetGradient_Primitive (iPoint);
1012962
0 commit comments