If the participant’s name is MySolver, preCICE creates the following files:
precice-MySolver-iterations.log
Information per time window with number of coupling iterations etc. (only for implicit coupling). In case you use a quasi-Newton acceleration, this file also contains information on the state of the quasi-Newton system.
An example file:
TimeWindow TotalIterations Iterations Convergence QNColumns DeletedQNColumns DroppedQNColumns
1 5 5 1 0 0 0
2 10 5 1 0 0 0
3 15 5 1 0 0 0
4 20 5 1 0 0 0
5 24 4 1 0 0 0
6 28 4 1 0 0 0
7 32 4 1 0 0 0
...
TimeWindowis the time window counter.TotalIterationsis the total (summed up) number of coupling iterations.Iterationsis the number of iterations preCICE used in each time window.Convergenceindicates whether the coupling converged (1) or not (0) in each time window.QNColumnsgives the amount of columns in the tall-and-skinny matrices V and W after convergence.DeletedQNColumnsgives the amount of columns that were filtered out during this time window (due to a QR filter). In this example no columns were filtered out.DroppedQNColumnsgives the amount of columns that went out of scope during this time window (due tomax-iterationsortime-windows-reused). Here, for example, 5 columns went out of scope during the 6th time window.
Further reading: quasi-Newton configuration.
precice-MySolver-convergence.log
Information per iteration with current residuals (only for second participant in an implicit coupling).
An example file:
TimeWindow Iteration ResRel(Temperature) ResRel(Heat-Flux)
1 1 1.00000000e+00 1.00000000e+00
1 2 2.36081866e-03 4.61532554e-01
1 3 1.76770050e-03 2.20718535e-03
1 4 8.24839318e-06 4.83731693e-04
1 5 1.38649284e-06 3.03987119e-05
2 1 2.02680329e-03 1.14463674e+00
2 2 1.10152875e-03 4.53255279e-01
...
TimeWindowis the time window counter.Iterationis the coupling iteration counter within each time window. So, in the first time window, 6 iterations were necessary to converge, in the second time window 3.- And then two convergence measure are defined in the example. Two relative ones – hence the
...Rel(...). The two columnsResRel(Temperature)andRelRel(Force)give the relative residual for temperature and heat flux, respectively, at the start of each iteration.
precice-events/*
Recorded events of all participants and ranks. See page on performance analysis for more information.
precice-accelerationInfo.log
Advanced information on the numerical performance of the Quasi-Newton coupling (if used and enabled). Please note that this file is mainly meant for debugging. Nearly all information here can also be inspected through the iterations file above.
An example file:
--------
DOFs (global): 96
# time window 0 converged #
iterations: 3
used cols: 2
del cols: 0
# time window 1 converged #
iterations: 2
used cols: 3
del cols: 1
...
DOFsnumber of degrees of freedom at the coupling interface, which equals the number of vertices times the number of variables. Please note that only variables relevant to the acceleration are taken into account.time windowis the time window counter.iterationsis the coupling iteration counter within each time window. So, in the first time window, 4 iterations were necessary to converge, in the second time window 3.used colsis the amount of the reused columns in the matrices V and W from previous time windows.del colsgives the amount of columns that were filtered out during this time window (due to a QR filter).
To enable this log, uncomment the relevant lines in the destructor ~BaseQNAcceleration() in precice/src/acceleration/BaseQNAcceleration.hpp. And add the following lines at the beginning of the same file:
#include <iomanip>
#include "utils/IntraComm.hpp"
In the end, you need to recompile preCICE to apply the change.
precice-MySolver-events.json, two performance output files were used: precice-MySolver-events.log and precice-MySolver-eventTimings.log.
iterations-MySolver.txt,convergence-MySolver.txt, Events-MySolver.log,EventTimings-MySolver.log, and postProcessingInfo.txt.