STYLE: minor change on the output of max mags of the adjoint fields

This commit is contained in:
Vaggelis Papoutsis 2023-11-15 16:52:31 +02:00 committed by Andrew Heather
parent 8947735b1d
commit 741520801a
2 changed files with 6 additions and 4 deletions

View File

@ -1123,8 +1123,10 @@ void adjointSpalartAllmaras::correct()
dimensionedScalar maxDeltaNuaTilda =
max(mag(nuaTilda() - nuaTilda().prevIter())());
dimensionedScalar maxNuaTilda = max(mag(nuaTilda()));
Info<< "Max mag of nuaTilda = " << maxNuaTilda.value() << endl;
Info<< "Max mag of delta nuaTilda = " << maxDeltaNuaTilda.value()
Info<< "Max mag (" << nuaTilda().name() << ") = "
<< maxNuaTilda.value() << endl;
Info<< "Max mag (Delta " << nuaTilda().name() << ") = "
<< maxDeltaNuaTilda.value()
<< endl;
}
}

View File

@ -2213,8 +2213,8 @@ void adjointkOmegaSST::correct()
{
dimensionedScalar maxwa = max(mag(wa()));
dimensionedScalar maxka = max(mag(ka()));
Info<< "Max mag of adjoint dissipation = " << maxwa.value() << endl;
Info<< "Max mag of adjoint kinetic energy = " << maxka.value() << endl;
Info<< "Max mag (" << wa().name() << ") = " << maxwa.value() << endl;
Info<< "Max mag (" << ka().name() << ") = " << maxka.value() << endl;
}
}