Skip to content

Commit 10e9e0e

Browse files
committed
One-way coupling of UR factor between flow and turb
1 parent 6207f60 commit 10e9e0e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

SU2_CFD/src/solvers/CTurbSolver.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,10 @@ void CTurbSolver::ComputeUnderRelaxationFactor(CSolver **solver_container, const
682682
}
683683
}
684684

685+
/* Choose the minimum factor between mean flow and turbulence. */
686+
687+
localUnderRelaxation = min(localUnderRelaxation, solver_container[FLOW_SOL]->GetNodes()->GetUnderRelaxation(iPoint));
688+
685689
/* Threshold the relaxation factor in the event that there is
686690
a very small value. This helps avoid catastrophic crashes due
687691
to non-realizable states by canceling the update. */

0 commit comments

Comments
 (0)