Skip to content

Commit e2697ee

Browse files
committed
fix more issues
1 parent 1159362 commit e2697ee

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

SU2_CFD/src/solvers/CEulerSolver.cpp

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4735,8 +4735,8 @@ void CEulerSolver::SetActDisk_BCThrust(CGeometry *geometry, CSolver **solver_con
47354735
}
47364736
/*--- Delta P and delta T are inputs ---*/
47374737

4738-
else {
4739-
if (Kind_ActDisk == VARIABLES_JUMP) {
4738+
else if (Kind_ActDisk == VARIABLES_JUMP) {
4739+
47404740
for (iMarker = 0; iMarker < config->GetnMarker_All(); iMarker++) {
47414741

47424742
if ((config->GetMarker_All_KindBC(iMarker) == ACTDISK_INLET) ||
@@ -4772,7 +4772,6 @@ void CEulerSolver::SetActDisk_BCThrust(CGeometry *geometry, CSolver **solver_con
47724772
ActDisk_DeltaP[iMarker][iVertex] = DeltaP;
47734773
ActDisk_DeltaT[iMarker][iVertex] = DeltaT;
47744774
}
4775-
47764775
}
47774776
}
47784777
}
@@ -4997,7 +4996,6 @@ void CEulerSolver::SetActDisk_BCThrust(CGeometry *geometry, CSolver **solver_con
49974996
}
49984997
}
49994998
}
5000-
50014999
}
50025000

50035001
/*--- Evaluate the pressure jump at each node using the total thrust ---*/
@@ -5113,16 +5111,13 @@ void CEulerSolver::SetActDisk_BCThrust(CGeometry *geometry, CSolver **solver_con
51135111
ActDisk_DeltaT[iMarker][iVertex] = 1.0;
51145112
ActDisk_DeltaP[iMarker][iVertex] = 1.0;
51155113
}
5116-
51175114
}
5118-
51195115
}
51205116
}
5121-
51225117
}
51235118
}
51245119
}
5125-
}
5120+
51265121
/*--- Broadcast some information to the master node ---*/
51275122

51285123
ActDisk_Info = false;

0 commit comments

Comments
 (0)