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.
#1761 (Develop simple test case enabling east west AND south north cyclic boundaries) – NEMO

Opened 7 years ago

Closed 6 years ago

Last modified 16 months ago

#1761 closed Task (fixed)

Develop simple test case enabling east west AND south north cyclic boundaries

Reported by: clevy Owned by: clevy
Priority: low Milestone: 2016 WP
Component: OCE Version: v3.6
Severity: Keywords: OPA SAS biperiodic test_cases v3.6

Description (last modified by clevy)


In order to have an appropriate test case for the AGRIF_LIM3 development (2016 workplan AGRIF-2 Shared action), a few developments have been made in order to be able to set up a simple rectangular box on f-plane with flat bottom. Boundary conditions are cyclic east-west (exisiting with jperio=1 in &namcfg namelist) and north-south (developped with jperio=7).


The test case has been developped for a new SASBIPER configuration where ocean is inactive (using SAS and surface ocean variables = 0.). Ice is initialised using a file ( where all fields are constant except sea-ice thickness initialised with a gaussian bump constant in latitude.
Ice is only active through ice velocities initialised analytically in the namelist.
It will be used with and without AGRIF-LIM3 to test the AGRIF-LIM3 development.
This ticket only describes the changes in the code.
For now changes are implemented in the AGRIF-LIM3 development branch:

List of modified routines and namelists:

  • OPA_SRC/DOM/domcfg.F90 :

add a new option jperio=7 for global lateral boudaries:

IF( jperio == 7 ) WRITE(numout,*) ' jperio= 7, cyclic east-west and north-south'

  • OPA_SRC/DOM/domzgr.F90:

Add definition of mbathy for jperio=7

  • OPA_SRC/LBC/lib_mpp.F90

Add the cyclic east-west and north-south boundaries option when MPP active (= with cpp key key_mpp_mpi). Important: as for east west cyclic, it ONLY works when using one process (mpirun -n 1 ./opa and nbondi=nbondj=2).
No implementation for key_bdy active either.

  • OPA_SRC/LBC/mppini.F90

Add jperio=7 option

  • SAS_SRC/sbcssm.F90

Beware it is in SAS_SRC and not in OPA_SRC/SBC!
Added logical variable l_sasread in &namsc_sas namelist (=.TRUE. by default in namelist_ref) to allow using SAS with or without reading a file to initialise ocean surface fields.
If l_sasread=.TRUE. The model reads in a file the fields defined in &namsbc_sas namelist
if l_sasread=.FALSE. fields are initialised in sbcssm.F90:


sst_m(:,:) = 0.
sss_m(:,:) = 0.
ssu_m(:,:) = 0.
ssv_m(:,:) = 0.
ssh_m(:,:) = 0.

  • SHARED/namelist_ref:

Add l_sasread=.TRUE. in &namsbc_sas namelist

A simple python script has been build to create the initial fields for sea-ice (attached to this ticket for now)

Done in development branch at revision 6861 :

Commit History (0)

(No commits)

Attachments (1) (3.0 KB) - added by clevy 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by clevy

comment:1 Changed 7 years ago by clevy

  • Description modified (diff)

comment:2 Changed 6 years ago by nemo

  • Keywords test_cases added; testcase removed

comment:3 Changed 6 years ago by clevy

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

comment:4 Changed 6 years ago by nemo

  • Keywords cyclic removed

comment:5 Changed 6 years ago by nemo

  • Keywords release-3.6* added

comment:6 Changed 6 years ago by nemo

  • Keywords release-3.6* removed

comment:7 Changed 16 months ago by nemo

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