Documentation of the Changes in the COSMO-Model
Version 5.4e

23.03.2017

Version 5.4e now contains all physical parameterizations in blocked format. New are the ICON versions of the surface schemes (TERRA, FLake, SeaIce) and the blocked version of the SSO scheme. All old schemes in ijk-data format have been eliminated.

Contents:

  1. Blocked Turbulence Scheme
  2. Implementation of Surface Schemes in Blocked Data Format
  3. Blocked Version of the SSO Scheme
  4. Handling of Arbitrary Number of Tracers in the Blocked Physics
  5. Elimination of Old Parameterization Schemes
  6. Changes in the Data Assimilation
  7. Technical Changes and Adaptations for TWOMOM_SB and COSMOART
  8. Technical Changes and Bug Fixes
  9. Changes to the Namelists
  10. Changes of Results


1. Blocked Turbulence Scheme

(by Matthias Raschendorfer, Ulrich Schättler)

The blocked turbulence scheme already has been implemented in Version 5.04a as an option and in a modified version in 5.04d, where also the possibility to run vertical diffusion at the end of the physics and on the staggered grid for u and v has been added. This version now is the default. Therefore the defaults for several namelist variables have been changed (to unify with ICON):

Group Name Old Value and Range New Value and Range
/TUNING/ tkhmin 0.4 [0.0..2.0] 0.75 [0.0..2.0]
tkmmin 0.4 [0.0..2.0] 0.75 [0.0..2.0]
rat_sea 20.0 [1.0..100.0] 10.0 [1.0..100.0]
pat_len 500.0 [0.0..10000.0] 100.0 [0.0..10000.0]
a_hshr 0.2 [0.0..5.0] 1.0 [0.0..5.0]
/PHYCTL/ itype_vdif -2 [-2..1] 1 [-1..1]
ltkesso .FALSE. n.a. .TRUE. n.a.
itype_sher 1 [1..3] 0 [0..2]
imode_tran 1 [1..2] 0 [0..2]
imode_turb 1 [0..4] 1 [0..2]
icldm_tran 0 [0..2] 2 [-1..2]

Notes:

Back to Contents


2. Implementation of Surface Schemes in Blocked Data Format

(by Jürgen Helmert, Günther Zängl, Dmitrii Mironov, Ulrich Schättler)

The surface schemes (TERRA, SEAICE, FLAKE) and new interfaces for the COSMO-Model have been implemented in blocked data format.

The following new source modules are now available:

Special changes to the implementation used up to now in the COSMO-Model

Differences between the ICON and the COSMO version of TERRA

COSMO now uses the land-surface model TERRA based on the ICON version 2.0.18 with improvements in the soil heat transfer, in the water budget, and for snow and vegetation.

The developments implemented in ICON since the initial TERRA version taken from COSMO V4_13 have been merged with the COSMO modifications from V4_13 to V5_4d in this new version.

Only working on special grid points

Up to now the surface schemes were working on the full COSMO fields and used IF-constructs to work only on the necessary grid points, as e.g. IF (llandmask(i,j)) in TERRA. Now only the necessary grid points are given to the surface schemes, which makes an additional copy necessary before calling the schemes. The additional copies are done in the subroutine sfc_organize (in sfc_interface).

Special snow fraction diagnosis and computation of t_g

The diagnosis of the snow fraction and the computation of t_g have been extracted from TERRA and a new subroutine diag_snowfrac_tg has been implemented, which is called after terra_init and after terra. For the diagnosis of the snow fraction several options have been implemented, but in this version only the old COSMO option is activated. Another namelist variable has to be implemented to also have the possibility of choosing other options.

Other technical changes related to the introduction of the blocked surface schemes

Back to Contents


3. Blocked Version of the SSO Scheme

(by Katherine Osterried)

A blocked version of the SSO scheme, which is also able to run on GPUs has been implemented. In principle this version is bit-reproducible to the former COSMO version and also to the ICON version of this scheme.

But the results of a COSMO simulation using the SSO scheme will be changed, because in the blocked version, the scheme is now running on the full model domain, while in the ijk-version it was only running in the interior of the domain.

Back to Contents


