Skip to content

Commit fd6d5cb

Browse files
committed
Merge branch 'develop' into pr/2209
2 parents 2c9a2fb + 3cfd801 commit fd6d5cb

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
lines changed

AUTHORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Daumantas Kavolis
6969
Dave Taflin
7070
Eduardo Molina
7171
Edwin van der Weide
72+
Eitan Aberman
7273
Ethan Alan Hereth
7374
Florian Dittmann
7475
Filip Hahs
@@ -108,6 +109,7 @@ Max Sagebaum
108109
Michele Gaffuri
109110
Mickael Philit
110111
Mladen Banovic
112+
Mor
111113
Nat-1
112114
Nicola Fonzi
113115
Nijso Beishuizen
@@ -137,6 +139,7 @@ Trent Lukaczyk
137139
Vinzenz Götz
138140
VivaanKhatri
139141
Wally Maier
142+
Yair Mor-Yossef
140143
Y. Chandukrishna
141144
Zan Xu
142145
Zcaic

SU2_CFD/src/iteration/CFluidIteration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ void CFluidIteration::TurboMonitor(CGeometry**** geometry_container, CConfig** c
261261
const unsigned long rampFreq = SU2_TYPE::Int(config->GetRampRotatingFrame_Coeff(1));
262262
const unsigned long finalRamp_Iter = SU2_TYPE::Int(config->GetRampRotatingFrame_Coeff(2));
263263
const su2double rot_z_ini = config->GetRampRotatingFrame_Coeff(0);
264-
const bool print = true;
264+
const bool print = (config->GetComm_Level() == COMM_FULL);
265265

266266
if(iter % rampFreq == 0 && iter <= finalRamp_Iter){
267267

@@ -270,7 +270,7 @@ void CFluidIteration::TurboMonitor(CGeometry**** geometry_container, CConfig** c
270270
if (fabs(rot_z_final) > 0.0) {
271271
const su2double rot_z = rot_z_ini + iter * ( rot_z_final - rot_z_ini) / finalRamp_Iter;
272272
config->SetRotation_Rate(2, rot_z);
273-
if (rank == MASTER_NODE && print && iter > 0) {
273+
if (rank == MASTER_NODE && iter > 0) {
274274
cout << "\nUpdated rotating frame grid velocities for zone " << iZone << ".\n";
275275
}
276276
geometry_container[iZone][INST_0][MESH_0]->SetRotationalVelocity(config, print);

SU2_CFD/src/solvers/CSolver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1821,6 +1821,7 @@ void CSolver::AdaptCFLNumber(CGeometry **geometry,
18211821
/* Loop over all points on this grid and apply CFL adaption. */
18221822

18231823
su2double myCFLMin = 1e30, myCFLMax = 0.0, myCFLSum = 0.0;
1824+
const su2double CFLTurbReduction = config->GetCFLRedCoeff_Turb();
18241825

18251826
SU2_OMP_MASTER
18261827
if ((iMesh == MESH_0) && fullComms) {
@@ -1885,7 +1886,7 @@ void CSolver::AdaptCFLNumber(CGeometry **geometry,
18851886
CFL *= CFLFactor;
18861887
solverFlow->GetNodes()->SetLocalCFL(iPoint, CFL);
18871888
if ((iMesh == MESH_0) && solverTurb) {
1888-
solverTurb->GetNodes()->SetLocalCFL(iPoint, CFL);
1889+
solverTurb->GetNodes()->SetLocalCFL(iPoint, CFL * CFLTurbReduction);
18891890
}
18901891

18911892
/* Store min and max CFL for reporting on the fine grid. */

TestCases/hybrid_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def main():
561561
Jones_tc_restart.cfg_dir = "turbomachinery/APU_turbocharger"
562562
Jones_tc_restart.cfg_file = "Jones_restart.cfg"
563563
Jones_tc_restart.test_iter = 5
564-
Jones_tc_restart.test_vals = [-6.594590, -2.792279, -14.336129, -8.776066, -11.371439, -5.845633, 73273, 73273, 0.019884, 82.491]
564+
Jones_tc_restart.test_vals = [-6.614623, -3.001323, -14.336147, -8.776081, -11.382919, -5.852327, 73273, 73273, 0.019884, 82.491]
565565
test_list.append(Jones_tc_restart)
566566

567567
# 2D axial stage

TestCases/parallel_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ def main():
10671067
Jones_tc_restart.cfg_dir = "turbomachinery/APU_turbocharger"
10681068
Jones_tc_restart.cfg_file = "Jones_restart.cfg"
10691069
Jones_tc_restart.test_iter = 5
1070-
Jones_tc_restart.test_vals = [-6.594590, -2.792281, -14.336129, -8.776067, -11.371439, -5.845633, 73273, 73273, 0.019884, 82.491]
1070+
Jones_tc_restart.test_vals = [-6.614623, -3.001323, -14.336147, -8.776081, -11.382919, -5.852327, 73273, 73273, 0.019884, 82.491]
10711071
test_list.append(Jones_tc_restart)
10721072

10731073
# 2D axial stage

TestCases/serial_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def main():
868868
Jones_tc_restart.cfg_dir = "turbomachinery/APU_turbocharger"
869869
Jones_tc_restart.cfg_file = "Jones_restart.cfg"
870870
Jones_tc_restart.test_iter = 5
871-
Jones_tc_restart.test_vals = [-6.594586, -2.792279, -14.336132, -8.776068, -11.371439, -5.845632, 73273, 73273, 0.019884, 82.491]
871+
Jones_tc_restart.test_vals = [-6.614623, -3.001323, -14.336147, -8.776081, -11.382919, -5.852327, 73273, 73273, 0.019884, 82.491]
872872
test_list.append(Jones_tc_restart)
873873

874874
# 2D axial stage

0 commit comments

Comments
 (0)