GEOS
GEOS copied to clipboard
feat: Adding log parts
This PR aim to improve the readibility of the logs by adding log separation the differents parts of the log and the first step for displaying specific log or timestep we want.
The log separation identified are
-
Input Initialisation :
ProblemManager::postInputInitializationRecursive()
; -
Mesh generation :
ProblemManager::generateMesh()
; -
NumericalMethods:
ProblemManager::applyNumericalMethods()
; -
Mesh data registration :
ProblemManager::egisterDataOnMeshRecursive()
; -
Group & subgroups initialization functions :
ProblemManager::initialize()
; -
Each cycle time-step :
EventManager::run()
-
Cleanup :
basicCleanup()
Example of an input :
######################################################################
## TIMESTEP START ##
######################################################################
## - Time: 2d, 07h33m20s out of 2d, 21h26m40s (80% completed) ##
## 200000 s / 250000 s ##
## - Delta Time: 13h53m20s (50000 s) ##
## - Cycle: 4 ##
Attempt: 0, ConfigurationIter: 0, NewtonIter: 0
( Rflow ) = ( 4.82e-04 ) ( Rwell ) = ( 4.74e-03 ) ( R ) = ( 4.76e-03 )
Last LinSolve(iter,res) = ( 1, 1.64e-11 )
compositionalMultiphaseFlow: Max pressure change = 19297.019 Pa (before scaling)
compositionalMultiphaseFlow: Max component density change = 0.346 kg/m3 (before scaling)
reservoirSystem: Global solution scaling factor = 1
compositionalMultiphaseFlow: Max phase volume fraction change = 0.0004
[...]
Rank 0: Writing out restart file at ./staircase_co2_wells_3d_restart_000000004/rank_0000000.hdf5
## End : TIMESTEP START ##
######################################################################