-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CICE does not restart correctly in wave/ice coupling #1
Comments
@JensBDebernard - I have assigned this PR to you. @Mats @anacarraso I believe that simulations that require wave/cice coupling cannot occur until this restart issue is resolved. I am happy to bring Dave Bailey in on discussions if that would help. |
@ dabail10 - It would be extremely helpful to get your input on this. I'm not sure what needs to be added to the cice6 restart file - but I suspect that would fix the issue. |
I don't know what version you have of CICE, but the FSD is still under development and may have some issues. I suggest you update to CICE Consortium main here: https://github.com/CICE-Consortium/CICE If there is still a restart issue then you should open an issue on the CICE Consortium website. |
@dabail10 - thanks. I confirmed that the problem still occurred with the latest version of CICE in ESCOMP. Thanks for the idea of looking at the consortium code. |
I think I have found the reason behind the problem. The wave fracturing of ice utilizes a random number generator When I manipulate the rand_array result to give the same result every time step, the floe-diameter field is constant after restart identical in the restart test described by Mariana. We could look for a wave fracture method not using random numbers, or introduce the random_seed functionality, storing the seeds to the restart file. |
@JensBDebernard - great work in finding this! For now I am wondering if storing the seed to the restart file is not the simples way to move forwards. What do you think? |
@mvertens - I think the random_seed should be introduced sooner or later in any case to evaluate the impact of this function. |
I have linked this to an issue in the CICE Consortium. There was work planned to remove the random number generator here. Not sure if this has been resolved. What is wave_spec_type here? |
The random number generator is what the original FSD developer used in her publications, and so we provide it. We also have other options which are intended only for testing (restarts in particular); they aren't expected to produce good results, physically. Alternative approaches would be most welcome! |
Hi all, If wave_spec_type is not set to 'random', the code does not use a random phase. Physically this isn't ideal, but then recent work has suggested that this scheme is over-estimating wave fracture, so it probably doesn't hurt to switch to this while setting up new configurations. Bruno Tremblay has been working on a new, improved wave fracture scheme. I hope to work with him to implement it in CICE over the next few months. I'll post updates on CICE-Consortium#293 (comment) when available. |
@lettie-roach @eclare108213 @dbailey - thanks so much for your input. That is super helpful. |
Yes, thank you, this is very useful. @mvertens I suggest that we put wave_spec_type = "constant" for the ice model for now (namelist-variable). This will ensure exact restart and some wave fraction. Then you have something to work with during summer, and we will reconsider the holiday. |
The following field from CICE is not bfb on restart:
The above was obtained as follows:
Create a case with the following command (modify for your own username and srcroot):
Move the hi history files to a temporary directory
> ./xmlchange CONTINUE_RUN=TRUE
Now compare the first history file after restart with the history file from the initial run. In my case this was:
cprnc test_blom_ww3_debug2.cpl.hi.0001-01-02-03600.nc debug_rest2/test_blom_ww3_debug2.cpl.hi.0001-01-02-03600.nc
Note that cprnc is in /cluster/shared/noresm/tools/cprnc/cprnc
You will load to do the following first
> module load netCDF/4.8.1-iompi-2021b
NOTE: You will need the code for the ww3 PR NorESMhub/WW3#8 in order to be able to duplicate these results.
The text was updated successfully, but these errors were encountered: