Hello everbody,
I am writing to you because I have a problem :
- When I restart a calcul from the checkpoint, all values of scalars are kept but the values in the propce table (e.g propce(icell,ipproc(idpl) -> declare by me in the pprt directory and elec) does not kept. So my question is :
What option sould I active to keep the value in the propce table when I restart my calcul from the checkpoint ?
Last question :
Is it possible to change the dtref value during the computation.
NB : I work with the version 3.2
Looking forward your reply
Best regards
Paul
Restart Calcul -> Problem of value in propoce variable
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 22
- Joined: Wed Dec 11, 2013 6:15 pm
-
- Posts: 4152
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Restart Calcul -> Problem of value in propoce variable
Hello,
Some specific properties are saved in checkpoint files, but most are not (only solved variables are systematically saved).
A solution would be to open a separate checkpoint file using the cs_restart_* functions or associated Fortran wrappers. I could point to Doxygen documentation elements helping you do do this in versions 5.x, but I don't really remember what was documented in version 3.2 (but you can mostly check the cs_restart.h sources). You can also check how the checkpoint restart of properties is done in src/base/ecrava.f90, lecamo.f90, and lecamx.f90.
Best regards,
Yvan
Some specific properties are saved in checkpoint files, but most are not (only solved variables are systematically saved).
A solution would be to open a separate checkpoint file using the cs_restart_* functions or associated Fortran wrappers. I could point to Doxygen documentation elements helping you do do this in versions 5.x, but I don't really remember what was documented in version 3.2 (but you can mostly check the cs_restart.h sources). You can also check how the checkpoint restart of properties is done in src/base/ecrava.f90, lecamo.f90, and lecamx.f90.
Best regards,
Yvan
Re: Restart Calcul -> Problem of value in propoce variable
Hi!
I am not sure, but en user subroutine cs_user_parameters.f90 you can to change your dtref. If you do want this change over time, user parameter "ttcabs" (time physics) and use conditions and expressions to your manner.
Xepls
I am not sure, but en user subroutine cs_user_parameters.f90 you can to change your dtref. If you do want this change over time, user parameter "ttcabs" (time physics) and use conditions and expressions to your manner.
Xepls
-
- Posts: 22
- Joined: Wed Dec 11, 2013 6:15 pm
Re: Restart Calcul -> Problem of value in propoce variable
Hi,
Sorry for this too late reply. Thank you Yvan for your precisions. I have modified ecrava.f90 and lecamx.f90 files and now I can restart my case from the checkpoint.
One last question : Is it possible to set in Code-Saturne a minimal number of iteration for the solver. (the max is 10000 but the min is always 1?)
Thank you again
Paul
Sorry for this too late reply. Thank you Yvan for your precisions. I have modified ecrava.f90 and lecamx.f90 files and now I can restart my case from the checkpoint.
One last question : Is it possible to set in Code-Saturne a minimal number of iteration for the solver. (the max is 10000 but the min is always 1?)
Thank you again
Paul