Advanced settings

This part of the documentation covers advanced configuration options and performance-related settings for EC-Earth 4 experiments. These settings are often hard-coded or pre-configured per platform, but may require adjustment depending on your specific use case, resolution, precision, and computational setup.

Unlike the simple experiment setup covered in Running simple experiments, this section focuses on tweaking configurations, optimizations and custom model behaviours that experienced users may need to tune for their particular computational environment and requirements.

Specifying these settings is not necessary for most users and they are not present in experiment-config-example.yml by default, but they can be introduced in the experiment configuration file and their values will be used when running the experiment. This is achieved by - when: not model_config.oifs.nproma in the SE config templates that generate the final configuration files for OpenIFS and NEMO.

Resolution-varying parameters in OpenIFS and NEMO

Here we list model parameters in OpenIFS and NEMO which change with grid resolution and give some motivation why. Users can modify these values but should be careful in doing so as it can lead to less realistic climates or numerial issues.

NEMO

changes from eORCA1_ISO to ORCA2

  • Increase time step to 5400s for CFL-criterion and faster execution

  • Lateral diffusive length scale rn_Ld = 200e+3 for stability

  • Lateral viscous length scale rn_Lv = 200.e+3 for stability

changes from eORCA1_ISO to eORCA025

  • Decrease time step to 1800s for CFL-criterion

  • nn_fct_v=4 for 4th-order vertical advection. nn_fct_v=2 required for _ISO grids.

  • Lateral diffusive length rn_Ld = 25e+3 for stability

  • Eddy-induced velocities off, ln_ldfeiv=F, since grid can resolve 1st baroclinic Rossby radius in low and middle latitudes.

  • Hollingsworth correction, nn_dynkeg=1, to improve mesoscale eddy dynamics.

  • Switch Laplacian viscosity to bi-Laplacian, ln_dynldf_blp=T to focus dissipation at smallest scales.

  • Lateral viscous velocity and length scales, rn_Uv=0.115 and rn_Lv=25.e+3 for stability.

  • Adaptive vertical advection scheme, ln_zad_Aimp=T. Better numerical stability and allows longer time steps.

Note that nn_etau = 1 is default for all configurations but causes unrealistically weak AMOC in ORCA1. The tuning files tuning_v0.3.yml (activated by default) will set nn_etau = 0 and should be used for ORCA1.

OpenIFS

changes from TL255L91 to TL63L31

  • Increase time step to 3600s for faster execution

  • Radiation calculations every 3 hours, NRADFR = -3

changes from TL255L91 to TCO399L91

  • Decrease time step to 900s for stability and ECMWF recommendation <https://confluence.ecmwf.int/display/OIFS/3+Horizontal+Resolution+and+Configurations>

  • Turn off filtering of pressure gradients, LGRADSP=F, which is not necessary for TCO grids

Note

Some model parameters are scaled with grid resolution internally in the model. For example, non-orographic wave drag scales with grid resolution in OpenIFS.

OASIS

It is generally good to have a coupling step short enough to resolve the diurnal cycle, but a shorter coupling time step increases the cost of the model.

coupling steps

  • TL255-eORCA1: 5400s. Shortest possible for atm step 1800s and oce step 2700s.

  • TL63L31-ORCA2: 10800s. Align with radiation calculation and reduce coupling cost.

  • TCO399-eORCA025: 3600s. Align with radiation calculation.