New URL for NEMO forge!   http://forge.nemo-ocean.eu

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.
README in branches/2017/dev_merge_2017/NEMOGCM/TOOLS/DOMAINcfg – NEMO

source: branches/2017/dev_merge_2017/NEMOGCM/TOOLS/DOMAINcfg/README @ 9079

Last change on this file since 9079 was 9079, checked in by flavoni, 6 years ago

update DOMAINcfg TOOLS, do not need xios anymore

File size: 2.6 KB
Line 
1================================
2= HOW TO COMPILE
3================================
4The DOMAINcfg tool can be compiled using the maketools script in the NEMOGCM/TOOLS directory as follows:
5:::::::::::::::::::::::::::::::::
6./maketools -m $ARCH -n DOMAINcfg
7:::::::::::::::::::::::::::::::::
8where $ARCH indicates the arch file to be used from the directory NEMOGCM/ARCH.
9
10DOMAINcfg compiled will create "make_domain_cfg.exe" executable script (the main routine of this tool is make_domain_cfg.f90)
11
12================================
13= HOW TO RUN
14================================
15just run :
16:::::::::::::::::::::::::::::::::::::::::::::::::
17mpirun -np 1 ./make_domain_cfg.exe
18:::::::::::::::::::::::::::::::::::::::::::::::::
19NOTA: it can be run in multiproc mode, but in output there will be domain_cfg_00xx.nc files
20
21================================
22= HOW TO USE
23================================
241) copy in DOMAINcfg  directory namelist_cfg all settings (that you had in 3.6_stable) of the configuration for which you want prepare domain_cfg.nc file
25IMPORTANT : keep the namelist_ref committed inchanged. !!!
26
27NEW OPTION ln_e3_dep in the namelist_ref:
28till nemo_v3.6_stable e3 were done like an analytical derivative of depth function
29now  e3=dk[depth] in discret sens
30
31If you want to create same e3[tuvw] like 3.6 you've to use "ln_e3_dep=.false."
32
33 ln_e3_dep   = .true.    ! =T : e3=dk[depth] in discret sens.
34   !                       !      ===>>> will become the only possibility in v4.0
35   !                       ! =F : e3 analytical derivative of depth function
36   !                       !      only there for backward compatibility test with v3.6
37   !
38
392) copy in DOMAINcfg directory same input files (of related configuration) required in v3.6_stable.
40
41DOMAINcfg package is EXACTLY what does exist in NEMO version 3.6 to define a model domain (both domain related namelist and initialization).
42DOMAINcfg tool creates a netcdf file "domain_cfg.nc" containing all the ocean domain informations required to define an ocean configuration,
43these files are :
44         
45    domain size
46    domain characteristics (periodic)
47    horizontal mesh
48    Coriolis parameter
49    depth and vertical scale factors
50
51FOR EXAMPLE
52- for AMM12 :
53            coordinates.nc
54            bathy_meter.nc
55            bathy_level.nc
56            amm12_rivers.nc
57            coordinates.bdy.nc
58            amm12_restart_oce.nc
59         directories:   bdydta/
60                        fluxes/
61- for ORCA2 :
62            coordinates.nc
63            bathy_meter.nc
64            bathy_level.nc
65            domain_def.xml
66            field_def.xml
67            iodef.xml
Note: See TracBrowser for help on using the repository browser.