Restart file not working (v.7)
Posted: Mon Sep 29, 2025 11:10 am
Hello,
I'm facing a weird issue as i'm trying to run a restarted calculation, setting up the restart folder in the cs_user_scripts.py file. Every time i try to run the simulation, it immediately ends with the error:
When checking the reference simulation from where the "wrong" checkpoint has been taken i see at the end of the listing file:
So i don't really get where the error could be, considering that until that moment i was restarting some other simulations correctly (i'm running on a cluster, so to avoid allocation time problems, every once in a while the simulation is stopped and then restarted using the previously saved checkpoint).
Any idea on how to fix it?
Thanks in advance,
Francesco
I'm facing a weird issue as i'm trying to run a restarted calculation, setting up the restart folder in the cs_user_scripts.py file. Every time i try to run the simulation, it immediately ends with the error:
Code: Select all
Premature end of file "restart/main.csc"
Code: Select all
Write final restart files
checkpoint at iteration 7401, Physical time 0.37005E-01
** Writing the main restart file
-----------------------------
Start writing
Wrote field names and types to checkpoint at iteration 7401: checkpoint/main.csc
End writing the options
Wrote main variables to checkpoint: checkpoint/main.csc
End writing
** Writing the auxiliary restart file
----------------------------------
Start writing
End writing the dimensions and options
End writing the physical properties
End writing the time step
Wrote boundary condition coefficients to checkpoint: checkpoint/auxiliary.csc
End writing the source terms
End writing combustion information (COD3P)
End writing
** Information on the radiative module
-----------------------------------
Writing a restart file
Write start
End of output for dimensions
End of output for data
End of output to restart file
Any idea on how to fix it?
Thanks in advance,
Francesco