4. Handling of Arbitrary Number of Tracers in the Blocked Physics

(by Xavier Lapillonne)

In order to be able to handle an arbitrary number of tracers in the automatic copy to block infrastructure (src_block_field module) some functionality was moved in the tracer module. New data structures now hold all the block tracers and their tendencies. The allocation and correspondence between block field and ijk field is done automatically. The user still has to specify which tracers are to be copied back and forth for each parameterization, a new function register_copy_tracer is provided to make this easier. Tracer tendencies are handled in a similar way.

Further details

The Tiedtke convection scheme has been modified accordingly:

Back to Contents


5. Elimination of Old Parameterization Schemes

The module organize_physics has been adapted to use now only the new blocked version of all parameterization schemes.

The following old schemes in ijk-format, which were still in the code, have now been eliminated:

Back to Contents


6. Changes in the Data Assimilation

(by Christoph Schraff)

The modifications which should be regarded as bug fixes will change the results in data assimmilation mode slightly (or more strongly, if some observations have been missed for assimilation by KENDA in the old version).

Back to Contents


7. Technical Changes and Adaptations for TWOMOM_SB and COSMOART

(by KIT, Ulrich Blahak, Ulrich Schättler)

There have been changes by KIT on cloud radiation coupling and to calculate optical properties of hydrometeors based on the 2-moment scheme. This work can only be used when both, the 2-moment scheme (-DTWOMOM_SB) and the COSMO-ART (-DCOSMOART) are activated during compiling and linking. Corresponding parts in the code are now encapsulated with

#if defined TWOMOM_SB && defined COSMOART

Modifications to the COSMO code are implemented in this version. Additional source code is necessary to use the cloud radiation coupling. This code is located in ./LOCAL/TWOMOM and must be copied to the src-directory before compiling and linking:

There are also additional files in ./LOCAL/TWOMOM

which must be used when compiling the code. The corresponding Files have been updated, because some of the code was located in TWOMOM- and/or ART-routines before.

Also, the vertical diffusion of additional tracers has been activated in the new module turb_vertdiff.f90 using the tracer handling in the blocked version.

Back to Contents


8. Technical Changes and Bug Fixes

Bug Fixes from sub-versions 5.04d1, 5.04d2 and 5.04d3:

Speciality in utilities.f90:

Checking for NaN- or INF-values can now be done in two different ways:

Further Technical Changes:

Back to Contents


9. Changes to the Namelists

There are two new namelist variables:

Group Name Meaning Default
/RUNCTL/ ldebug_sso NEW if .TRUE., debug output for SSO scheme is activated. .FALSE.
/PHYCTL/ cwimax_ml NEW maximum interception water content:
cwimax_ml is used as a scaling parameter for maximum interception storage. Turned off by default (cwimax_ml=1.0E-6). The configuration for ICON 2.0.18 is cwimax_ml=1.0E-4.
1.0E-6

For the new version of the prognostic TKE turbulence scheme, default values (and allowable range) for some namelist variables have been changed:

Group Name Old Value and Range New Value and Range
/TUNING/ tkhmin 0.4 [0.0..2.0] 0.75 [0.0..2.0]
tkmmin 0.4 [0.0..2.0] 0.75 [0.0..2.0]
rat_sea 20.0 [1.0..100.0] 10.0 [1.0..100.0]
pat_len 500.0 [0.0..10000.0] 100.0 [0.0..10000.0]
a_hshr 0.2 [0.0..5.0] 1.0 [0.0..5.0]
/PHYCTL/ itype_vdif -2 [-2..1] 1 [-1..1]
ltkesso .FALSE. n.a. .TRUE. n.a.
itype_sher 1 [1..3] 0 [0..2]
imode_tran 1 [1..2] 0 [0..2]
imode_turb 1 [0..4] 1 [0..2]
icldm_tran 0 [0..2] 2 [-1..2]

Back to Contents


10. Changes of Results

The new versions of the surface schemes and the prognostic TKE turbulence scheme do change the results.

The blocked version of the SSO scheme in principle is bit reproducible to the scheme used in the COSMO-Model up to now, but as it is now used also at the boundaries, the overall results of a simulation do change.

Back to Contents