Skip to content

Commit f2bc1e6

Browse files
committed
fix more ununsed vars
1 parent e6c3d4e commit f2bc1e6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

SU2_CFD/src/solvers/CNEMONSSolver.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,6 @@ void CNEMONSSolver::BC_HeatFluxNonCatalytic_Wall(CGeometry *geometry,
262262
/*--- Get the locations of the primitive variables ---*/
263263
const unsigned short T_INDEX = nodes->GetTIndex();
264264
const unsigned short TVE_INDEX = nodes->GetTveIndex();
265-
const unsigned short RHO_INDEX = nodes->GetRhoIndex();
266-
const unsigned short RHOCVTR_INDEX = nodes->GetRhoCvtrIndex();
267265

268266
/*--- Loop over all of the vertices on this boundary marker ---*/
269267
SU2_OMP_FOR_DYN(OMP_MIN_SIZE)
@@ -285,7 +283,6 @@ void CNEMONSSolver::BC_HeatFluxNonCatalytic_Wall(CGeometry *geometry,
285283
// TODO: Look into this!
286284
// Note: Contributions from qtr and qve are used for proportional control
287285
// to drive the solution toward the specified heatflux more quickly.
288-
const auto V = nodes->GetPrimitive(iPoint);
289286
const auto GradV = nodes->GetGradient_Primitive(iPoint);
290287
su2double dTdn = 0.0;
291288
su2double dTvedn = 0.0;
@@ -567,18 +564,13 @@ void CNEMONSSolver::BC_IsothermalNonCatalytic_Wall(CGeometry *geometry,
567564
unsigned short val_marker) {
568565

569566
const bool implicit = (config->GetKind_TimeIntScheme() == EULER_IMPLICIT);
570-
const su2double Prandtl_Turb = config->GetPrandtl_Turb();
571567
const bool ionization = config->GetIonization();
572568
su2double UnitNormal[MAXNDIM] = {0.0};
573569

574570
if (ionization) {
575571
SU2_MPI::Error("NEED TO TAKE A CLOSER LOOK AT THE JACOBIAN W/ IONIZATION",CURRENT_FUNCTION);
576572
}
577573

578-
/*--- Extract required indices ---*/
579-
const unsigned short RHOCVTR_INDEX = nodes->GetRhoCvtrIndex();
580-
const unsigned short RHO_INDEX = nodes->GetRhoIndex();
581-
582574
/*--- Define 'proportional control' constant ---*/
583575
const su2double C = 5;
584576

@@ -953,7 +945,6 @@ void CNEMONSSolver::BC_Smoluchowski_Maxwell(CGeometry *geometry,
953945

954946
/*--- Retrieve Flow Data ---*/
955947
su2double Viscosity = nodes->GetLaminarViscosity(iPoint);
956-
su2double Eddy_Visc = nodes->GetEddyViscosity(iPoint);
957948
su2double Density = nodes->GetDensity(iPoint);
958949
su2double Gamma = nodes->GetGamma(iPoint);
959950

0 commit comments

Comments
 (0)