From 5e8ead4f892d98205d5aea6b89946b59ac1cc28b Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Thu, 30 Mar 2023 17:24:06 +0100 Subject: [PATCH] solvers::multiphaseEuler: Print the max and min T only for anisothermalPhases --- .../multiphaseEuler/thermophysicalPredictor.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/solvers/modules/multiphaseEuler/multiphaseEuler/thermophysicalPredictor.C b/applications/solvers/modules/multiphaseEuler/multiphaseEuler/thermophysicalPredictor.C index 280e6d8575..0389c451de 100644 --- a/applications/solvers/modules/multiphaseEuler/multiphaseEuler/thermophysicalPredictor.C +++ b/applications/solvers/modules/multiphaseEuler/multiphaseEuler/thermophysicalPredictor.C @@ -121,9 +121,10 @@ void Foam::solvers::multiphaseEuler::thermophysicalPredictor() compositionPredictor(); energyPredictor(); - forAll(phases, phasei) + forAll(fluid.anisothermalPhases(), anisothermalPhasei) { - phaseModel& phase = phases[phasei]; + phaseModel& phase = + fluid.anisothermalPhases()[anisothermalPhasei]; Info<< phase.name() << " min/max T " << min(phase.thermo().T()).value()