New URL for NEMO forge!

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#718 (updates to BDY module) – NEMO

Opened 13 years ago

Closed 13 years ago

Last modified 20 months ago

#718 closed Task (fixed)

updates to BDY module

Reported by: davestorkey Owned by: rblod
Priority: low Milestone:
Component: OCE Version: v3.2
Severity: Keywords: 2010 OPA v3.2


There are two main changes:

  1. Implementation of open boundary conditions for LIM2 ice model. Flow Relaxation conditions on leads fraction, ice thickness and snow thickness fields.
  1. Bug fixes and updates for use of BDY in Shelf configurations.

Commit History (1)


ticket #718: BDY updates

Change History (15)

comment:1 Changed 13 years ago by davestorkey

Main code changes

  1. Implementation of FRS boundary conditions for ice fields (ice concentration, ice thickness, snow thickness). Currently only implemented for LIM2. Main code changes:
    1. Extend bdy_oce.F90, bdyini.F90, bdydta.F90 to deal with the ice fields if key_lim2 is set.
    2. An additional file bdyice.F90, to apply the ice boundary conditions. The bdy_ice routine is called from sbc after the call to the LIM2 model.
  2. Changes required for Shelf implementation:
    1. We want to be able to have separate files for the baroclinic (FRS) boundary conditions and non-tidal barotropic (Flather) boundary conditions. So set jpbgrd to 6 in bdy_par.F90 and make associated changes to bdyini.F90, bdydta.F90, bdydyn.F90 and bdytides.F90.
    2. Remove the application of Flather boundary conditions on the baroclinic timestep in dynnxt.F90. This was found to destabilise Shelf configurations.
  3. Bug fix for zeroing of mass divergence behind open boundaries. The ssha and wn fields are now masked with the bdytmask in wzvssh (similar to what is done for OBC), and the application of bdytmask to hdivn in divcur.F90 is removed. This change removes spurious SSH values along the boundaries in deep ocean configurations (linear SSH + FRS conditions) and prevents errors in the tracer advection at the boundaries in Shelf configurations (nonlinear SSH + FRS + Flather conditions).
  4. Add BDY boundary conditions for solver in solmat.F90.
  5. Bug correction for time interpolation of boundary data fields in bdydta.F90.

comment:2 Changed 13 years ago by davestorkey


  1. The ice boundary conditions have been tested in a one-year hindcast of the FOAM North Atlantic configuration (using NEMO v3.2) taking boundary conditions from the global ORCA025 configuration. There is an open boundary with ice along the north of the model domain (cutting across Baffin Bay and the East Greenland Current), and the ice simulation is found to be satisfactory here.
  2. The changes for the Shelf configurations have been tested in hindcasts of the Atlantic Margin model (using NEMO v3.2) with open boundary conditions consisting of tidal harmonics forcing and FRS conditions on T,S,u,v fields taken from the FOAM North Atlantic configuration.
  3. The bug fix for the zeroing of the mass divergence behind the open boundary was tested in the Atlantic Margin model - it was found to be necessary for this model to run stably. It has also been tested in the FOAM North Atlantic model and found to remove spurious values of the sea-surface height along the edge of the model domain.
  4. The new branch relative to 3.2.1 has been compiled with and without key_bdy. A null test with ORCA2 with key_bdy omitted showed no change in results or resources used between a run with the branch included and a run without the branch included.

comment:3 Changed 13 years ago by davestorkey

  • Owner changed from davestorkey to rblod

Hi Rachid,

I've updated the ticket with details of the testing done. Could you review this please?



comment:5 Changed 13 years ago by davestorkey

  • Resolution set to fixed
  • Status changed from new to closed

comment:6 Changed 7 years ago by nicolasmartin

  • Keywords 2010 Coastal Stream ocean ready added

comment:7 Changed 7 years ago by nicolasmartin

  • Keywords nemo_v3_2* added

comment:8 Changed 7 years ago by nicolasmartin

  • Milestone 2010 Stream 0: Coastal ocean ready deleted

Milestone 2010 Stream 0: Coastal ocean ready deleted

comment:9 Changed 7 years ago by nicolasmartin

  • Keywords Stream ocean ready added; CSor removed

comment:10 Changed 7 years ago by nicolasmartin

  • Keywords Stream removed

comment:11 Changed 7 years ago by nicolasmartin

  • Keywords ocean removed

comment:12 Changed 7 years ago by nicolasmartin

  • Keywords ready removed

comment:13 Changed 6 years ago by nemo

  • Type changed from Development to Task

Remove 'Development' type

comment:14 Changed 6 years ago by nemo

  • Keywords nemo_v3_2* removed

comment:15 Changed 20 months ago by nemo

  • Keywords OPA v3.2 added
Note: See TracTickets for help on using tickets.