Opened 3 years ago
Closed 3 years ago
#2660 closed Bug (fixed)
bdy: wrong ice velocity at the boundary when no ice in the interior
Reported by: | clem | Owned by: | systeam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | BDY | Version: | v4.0.* |
Severity: | minor | Keywords: | |
Cc: |
Description
Analysis
Ice velocity at the boundary when using bdy depends on the presence of ice in the interior of the basin.
In nemo3.6 when ice is not present in the interior, ice velocity is set to ocean velocity.
In nemo4.x it is set to 0.
I do not know when this change occured but it is clearly wrong though for most simulations it does not change things much (for instance spitz12).
In addition, bdyice.F90 in the trunk and in 4.0 are not identical while they should be. So one needs to correct the trunk
Fix
Replace these lines:
ELSEIF( vt_i(ji+1,jj) > 0. ) THEN ; u_ice(ji,jj) = 0._wp
by
ELSEIF( vt_i(ji+1,jj) > 0. ) THEN ; u_ice(ji,jj) = u_oce(ji,jj)
Commit History (2)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
14767 | clem | 2021-04-30T11:18:04+02:00 | trunk: solve ticket #2660 |
14766 | clem | 2021-04-30T11:08:19+02:00 | 4.0-HEAD: solve ticket #2660 |
Change History (3)
comment:1 Changed 3 years ago by clem
comment:2 Changed 3 years ago by clem
In 14767:
comment:3 Changed 3 years ago by clem
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 14766: