Skip to content

03. Run unforced

micdom edited this page May 17, 2023 · 8 revisions

In this experiment an unforced ocean is initialised from rest. It is initialised with constant density. Any velocities that are generated are the result of model errors. These can be either i) genuine code bugs (hopefully zero), or ii) numerical errors. This can be a useful check that things are working as expected.

The model can be initialised with constant density either by prescribing it as an initial condition, or by compiling it into the code as an analytic function. Here we do the latter.

export CONFIG=NEMOconstTS # NEMO exec with hardwired constant T,S

Then compile NEMO (this was already done in Step 1 so need not be repeated). It will select and compile with a prescribed stratification given in $NEMO/cfgs/$CONFIG/MY_SRC/usrdef_istate.F90

First set paths if not already done . ./make_paths.sh

Go to the experiment folder cd /RUN_DIRECTORIES/EXP_unforced_constTS

Verify that the boundary condition in namelist_cfg is false

vi namelist_cfg
ln_bdy=.false.

Run the experiment from SCRIPTS folder

. ./run_unforced_constTS.sh

NB the run_unforced_constTS.sh script assumes you can submit jobs to the n01-ACCORD ARCHER2 account. Edit submit.slurm accordingly.

Be efficient with HPC resource: see notes on processor decomposition

Clone this wiki locally