Skip to content
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

boxslotcyl failure with C grid and l_fixed_area=T #836

Closed
JFLemieux73 opened this issue Jun 15, 2023 · 6 comments
Closed

boxslotcyl failure with C grid and l_fixed_area=T #836

JFLemieux73 opened this issue Jun 15, 2023 · 6 comments
Assignees

Comments

@JFLemieux73
Copy link
Contributor

No description provided.

@JFLemieux73
Copy link
Contributor Author

The error appears right away (istep1=1):

New mass < 0, i, j = 81 81
Old mass = 1.00000000000000
New mass = -0.530255960863720
Net transport = -1.53025596086372
(print_state) negative area (open
(print_state) istep1, my_task, i, j, iblk: 1 0 81 81 1
(print_state) Global block: 1
(print_state) Global i and j: 80 80
(print_state) Lat, Lon (degrees): 78.4107863491870 -149.439217124369

It looks here that the error is for i=j=80...is there ice at this point?

@JFLemieux73
Copy link
Contributor Author

Hum...for most of the points there is no ice (aice=0). But the velocitites are defined everywhere. It is probably a question of mask that is not right. I guess we would never see that in more realistic test cases (with kdyn=1).

@JFLemieux73
Copy link
Contributor Author

Quick tests:
C grid, l_fixed_area=T : fail
C grid, l_fixed_area=F : pass
B grid, l_fixed_area=T : pass
B grid, l_fixed_area=F : pass

@JFLemieux73
Copy link
Contributor Author

I have looked at the velocity fields in the netcdf file (initial conditions). Compared to uvelE, uvel has an extra column: uvel(77,j) ne 0 while uvelE(77,j)=0. Same idea for vvelN compared to vvel: vvel(i,77) ne 0 while vvelN(i,77)=0.

@JFLemieux73
Copy link
Contributor Author

In ice_init the velocities are defined on the B grid (uvel, vvel). Is it possible also that some velocities are defined on land? The first ocean cell is tmask(4,4)=T. The last one is tmask(79,79)=T.

@JFLemieux73
Copy link
Contributor Author

This is now fixed. See PR #833 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants