Skip to content

Commit 44076ab

Browse files
committed
Dont communicate SOLUTION_EDDY after implicit iteration when no Turb model is used.
1 parent b9f15f6 commit 44076ab

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

SU2_CFD/include/solvers/CScalarSolver.inl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,10 @@ void CScalarSolver<VariableType>::CompleteImplicitIteration(CGeometry* geometry,
410410
CompletePeriodicComms(geometry, config, iPeriodic, PERIODIC_IMPLICIT);
411411
}
412412

413-
InitiateComms(geometry, config, SOLUTION_EDDY);
414-
CompleteComms(geometry, config, SOLUTION_EDDY);
413+
if (config->GetKind_Turb_Model() != TURB_MODEL::NONE) {
414+
InitiateComms(geometry, config, SOLUTION_EDDY);
415+
CompleteComms(geometry, config, SOLUTION_EDDY);
416+
}
415417
}
416418

417419
template <class VariableType>

TestCases/species_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def main():
8484
species_passive_val.cfg_dir = "species_transport/passive_transport_validation"
8585
species_passive_val.cfg_file = "passive_transport.cfg"
8686
species_passive_val.test_iter = 50
87-
species_passive_val.test_vals = [-16.559189, -16.315116, -16.908670, -9.939874, 10, -4.523292, 8, -5.173152]
87+
species_passive_val.test_vals = [-16.559189, -16.315116, -16.908670, -10.608115, 10.000000, -4.523292, 7.000000, -5.010406]
8888
species_passive_val.su2_exec = "mpirun -n 2 SU2_CFD"
8989
species_passive_val.timeout = 1600
9090
species_passive_val.new_output = True

0 commit comments

Comments
 (0)