Up to v8p4, some variables are forced to be written in the RESULTS FILE of GAIA, even if not asked by the user with the keyword VARIABLES FOR GRAPHIC PRINTOUTS.
Generating a dedicated RESTART FILE can decrease the size of RESULTS FILE. This RESTART FILE is the assumed to store every variable useful/mandatory to restart the computation without loss of accuracy.
In the continued computation step, what is necessary to be read to initialise the next computation is to be correctly done (e.g. overloading previous initial conditions).
A shift of index of 1 seems to be a bug from index 11 to 23 when used with ALIRE array (in GAIA_INIT subroutine).
Are variables with index 14 to 20 in NOMVAR_GAIA (M, N, P, E, KS, MU and D50) are really mandatory to be stored and read or could they be computed correctly with other variables?
When coupling with TELEMAC-3D, 2 examples are nearly OK for restart without loss of accuracy:
rouse-t3d,
tidal_flats-t3d.
For which the differences only appears for hydrodynamic variables (velocities V, W).
2 examples are currently NOK (hippodrome-t3d tested for 1COs and 1NCOs only + bosse-t3d) but there are already issues for restart computation using TELEMAC-3D alone.
3D to be investigated after solving some issues of rest for TELEMAC-3D alone.
Good news for littoral-t2d-tom, it is OK, the only thing to do with current implementation is to store GLOBAL RESULT FILE FORMAT in double precision (when RESTART MODE = YES in the TELEMAC + GAIA steering files) and then read this file in double precision from TOMAWAC with 3 keywords (PREVIOUS COMPUTATION FILE, PREVIOUS COMPUTATION FILE FORMAT = SERAFIND or MED and NEXT COMPUTATION = YES) in the TOMAWAC steering file (+ other expected keywords for TELEMAC and GAIA as other test cases).
For yen multi layer examples, the loss of accuracy appears when the keyword ACTIVE LAYER THICKNESS is not set to default value.
Any idea what additional variable(s) to save in that case?
Update: same behaviour for guenter-t2d and hippodrome-t2d with 4NCOb_strat_vf config.
Each time: ACTIVE LAYER THICKNESS is set not to default value + several classes.
Thanks to @rebekka.kopmann this feature is now OK for yen multi (every formula), guenter-t2d, hippodrome-t2d with 4NCOb_strat_vf config (no calls to BED1_UPDATE_ACTIVELAYER_HIRANO nor 2nd call to BED1_UPDATE in GAIA_INIT subroutine in case of continued computation).
No regression for previously OK examples.
It also works for new examples (sliding + yen with slope effect) created after Spring hackathon.
The branch has been updated as well (and rebased with main).