Running The Unified Model in Idealised Mode

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 43

Unified Model Documentation Paper 033

Running the Unified Model in Idealised Mode

UM Version : 10.1
Last Updated : 2014-12-05 (for vn10.0)
Owner : Carol Halliwell

Contributors:
T. Davies, R. Forbes, B. Beare and C. Halliwell

Met Office
FitzRoy Road
Exeter
Devon EX1 3PB
United Kingdom

c Crown Copyright 2015


This document has not been published; Permission to quote from it must be obtained from the Unified Model
system manager at the above address
UMDP: 033
Running the Unified Model in Idealised Mode

Contents
1 Introduction to the Idealised Problems 3

2 General Information on Running the UM in Idealised Mode 3

3 Idealised Mode Functionality 5


3.1 Defining a Model Grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.2 Setting up an Initial State . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.3 Perturbing the initial field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4 Running With/Without Moisture and Physics Parametrizations . . . . . . . . . . . . . . . . . . . 8
3.5 Simplifying the Physics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.6 Pushing the Limits of the UM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.7 Available diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.8 Miscellaneous . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

4 Forcing the Model 10


4.1 Lateral Boundary Forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.2 Interior Forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4.3 Surface Forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.4 Damping Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.5 Geostrophic forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.6 BOMEX shallow cumulus forcing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

5 Standard Idealised Environments 13


5.1 Schar Problem (Flow over a hill) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 Convective-Radiative Equilibrium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.3 Monsoon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.4 Dynamical Core (Held-Suarez Test) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.5 SCANIA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.6 Deformation Front in a Baroclinic Zone . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.7 Baroclinic lifecycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.8 Cyclone vortex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

6 Recent and Future Developments, Bugs and Fixes 18


6.1 Main changes from UM Version 6.2 up to 6.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.2 Main changes from UM Version 6.0 to 6.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.3 Main changes from UM Version 5.5 to 6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.4 Main changes from UM Version 5.4 to 5.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.5 Known bugs and fixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.6 Potential developments for future UM releases . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.7 Untested Combinations of Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

7 Idealised Namelist 20
7.1 General options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.2 Defining the vertical grid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.3 Defining the orography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.4 Defining the surface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
7.5 Defining the vertical profiles of temperature, moisture and wind . . . . . . . . . . . . . . . . . . . 23
7.6 Perturbing the initial fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.7 Defining the forcing for temperature, moisture and wind . . . . . . . . . . . . . . . . . . . . . . . 26
7.8 Other forcing options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
7.9 Miscellaneous options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

8 Description of the Idealised Code Structure 32


8.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
8.2 Pseudo-code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

A Code modifications for UM version 6.6 35


A.1 Increasing the maximum number of levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

1 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

A.2 Turning off lateral boundary updating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

B Example Namelists for Idealised Problems 36


B.1 Schar problem (flow over an idealised hill in an E-W cyclic domain) . . . . . . . . . . . . . . . . 36
B.2 Radiative-convective equilibrium (bi-cyclic domain) . . . . . . . . . . . . . . . . . . . . . . . . . . 37
B.3 Frontogenesis (Fixed boundary LAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
B.4 Baroclinic lifecycle (Fixed boundary LAM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
B.5 Cyclone vortex (bi-cyclic boundary conditions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

2 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

1 Introduction to the Idealised Problems

Idealised configurations or problems have proved useful in the development of NWP and climate models. Such
environments help to focus on particular aspects of the model in controlled situations. A range of issues may
be addressed in such a framework.
• Testing and comparing alternative formulations.
• Finding coding errors, quality control.
• Numerical convergence in time and space.
• Accuracy.
• Efficiency.
• Grids and domains.
• Boundary conditions; upper, lower and lateral.
• Orographic effects.
• Parameter sensitivity.
• Understanding processes.
• Training in NWP and use of UM.
• Energy transfers and balance.
• Wave propagation
The Unified Model has several different idealised test environments. Here we describe some aspects of the full
3D idealised test environments for both global and limited area configurations of the Unified Model. The test
environment is really only a problem definition i.e. we prescribe initial data and other fields such as orography
at the start of a run and then run the model. There are options in the UM to switch off the physics or to
replace the full physics with simpler forcing. Using, for example, simple physics with no orography or surface
contrasts (smooth ball) gives the dynamical core tests where the (dry) model is run for several hundred days to
an equilibrium climate state. In this case, the initial conditions are irrelevant and the model can be spun up from
any sensible state. Alternatively, we can prescribe specific starting conditions and a simple orography to see
how the model flow develops in various situations which we discuss here.
The basic idea is to allow the user to define basic starting conditions for running the model. We have chosen to
start from any suitable input data (i.e. a UM dump) and then overwrite the chosen fields at the start. The user
chooses the type of surface, the vertical grid properties and the initial profile of data. Note that the user can
also choose to use part or all of the input dump data and in particular a LAM can be run from initial data and
boundaries supplied by an idealised global run. There are a large number of possible combinations of options
that could be run and not all possible configurations have been tested so please inform us of any errors found.

2 General Information on Running the UM in Idealised Mode

It is assumed that the user has a basic knowledge of how to set up and run the UM (See the UM Basic User
Guide, UMDP-000 ). To run the UM in idealised mode you will need:
• a UMUI job
• an idealised namelist
• a UM start dump
You may also need:
• vertical levels namelist
• radiation spectral files
• lateral boundary file

3 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

• locations of branches that include bug fixes


The UMUI should be set up in the same way as for any normal UM run. The idealised option can then be chosen
by setting the appropriate switch and specifying a namelist file containing parameters which define the idealised
setup in UMUI panel:
Atmosphere -> Scientific Parameters and Sections
-> Model testing and running backwards
• Select ”Run Idealised problems” and choose a problem type (choose option 3 for a general idealised
problem setup)
• Specify path for namelist file (required for all problems)

4 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

3 Idealised Mode Functionality

A large number of different options are available to set up the idealised model. Most of these options can be set
through the idealised namelist described in detail in section 7.

3.1 Defining a Model Grid

3.1.1 Domain size and model resolution

Set the model grid up in the UMUI as for a normal UM run. The model will require a UM dump with the
appropriate dimensions but will overwrite the data with the defined idealised state (unless you specify to keep
the dump values). Normally, a global dump is reconfigured to the required model grid specified in the UMUI.
You can of course then save your reconfigured file and begin your runs with it, to save having to reconfigure
every time.
To set up a model with more than 100 levels you will need to make appropriate changes in the code to increase
the maximum allowed number of vertical levels. Similarly, the maximum number of boundary layer levels allowed
is currently 30 and changes to the code are required if you want to run with more than this. (see Appendix A.1)
To set up a model domain with number of points on a row greater than 840 or number of rows greater than 570,
you will need a modset to increase the maximum allowed (see Appendix A.1).

3.1.2 Surface characteristics and Orography

If all the physics parametrizations are turned off, then the surface characteristics are irrelevant (i.e. sea/land).
However, if the boundary layer, surface exchange parametrization is turned on, then the surface does matter.
To run an idealised problem over a homogeneous surface, it is easiest to define the whole domain as sea. This
can be done by reconfiguring a new land/sea mask into the dump, or in the case of a limited area model, by
choosing a domain area that is wholly over the sea (e.g. Pacific Ocean), or using a aquaplanet model dump. If
there is land in the domain, then it will take the characteristics that are defined in the input dump. At present,
there is no functionality to define the land characteristics in the idealised namelist.
The surface can be made ”free slip” by setting L Free Slip to true in UMUI panel:
Atmosphere -> Scientific parameters and Sections
-> Model testing and running backwards
A number of different idealised orography options are available (mountain/ridge/plateau) or the orography in the
start dump can be used. There is also an option to grow the orography in time in order to let the model fields
adjust. Note that you can have orography over the sea (the model surface exchange parametrization just treats
sea points as having a certain set of characteristics.
From UM6.6 it is also possible to specify fixed roughness lengths for momentum, heat and moisture. See
Section 7.4

3.2 Setting up an Initial State

3.2.1 Introduction

The UM has a number of prognostic 3D variables including potential temperature, exner pressure, density, u, v
and w wind components and specific humidity. In the idealised setup there are a number of fields that can be
specified and the rest are derived or set to zero. There are a number of different options available to set vertical
profiles of
• potential temperature
• specific humidity
• horizontal wind components

5 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

The exner pressure is derived hydrostatically given a surface pressure and the density is calculated. Other
prognostic variables including the vertical wind component, cloud liquid water, ice/snow etc. are initially set to
zero.
Different profiles can be set by either choosing certain preset options, including the profile in the idealised
namelist (e.g. from observed data), or using the data from the start dump. For example, temperature profiles
include constant lapse rate, constant temperature or constant Brunt-Vaisala frequency. Water vapour options
include constant relative humidity. See the namelist parameter description in section 7 for more information.
There are also additional options to set up specific initial states with variations in the horizontal (e.g. deformation
front).

3.2.2 Setting the potential temperature field

There are a number of different preset options to define the potential temperature field as well as options to
use a profile from the idealised namelist or to use the actual temperature field in the start dump. These options
include initiating with a constant potential temperature or constant Brunt Vaisala frequency. The complete list
can be seen in Section 7.5.1.
For a flat domain at sea level, the profile is the same everywhere. When orography is present, different options
are available to vary the initial field over hills and valleys. When the orography is equal to or above a specified
height (defined by hs in the namelist), the profile is interpolated in height. When the orography is below this
height, the profile is stretched.

3.2.3 Setting the moisture field

There are options to set the specific humidity to zero (i.e. a dry model), to a constant relative humidity or to
a profile specified in the idealised namelist. The namelist data can either be specified as specific humidities
(qprofile option=9) or as relative humidities (qprofile option=8). In order to set the specific humidity field to
give either a constant relative humidity, or the relative humidities specified in the namelist profile, the saturated
specific humidity is required. This calculation needs both temperature and pressure (which has not yet been set)
so an initial hydrostatic pressure profile is calculated using the dry potential temperature for this purpose. Once
the appropriate specific humidity has been set, the pressure field is recalculated (see Section 3.2.5) using the
moist potential temperature. In theory this procedure should be iterated until convergence, but in practice the
procedure gives relative humidities within X% of the required value (due to the weak dependence of saturated
specific humidity on pressure).

3.2.4 Setting the horizontal wind field

There are several different options to define the initial horizontal wind fields in the horizontal and vertical.
The following vertical profiles of horizontal winds can be chosen
• Constant u and v wind in the vertical
• A change in u and v with height over three regions
– The user specifies the values of the horizontal wind at specific heights and these are interpolated
linearly onto the vertical levels to produce the wind profile.
• Horizontal winds as specified in the namelist
– There is a further option to use an alternative interpolation onto levels if orography is present.
• Use the horizontal winds from the start dump
The initial horizontal velocity can also vary in the horizontal. The options are
• Ramp u and v down towards the poles between specified latitudes.
– For use in global domain only (although code looks like it would work for any domain.)
• Deformation wind field

6 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

– Only allowed for LAM domain

3.2.5 Calculation of the hydrostatic pressure field

(a) Analytical form The initial pressure field is set up to be in hydrostatic balance with the temperature/moisture
fields The hydrostatic approximation can be written as:

∂p
+ ρg = 0 (1)
∂z
in z co-ordinates. This equation can be transformed to
∂Π g ∂z
+ =0 (2)
∂η Cp θv ∂η

in the η coordinate system, η(zs ) = 0, η(zT ) = 1, and Π is the Exner function (normalised pressure), defined as,
 κ
p
Π= (3)
p0

while κ = CRp , R is the gas constant for unit mass of dry air, p0 = 1000mb is a reference pressure, and θv is the
moist potential temperature.

(b) Numerical implementation

3.2.6 Calculation of the air density field

The density field is calculated from the temperature, moisture and pressure fields using the perfect gas law:

p p
ρ= = (4)
RT Rθv Π

3.3 Perturbing the initial field

3.3.1 Adding random perturbations

The initial temperature and moisture fields can be perturbed by adding a random number field to the initial
fields. The magnitude of the perturbations and range of levels over which they are applied can be specified in
the idealised namelist. Different random number fields can be chosen for the temperature and moisture fields
by setting L perturb correlate tq to .false. See Section 7.6 for the namelist parameters.

3.3.2 Adding ”bubbles”

It is possible to add ”bubbles” into the initial set up by adding a 3D temperature anomaly to the potential tem-
perature field (warm or cold). There are a number of options for different shaped bubbles and there is also the
option to saturate the bubble.
The method is to set up x,y,z functions containing the distance from the centre of the bubble, then apply a
function to generate the bubble amplitude at all points. This is then added to the model field. Currently, a
maximum of 3 bubbles can be added. (see Section 7.6 for namelist parameters)

7 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

3.4 Running With/Without Moisture and Physics Parametrizations

The idealised model can be run in dry dynamical mode (i.e. no moisture, no physical parametrizations) by
setting the appropriate options in UMUI panel:
Atmosphere -> Scientific parameters and Sections
-> Model testing and running backwards
If the moisture/physics options are on, then most of the individual physics parametrization schemes can be
turned off individually:
• Convection
Can be turned off in the UMUI convection scheme panel (choose ”Convection turned off”).
• Gravity wave drag
Can be turned off in the UMUI gravity wave drag panel (choose ”Gravity wave drag not included”) [CHECK
THAT THIS IS ALLOWED AT UM6.6]
• Radiation
Can be turned off in the UMUI radiation scheme panel. (choose ”Run without radiation”)
• Cloud water condensation/evaporation
Can be turned off in the UMUI large scale cloud scheme panel.
• Microphysics
Can be turned off in the UMUI large scale precipitation scheme panel.
• Boundary layer
Can be turned off in the UMUI boundary layer scheme panel.
If you make any changes to the physics options, you may need to reconfigure the start dump and may need
some handedits depending on what ancillary fields are already in the dump and what is required. For untested
options, you may also need to make sure the various physics variables/parameters are set to sensible values.

3.5 Simplifying the Physics

• Turning off the surface fluxes


To specify zero latent heat flux (evaporation) and sensible heat flux set IdlSurfFluxSeaOption to 1 in the
idealised namelist
• Turning off the radiative impact of cloud
To remove the influence of cloud in the radiation scheme calculations (i.e. assume clear sky radiation
everywhere, whether there is cloud there or not) a handedit is required to UMUI file CNTLATM.
In control file CNTLATM in namelists R2SWCLNL and R2LWCLNL set:
I CLOU D SW = 5
I CLOU D LW = 5
I SOLV ER SW = 13
I SOLV ER LW = 13
• Turning the sun off
No shortwave radiation.
• Non-rotating earth
Set L rotating to .false. in the idealised namelist.
• Flat earth
Set L trivial trigs to .true. in the idealised namelist.
• F-plane

8 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

• Turning off the non-local part of the boundary layer

• Modifying the roughness lengths for heat, moisture and momentum over sea
Specify constant roughness lengths for heat and moisture and momentum by setting L spec z0 to .true.
and specifying values (see Section 7.4)
• Turning off diabatic heating/cooling

• Turning off individual diabatic heating/cooling processes

3.6 Pushing the Limits of the UM

Often, an idealised set up pushes some of the hardwired limits of the UM and this section identifies some of the
commonly reached limits and how to remove them.
• Maximum number of vertical levels
Hardwired to 100. Code changes are required to increase this limit (see Appendix A.1).
• Maximum number of horizontal grid points
Hardwired. A modset is required to increase these limits (See Appendix A.1)
• STASH diagnostics

3.7 Available diagnostics

The full range of UM diagnostics is available (dependent on which parametrization options are chosen etc.) and
can be set up in the same way as for a normal UM run in the UMUI STASH windows.
However, the initial data set up via the idealised namelist cannot currently be output. This is because the model
fields from the start dump are only overwritten at the start of the first timestep. Thus, if you ask for a DUMP or
STASH PP-output at T+0 you will get the original input dump, NOT the idealised data (unless you happen to be
running from a previously idealised start dump). If, for example, you want to run a LAM from an idealised global
subregion then run the global for at least 1 timestep before requesting the dump (note that you may need to
work in whole hours to make the lbc time information match in your runs). This restriction means that you can’t
get the initial idealised state out from the model, you can only get the model fields out after 1 timestep.

3.8 Miscellaneous

9 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

4 Forcing the Model

4.1 Lateral Boundary Forcing

There are three options available for the lateral boundary conditions: bi-cyclic, east-west cyclic and forced
boundaries. This option is set up in the UMUI in panel
Atmosphere -> Model Resolution and Domain -> Horizontal
• Bi-Cyclic
Choose ”Limited Area (Cyclic boundary conditions - EW and NS)” in the UMUI.
• East-West Cyclic
Choose ”Limited Area (Cyclic boundary conditions - EW only)” in the UMUI panel. The north and south
boundaries are allowed to vary freely - there is no forcing and no wrap-around at these boundaries. (a
modset is required for this option to work correctly - see Appendix A.2)
• Forced/Fixed
Choose ”Limited Area (Classic style)” in the UMUI panel. The model can be run with forcing from a
lateral boundary file or with fixed forcing defined by the initial field, by setting the logical L fixed lbcs in the
idealised namelist. The fixed forcing option (L fixed lbcs=.true.) is the most commonly used option. In this
case, the model takes data from the initial conditions for the idealised run and copies them into the lateral
boundary arrays. The boundary data then remains fixed with the initial data throughout the run. The lbcs
should be turned on in the UMUI in panel:
Atmosphere -> Ancillary and input data files
-> Other ancillary files and lateral boundary file
-> Lateral boundary conditions
You can specify the rimwidth and weights for the lateral boundary conditions as in any normal LAM run.
You can set the model up to ignore the lbc file (a modset is required for this option to work correctly - see
Appendix A.2). Otherwise an appropriate lateral boundary file is required and this can be generated from
a global run for the limited area domain containing data for at least two times (i.e. the start and end of the
run). The lbc data is then overwritten with the initial conditions if L fixed lbcs=.true.

4.2 Interior Forcing

From UM version 6.1, a facility to force potential temperature, humidity and horizontal wind components (t,q,u,v)
from data in the idealised namelist has been introduced. Two homogeneous forcing options are available re-
ferred to as relaxation forcing and tendency forcing (or observation forcing). See Section 7.7 for the namelist
parameters.

4.2.1 Tendency Forcing

The data specified in the namelist represents changes to the field over a specified time period and these incre-
ments are added to the model field for the specified time.

4.2.2 Relaxation Forcing

(Newtonian relaxation) The horizontal average of the field on each model level is first calculated to form an
”average” vertical profile. A fraction of the difference between the ”average” vertical profile and the reference
profile is then added to the model field at each point over a specified timescale so that (assuming no other
changes) the field will equal the reference profile after the specified time. For potential temperature, the forcing
equation is:

∆θ (θ − θ̄)
= (5)
∆t τ

10 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

where ∆θ is the change in θ in a model timestep ∆t, θ̄ is the horizontal average of theta across the domain and
τ is the relaxation timescale.

4.3 Surface Forcing

4.3.1 Sea surface flux forcing

The sea surface latent heat and sensible heat fluxes can be overwritten with idealised fluxes by setting IdlSurf-
FluxSeaOption in the idealised namelist. There are currently three options: Zero fluxes, fixed constant fluxes
or a diurnal cycle. See Section 7.8

4.3.2 Mean sea level pressure forcing

Not yet available.

4.4 Damping Layer

The damping layer is designed to damp gravity waves near the top of the rigid lid. The variables u, v, θ and qv
are relaxed back to a reference profile (subscript ref), controlled by the timescale τD . The reference profile is
set to the initial values by default. For example, for u, the damping tendency is given by:

∂u damp
   
1 z − zD
=− exp − 1 (u − uref ) z > zD
∂t τD HD
=0 otherwise (6)

In the idealised namelist, the damping layer is switched on via the logical L damp and controlling parameters:
DMPTIM= τ1D HDMP= HD , ZDMP= zD .
Other ways to reduce spurious reflection include stretching the grid in the upper part of the domain (i.e. increas-
ing layer depth with height). This acts to damp vertically propagating waves. To damp horizontally progagating
waves in limited area mode (with forced lateral boundaries) the ”rim width” for the boundary relaxation can be
increased. Alternatively the bi-cyclic model can be used so that there are no lateral boundaries.
See Section 7.8 for namelist parameters.

4.5 Geostrophic forcing

A geostrophic wind forcing is prescribed in the same way as the Met Office LEM, by applying a momentum
tendency:

∂u geo
= −f3 vg (z)
∂t
∂v geo
= f3 ug (z) (7)
∂t
where f3 is the vertical component of Coriolis and ug and vg the x and y components of geostrophic wind
respectively. In the idealised namelist, the geostrophic forcing is switched on via the logical L geo for and
controlling parameters u geo and v geo for geostrophic wind components which are constant in the vertical.
Alternatively, the bomex forcing has a vertical profile of ug and vg (activated by switch L bomex, described next).

11 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

4.6 BOMEX shallow cumulus forcing

The BOMEX case is a quasi-equilibrium trade shallow cumulus case which is described by Siebesma et al
2003. The same forcings as used in Siebesma et al 2003 are coded in the UM: subsidence, large scale cooling
and drying forcings, surface fluxes and geostrophic wind profile. It is switched on via the logical L bomex in the
idealised namelist.
Reference:
A. Pier Siebesma and Christopher S. Bretherton and Andrew Brown and Andreas Chlond and Joan Cuxart and
Peter G. Duynkerke and Hongli Jiang and Marat Khairoutdinov and David Lewellen and Chin-Hoh Moeng and
Enrique Sanchez and Bjorn Stevens and and David E. Stevens, 2003: A Large Eddy Simulation Intercomparison
Study of Shallow Cumulus Convection, Journal of Atmospheric Sciences, 60,1201-1219

12 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

5 Standard Idealised Environments

5.1 Schar Problem (Flow over a hill)

This is a standard problem set up to compare the dynamics of different models. It consists of an East-West
cyclic LAM with westerly flow over an idealised hill. See Appendix B.1 for an example idealised namelist.
References:
Schär, C., D. Leuenberger, O. Fuhrer, D. Lüthi, and C. Girard, 2002: A new terrain-following vertical coordinate
formulation for atmospheric prediction models. Mon. Wea. Rev., 130, 2459-2480.
Klemp, J. B., Skamarock, W. C., Fuhrer, O., 2003: Numerical Consistency of Metric Terms in Terrain-Following
Coordinates Mon. Wea. Rev., 131, 1229-1239.

5.2 Convective-Radiative Equilibrium

This is a setup commonly used in Cloud Resolving Models to study tropical convection. It is usually run with
a bi-cyclic domain with forced radiative cooling in the troposphere and initial random surface temperature per-
turbations. tforce option should be set to 1 and a cooling rate (K/day) can be specified in the namelist. The
cooling is applied up to 400 hPa and then ramped down to zero at 200 hPa. L perturb t should also be set to
true with an appropriate magnitude of perturbation (defining the maximum temperature perturbation applied to
model level 1). See Appendix B.2 for an example idealised namelist and for more information on setting up this
experiment contact carol.halliwell@metoffice.gov.uk

5.3 Monsoon

Select idealised option 1 in UMUI panel:


Atmosphere -> Scientific Parameters and Sections
-> Model testing and running backwards
This option forces the model with a meridionally symmetric Newtonian relaxation of temperature, with warming
near the Equator and cooling towards the Poles. If you are interested in setting up this idealised problem, please
contact terry.davies@metoffice.gov.uk for further information.

5.4 Dynamical Core (Held-Suarez Test)

Select idealised option 2 in UMUI panel:


Atmosphere -> Scientific Parameters and Sections
-> Model testing and running backwards
The physics should be turned off for this idealised test of the dynamical core. The setup includes a Newtonian
relaxation of temperature and a simple friction term applied at the surface.
The namelist parameters relevant to this problem are listed in Section 7.9 and their definitions should be obvious
after consulting the reference below.
If you are interested in setting up this idealised problem, please contact terry.davies@metoffice.gov.uk for further
information.
References:
Held, I. M., and M. J. Suarez, 1994: A proposal for the intercomparison of the dynamical cores of atmospheric
general circulation models”, Bull. Am. Meteorol. Soc., 73, 1825-1830.

13 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

5.5 SCANIA

The L pressure balance logical is used to set up the SCANIA problem. A number of different configurations for
this idealised problem are:
1. u and f = constant
Set f plane > -89.0 in idealised namelist.
Not sensible for global configurations.
2. Horizontal cosine jet of width 2×ujet width (in degrees) centred at ujet lat with pressure balance.
Set ujet lat and ujet width.
3. Horizontal cosine squared jet of width 2×ujet width centred at ujet lat with pressure balance.
Set ujet lat and ujet width and r plane > -89.0 (any value).
4. u = constant and variable f
Do NOT set f plane or ujet lat in idealised namelist.
Not recommended for Global since u 6= 0 at poles.
NOTE: If L trivial trigs is .true. (LAM only) then balance is in Cartesian geometry on an f plane and both u and v
values used. If you are interested in setting up this idealised problem, please contact terry.davies@metoffice.gov.uk
for further information.

5.6 Deformation Front in a Baroclinic Zone

This idealised configuration has an horizontal deformation wind field and east-west upper-level jet in thermal
wind balance with a north-south horizontal temperature gradient. It can be used to study fronts and frontogen-
esis/frontolysis. It must be run with the fixed boundary LAM option. See Appendix B.3 for an example idealised
namelist.
The deformation field option is chosen by setting uv horizfn number=3 in the idealised namelist. A pure stretch-
ing deformation field which is irrotational and non-divergent can be represented by a streamfunction,

ψ = −Kxy (8)

where K is a constant, which leads to a wind field defined by

ud = −Kx, vd = −Ky (9)

where ud is the horizontal wind component in the x-direction (zonal) and vd is the horizontal wind component
in the y-direction (meridional). The magnitude of the deformation field can be set to vary in the vertical using
idealised namelist arrays u in and height u in. For example the deformation field can be set to be constant from
the surface to 5 km and then reduced linearly with height to zero at the tropopause.
Increments are made to the pressure field so that the wind and pressure field are in geostrophic balance.

∇p = −ρf ~k × u~d (10)

where u~d = (ud , vd ). Since the basic state deformation flow is symmetrical, the front cannot be referred to as a
cold or warm front.
For frontogenesis to occur there needs to be a north-south temperature gradient and zonal jet in thermal wind
balance. Appropriate temperature and wind fields are calculated and added to the initial model state after the
initial temperature and deformation wind fields have been initialised. The maximum wind speed in the jet and
the height of the maximum are specified. The jet consists of a westerly wind (i.e. along the x-axis) increasing
linearly with height from zero at the surface to a maximum at the tropopause and decreasing to zero at a
specified height above the tropopause. In the meridional direction (i.e. the y-axis), the jet is defined by a cosine
function (from −π to +π) with a specified wavelength, scaled to have a value of one at the jet maximum dropping
to zero either side. The characteristics of the jet are controlled by the idealised namelist variable t horizfn data:

14 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

t_horizfn_data(1) = jet core maximum (e.g. 60m/s)


t_horizfn_data(2) = width of jet in metres (e.g. 800000m)
t_horizfn_data(3) = height of maximum jet in metres (e.g. 10000m)
t_horizfn_data(4) = height jet goes to zero in metres (e.g. 15000m)
The thermal gradient is then calculated from the thermal wind relation,

∂θ θf ∂ug
= (11)
∂y g ∂z

and added to the model potential temperature field. The pressure field is also updated so that the model is in
hydrostatic balance.

5.7 Baroclinic lifecycle

(a) (b)

Figure 1: Vertical cross sections of initial zonal mean: (a) potential temperature, (b) zonal wind for the baroclinic
lifecycle for a jet maximum of 50ms−1 and width 3000km.

From version 6.2, there is the option of a baroclinic lifecycle simulation (L baroclinic=.true. in idealised namelist).
The baroclinic lifecycle can be used to isolate the role of different physics (e.g. boundary layer diffusion) in
cyclone evolution, or for basic dynamics studies. The initial state is a zonal mean jet (Ubs ) given by:
   
Ujet sinh(mz/H) Ly Ly Ly
Ubs (y, z) = 1 − cos l y + z≤H − ≤y≤
2 sinh(m) 2 2 2
   
Ujet  1
 z  Ly Ly Ly
Ubs (y, z) = exp mS 2 1 − 1 − cos l y + z≥H − ≤y≤
2 H 2 2 2
Ubs = 0 otherwise (12)
where Ujet , m, l and Ly are the maximum jet wind speed, a vertical wavenumber, a horizontal wavenumber and
meridional width of the jet respectively. Typical parameter values are: m = 0.7, Ujet = 50ms−1 , Ly = 3000km,

and l = L y
. Some of these parameters are controlled by the array t horizfn data in the idealised namelist. See
Appendix B.4 for more details. The jet with these parameters is plotted in Figure 1, along with the zonal mean
potential temperature in thermal wind balance with it. Superposed on the jet is an initial perturbation consisting
of a vortex with width Lx (typically 3000 km, close to the maximum Eady growth rate wavelength of 3400 km),
and maximum amplitude (A), typically 20 ms−1 at the tropopause, the amplitude decaying exponentially in the
vertical away from the tropopause. The upper vortex pattern (Uvort , Vvort ) is given by:
   
2πNtrop (z − H) y 2πr
Uvort = −Aexp sin z ≤ H r ≤ Lx /2
f0 L x r Lx
   
2πNstrat (H − z) y 2πr
Uvort = −Aexp sin z ≥ H r ≤ Lx /2
f0 L x r Lx
Uvort = 0 otherwise
r = ((x − x0 )2 + y 2 )0.5 (13)

15 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

   
2πNtrop (z − H) x − x0 2πr
Vvort = Aexp sin z ≤ H r ≤ Lx /2
f0 L x r Lx
   
2πNstrat (H − z) x − x0 2πr
Vvort = Aexp sin z ≥ H r ≤ Lx /2
f0 L x r Lx
Vvort = 0 otherwise (14)

where f0 , Lx , r, A and x0 are the Coriolis parameter, width of vortex in x direction, radial distance from the
centre of vortex, amplitude of vortex, and location of the vortex centre in the x direction relative to the centre
of the domain respectively. f0 = 1.19 × 10−4 s−1 , x0 = −5, 000km, Lx = 3000km, A = 20ms−1 . The large
amplitude of the upper level vortex is designed to trigger rapid cyclogenesis. This is in contrast to normal mode
initialisation which tends to give slower initial growth.
A reference potential temperature profile (θref ) is set in the idealised namelist and defined by:

θ0 2
θref (z) = z
N z≤H
g trop
θ0 2 Hθ0 2
θref (z) = (z − H) Nstrat + Ntrop z>H (15)
g g

where θ0 , g, Ntrop , Nstrat and H are the surface reference potential temperature, gravitational acceleration,
tropospheric Brunt-Väisällä frequency, stratospheric Brunt-Väisällä frequency and depth of the troposphere
N2
respectively. Ntrop = 1.16 × 10−2 s−1 , H = 9 km, S = Nstrat
2 = 4.
trop

Thermal wind balance is integrated horizontally to calculate a consistent potential temperature (θ) distribution
from the prescribed wind fields. The thermal wind balance is given by:

∂θ f0 θ0 ∂Vvort
=
∂x g ∂z
∂θ f0 θ0 ∂(Ujet + Uvort )
=− (16)
∂y g ∂z

Hydrostatic balance is then used to calculate the initial Exner pressure (π):
  cR
∂π g p p T
=− ; π= ; θ= (17)
∂z cp θ p0 π

where p, p0 , R and cp are pressure, reference surface pressure, the ideal gas constant for dry air and the
specific heat capacity of air at constant pressure respectively. The sea surface temperature is typically uniform
at 290 K (theta surface in idealised namelist) and the initial potential temperature above the surface is adjusted
(by adding a constant to the potential temperature throughout the domain) so that the boundary layer is initially
neutral in the centre of the domain, stable to the south, and unstable to the north. Also the density is initialised
to its reference value.
The simulation is typically run for five days, giving a baroclinic wave lifecycle. In order to enforce a dry simulation,
the initial moisture field is set to zero (see Appendix B.4) and the latent heat flux should be set to zero. It is
possible to relax these changes in order to give a moist simulation. Also, at version 6.0 and 6.1 of the UM it was
found best to switch off the updating of the lateral boundary conditions after initialisation (see Appendix A.2) to
limit spurious perturbations entering from the Western boundary.

5.8 Cyclone vortex

This is new from version 6.2 (L cyclone=.true. in idealised namelist). The same thermal wind balancing and
reference potential temperature is used as in the baroclinic lifecycle but with the winds prescribed as:
   
−2πNtrop z y 2πr
Ucyc = −Aexp sin r ≤ Lx /2
f0 L x r Lx
Ucyc = 0 otherwise
r = ((x − x0 )2 + y 2 )0.5 (18)

16 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

   
−2πNtrop z x − x0 2πr
Vcyc = Aexp sin r ≤ Lx /2
f0 L x r Lx
Vcyc = 0 otherwise (19)

This gives a warm core vortex in thermal wind balance with maximum winds near the surface decaying expo-
nentially in the vertical. The near surface potential temperatures are adjusted to make the boundary layer stably
stratified throughout the warm core. Bi-cyclic boundary conditions are also applied. The cyclone vortex can
then be left to decay (typically for 5 days) under the action of the boundary layer scheme and without moisture,
simulating the Ekman spin down process. Future developments could also include moist process to simulate
the growth of an idealised hurricane.

17 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

6 Recent and Future Developments, Bugs and Fixes

6.1 Main changes from UM Version 6.2 up to 6.6

• Damping layer at top of domain.


• Geostrophic forcing
• BOMEX shallow cumulus forcing
• New option for sea surface forcing, IdlSurfFluxSeaOption (constant surface sensible/latent heat fluxes)

6.2 Main changes from UM Version 6.0 to 6.2

• Homogeneous forcing options for t,q,u,v introduced


• Option to set relative humidity in the namelist profile, rather than specific humidity.
• Sea surface temperature forcing, including zero surface fluxes or diurnal fluxes throughout run.
• More flexible temperature/humidity perturbation options. Perturbations can be applied on any number of
levels within a specified range.
• Initialisation of warm/cold bubble anomalies.
• Separate specification of height levels for temperature/humidity and horizontal wind profiles in the namelist.

6.3 Main changes from UM Version 5.5 to 6.0

• Bug fix for Suarez-Held dynamical problem (AAM5F600)

6.4 Main changes from UM Version 5.4 to 5.5

• L Free Slip is no longer in the idealised namelist. It is set in UMUI panel:


Atmosphere -> Scientific parameters and Sections
-> Model testing and running backwards
• L constant u is no longer in the idealised namelist. It has been replaced with uvprofile number=0
• uvprofile number and uvprofile data have been added to the namelist to allow different options for the
horizontal wind profile setup (including reading data from the namelist)
• An option to set up a deformation wind field with east-west jet in thermal wind balance is included.
• Vertical profiles read from namelists are now interpolated onto constant altitude levels (height above mean
sea level). Previously the code ignored the orography and interpolated onto constant height-above-surface
levels).

6.5 Known bugs and fixes

• Fixed lateral boundaries


There is a bug when running with fixed lateral boundaries (L fixed lbcs=.true.) that will cause the model
to fail. See Appendix A.2 for the code changes needed to fix this problem.

18 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

6.6 Potential developments for future UM releases

• Mean sea level pressure forcing.


• The ability to output diagnostics of the idealised initial state (rather than after timestep 1).
Branch locations may be available to implement future developments at the current release.

6.7 Untested Combinations of Options

There are a very large number of possible combinations of options and not all combinations have been tested.
The code is written with flexibility in mind and not all options may be compatible with each other. Let us know
about any bugs you find !

19 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7 Idealised Namelist

This section describes the parameters that can be set in the idealised namelist. The parameters are separated
into different categories: (1) General Options, (2) Defining the Vertical Grid, (3) Defining the Orography, (4)
Defining the Surface Characteristics, (5) Defining Temperature, Moisture and Wind Profiles, (6) Defining the
Temporal Forcing and (7) Miscellaneous Options. The parameters are of type LOGICAL if they begin with L .
Defaults options/values and units are also given.

7.1 General options

Parameter Type Description


.false. (default)
.true. Initialise fields under control of idealised namelist in-
L initialise data Logical
put. Input dump will be overwritten at beginning of
timestep 1.
.false. (default)
L idealised data Logical .true. Set idealised ancillary arrays if including physics
and allow use of idealised forcing options.
.false. (default) Normal lateral boundary condition updating
for boundary forced LAM (requires lbc file).
.true. Lbcs fixed at initial conditions throughout the run for
L fixed lbcs Logical boundary forced LAM. Do not use fixed lbcs when
using data from the initial dump (i.e. t,q,uvprofile -
number = 10). [REQUIRES MODSET TO WORK -
SEE APPENDIX A.2]
.false. (default) Standard spherical coordinates
L trivial trigs Logical .true. Set trigs so model equations solved in Cartesian ge-
ometry (LAM only)

Latitude in degrees for desired f-plane Set > -90.0


f plane Real
to activate (default = -90.0)

Longitude in degrees for desired ff-plane Set > -


ff plane Real
90.0 to activate (default = -90.0)
.false. (default) Use full 3D Coriolis term.
L vert Coriolis Logical
.true. Set vertical Coriolis term ONLY.
.false. Set Earth’s rotation to zero (Omega=0.0)
L rotating Logical
.true. (default) Normal rotating planet

20 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7.2 Defining the vertical grid

Various vertical grid options are available. The number of levels is defined in the UMUI but the level spacing
is overwritten by the idealised code depending upon the chosen option. You need to specify the height of the
top of the domain (note that this may be modified slightly by the vertical grid set up routine depending on the
chosen option). There are additional variables to specify the characteristics of the big layers etc.

Parameter Type Description


Options for vertical grid spacing definition (height):
1 Regular
21 Quadratic theta grid (u levels midway)
22 Separate Quadratic theta and u grids
23 Common Quadratic theta and u grid
3 Stretched grid used by Schar
grid number Integer
4 Stretched grid used by DWD
5 Stretched grid followed by regular big layers
6 Quadratic grid followed by stretched layers plus thin
layer near surface
10 (default) As defined by input dump/vertical levels
namelist (i.e. no change)
height domain Real Height of lid for domain in metres (default = 10000.0) Note:
Stretched grids may change this value e.g. grid number=5
first theta height Real Height of lowest theta level (default = 10.0)
thin theta height Real Height of lowest theta level above surface for grid number=6
(default = 1.0)
first constant r - Integer First constant height level above orography (overwrites dump
rho level new or UMUI value) (no default - must be set)
Options for vertical grid flattening above orography:
1 Original linear flattening from boundary layer to
first constant rho level
grid flat Integer 2 Linear flattening from level 1 to first constant rho -
level
3 (default) Quadratic flattening from surface to first -
constant rho level
big layers Integer Number of big layers (1 or 2 usually enough) (for grid num-
ber=5) (default = 0)
big factor Real Multiplication factor big layers/normal layers (for grid num-
ber=5). Also used for temperature profile=4. (default = 1.0)
transit layers Integer Number of layers in transition from normal to big layers (for
grid number=5) (default = 0)
mag Real Magnification factor for the transit layers (for grid number=5)
(default = 1.0)

21 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7.3 Defining the orography

Parameter Type Description


Options for specifying orography:
0 Zero orography
1 Elliptical mountain (Witch of Agnesi)
2 North-South Ridge
3 Elliptical plateau (beheaded Witch of Agnesi)
surface type Integer 4 Massif Elliptical plateau (4 Witches!)
5 Use orography from input dump within half widths,
zero elsewhere (i.e. real orography)
6 Gaussian Hill
10 (default) Use orography from input dump (i.e. real
orography everywhere)
grow steps Integer Number of time steps over which orography is grown. A value
of 0 means no growing
ho Real The maximum mountain height in metres. Note: If surface type
3 is selected the plateau height is h o. (default = 0.0)
lambda fraction Real The East-West position of the centre of the mountain as a frac-
tion of the domain, 0 or 1 for left or right boundaries which for
global domains is the meridian, 0.5 for centre which for global
domains is the Date-line, 0.25 for 90◦ E, etc. (default = 0.5)
phi fraction Real The North-South position of the centre of the mountain as a
fraction of the domain. For global domain South Pole = 0,
North Pole = 1, 0.5 = Equator, 0.7 = 36◦ N etc. (default = 0.5)
half width x half - Real For surface type=1,2,3,4,6 this is the horizontal East-West dis-
width y tance (half width x) and North-South distance (half width y) in
metres from the peak (h o) to where the hill is at height h o/2.
For surface type=5, these are the horizontal distances from
the centre of the domain defining the half width of the zone to
keep the real orography (from the dump). (For both parame-
ters, default = 2500000.0)
plat size x plat - Real The horizontal East-West half-width (plat size x) and North-
size y South half-width (plat size y) of a plateau of height h o (for
surface type=4) (metres) (default = 0.0)
Witch power Real Exponent power used in Witch of Agnesi (for surface -
type=1,3,4). (default = 1.5)

7.4 Defining the surface characteristics

Parameter Type Description


p surface Real Pressure (Pa) at sea level z=0 (default = 100000.0)
theta surface Real Temperature (K) at sea-level z=0 (default = 280.0)
.false. (default) Surface roughness length as calculated in
code
L spec z0 Logical
.true. Fixed roughness length. [N.B. This has not been
tested fully yet]

roughlen z0m Real Roughness length for momentum (default = 0.0)


roughlen z0h Real Roughness length for heat and moisture (default = 0.0)

22 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7.5 Defining the vertical profiles of temperature, moisture and wind

7.5.1 Temperature Profile

Parameter Type Description


Options for temperature profile:
1 Constant (dθ/dz) static stability in layers
2 Constant temperature (Isothermal)
3 Constant Brunt-Vaisala frequency (g*dθ/dz)/θ
4 As 3 but isothermal (big layers) at top
tprofile number Integer 6 Zonally symmetric as dynamical core
7 As 6 but symmetric about rotated equator need to
set reference latitude r plane
9 As defined by tprofile data in this namelist (see
7.5.4)
10 (default) As defined by input dump (i.e. no change)
dtheta dz1(3) Real Lapse rate dtheta/dz for 3 layers (K/m) for tprofile number=1
(default, dtheta dz1(i)=0.01)
height dz1(2) Real Layer boundaries for dtheta/dz values (m) for tprofile num-
ber=1 (default height dz1(i)=0.0)
.false. Use all values of dtheta dz1
L constant dz Logical .true. (default) Use only first value of dtheta dz1 (for tpro-
file number=1)
Brunt Vaisala Real Brunt-Vaisala frequency g * (dtheta/dz) / theta (for tprofile -
number=3,default = 0.01)

7.5.2 Moisture Profile

Parameter Type Description


Options for moisture profile:
0 No moisture
1 Constant relative humidity (defined by q1(0))
8 relative humidities defined by qprofile data array in
qprofile number Integer
this namelist (see 7.5.4)
9 specific humidities defined by qprofile data array in
this namelist (see 7.5.4)
10 (default) As defined by input dump (i.e. no change)
q1 Real For qprofile number=1 this is the relative humidity (%) (default
= 70.0)

7.5.3 Horizontal Wind Profile

23 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


Options for horizontal wind profile:
0 Constant u,v wind at all heights defined by u -
in(1),v in(1)
1 Interpolate the u,v wind in the vertical using u -
uvprofile number Integer
in(1:4),v in(1:4) and height u in(1:3)
9 As defined by uprofile data and vprofile data arrays
in this namelist (see section 7.5.4)
10 (default) As defined by input dump (i.e. no change)
Options for horizontal wind functions:
0 (default) No horizontal wind variation. u in(4) and
v in(4) are the prescribed velocities for 4 heights de-
fined by the surface and height u in(3).
1 Symmetric north-south ramp function using u -
uv horizfn number Integer ramp start and u ramp end. u in(4) is the vel. field
gradient (m/s/1000km) for 4 layers and height -
u in(3) specifies the layer boundaries (the lowest
boundary is assumed to be the surface.
2 Balance winds from pressure (not available yet?)
3 Horizontal deformation field

Parameter Type Description


u in(4) Real Prescribed u-component for 4 heights (m/s) (default u -
in(i)=0.0)
v in(4) Real Prescribed v-component for 4 heights (m/s) (default v -
in(i)=0.0)
height u in(3) Real Heights at which u in, v in are valid (m) Linear interpolation of
u,v between specified heights Note: u in(1),v in(1) are u,v at
the surface Note: u,v are constant above height u in(3) (de-
fault height u in(i)=0.0)
.false. (default) Input u,v relative to rotated grid
L rotate winds Logical .true. Input u,v are true u,v (i.e. Westerly and Southerly so
the winds are rotated to obtain u,v on rotated grid)
u ramp start Real Start latitude (degrees) to linearly ramp down u towards 0 set
> 0.1 to activate (default = 0.0)
u ramp end Real Latitude (degrees) polewards of which u=0 Both hemispheres
treated symmetrically (ramp works on cosine of latitudes so
sign taken into account) (default = -90.0)
.false. (default)
L polar wind zero Logical
.true. Set winds=0 on first 2 and last 2 rows (for global)
1 constant with height, i.e. ignoring orography (de-
fault)
idl interp option Integer 2 hybrid height everywhere up to a specified height
(hf) for orography less than hs = height domain
3 as 2 but with hs = zprofile orog
hf Real Maximum height for interpolation for use with idl interp option
= 2 or 3 (default = 0.0)
zprofile orog Real For use with idl interp option = 2 or 3 (default = 0.0)

7.5.4 Setting Vertical Profiles from Namelist Data Arrays

The following variables are used if tprofile number=9 or qprofile number=9 or uvprofile number=9. The 1D
profile data (tprofile data, q profile data, u profile data and v profile data) can be on any height levels (specified
by zprofile data and z uvprofile data) as the data is interpolated to the model vertical grid (however the data
must extend to the top of the model or beyond).

24 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


num profile data Integer The number of elements in the data arrays for z, t or q
(which can be different to the number of model levels)
(default = 100), Maximum value = 100.
zprofile data(100) Real Ar- An array of heights (above sea level) for the data values
ray in the t,q arrays (metres) (default zprofile data(i)=0.0)
tprofile data(100) Real Ar- An array of values (K) defining the theta profile. (default
ray tprofile data(i)=0.0)
qprofile data(100) Real Ar- An array of values defining the q (kg/kg) profile. (default
ray qprofile data(i)=0.0)
num uvprofile data Integer The number of elements in the data arrays for u and v
(which can be different to the number of model levels)
(default = 0), Maximum value = 100.
z uvprofile data(100) Real Ar- An array of heights (above sea level) for the data val-
ray ues in the u and v arrays (metres) (default z uvprofile -
data(i)=0.0)
uprofile data(100) Real Ar- An array of values defining the u (m/s) profile. (default
ray uprofile data(i)=0.0)
vprofile data(100) Real Ar- An array of values defining the v (m/s) profile. (default
ray vprofile data(i)=0.0)

7.6 Perturbing the initial fields

Parameter Type Description


.false. (default) No perturbations
L perturb t Logical .true. Add a random perturbation to the temperature field
with amplitude perturb magnitude t

perturb magnitude t Real Maximum amplitude of the perturbations in the temperature


field (K) (default = 0.5K)
.false. (default) No perturbations
L perturb q Logical .true. Add a random perturbation to the moisture field with
amplitude perturb magnitude q

perturb magnitude q Real Maximum amplitude of the perturbations in the moisture field
(kg/kg) (default = 0.5e-3 kg/kg)

25 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


.false. different perturbations are used in temperature and
moisture fields
L perturb correlate tq Logical
.true. (default) the same perturbations are used for tem-
perature and moisture fields

perturb type Integer 1 (default): random perturbations. This is the only option avail-
able at present

perturb height(2) Real ar- Minimum and maximum heights over which perturbations are
ray applied. (default = 0.0)

0 (default) no bubbles
1 Bubbles created using 3D Gaussian function. Spec-
ify magnitude and dimensions of each bubble via
idl bubble option(3) Integer parameters below.
2 Bubbles created using ”block” function Specify mag-
nitude and dimensions of each bubble via parame-
ters below.
idl bubble max(3) Real Maximum amplitude of bubble (K) (default = 1.0)
idl bubble height(3) Real Height of bubble centre (km) (default = 1000.0)
idl bubble xoffset(3) Real Bubble x-offset (normalised units: 0.5 = domain centre)(default
= 0.5)
idl bubble yoffset(3) Real Bubble x-offset (normalised units: 0.5 = domain centre)(default
= 0.5)
idl bubble width(3) Real Horizontal width of bubble (km) (default = 1000.0)
idl bubble depth(3) Real Depth of bubble (km) (default = 1000.0)
.false. (default)
L idl bubble saturate Logical
.true. set bubble to saturation.

7.7 Defining the forcing for temperature, moisture and wind

Parameter Type Description


Forcing options for potential temperature:
0 (default) No forcing
1 Tendency forcing: Tendencies in tforce data
tforce option Integer (K/day) added to potential temperature field
2 Relaxation forcing: Field relaxed back to pro-
file in tforce data (K) with timescale specified
in newtonian timescale.

26 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


num tforce levels Integer Number of levels in the forcing profile data for potential
temperature Must be no more than 100 (default = 1).
num tforce times Integer Number of profiles in forcing timeseries for potential tem-
perature (default = 1).
tforce time interval Real Time interval between profiles in forcing timeseries for
potential temperature (default = 600.0)
z tforce data(100) Real Ar- Heights (m) of the forcing timeseries data for potential
ray temperature (default = 0.0)
tforce data(100,100) Real Forcing potential temperature profile timeseries data
(K/day or K depending on the forcing option. Each pro-
file for each time must have 100 elements, pack out with
zeroes if necessary, e.g. -8.0,-8.0, 0.0, 97*0.0, -8.0,-8.0,
0.0, 97*0.0 (default = 0.0)
Forcing options for humidity:
0 (default) No forcing
1 Tendency forcing: Tendencies in qforce data
qforce option Integer (kg/kg per sec) added to specific humidity field
2 Relaxation forcing: Field relaxed back to profile
in qforce data (kg/kg) with timescale specified
in newtonian timescale.
num qforce levels Integer Number of levels in the forcing profile data for specific
humidity. Must be no more than 100 (default = 1).
num qforce times Integer Number of profiles in forcing timeseries for specific hu-
midity (default = 1)
qforce time interval Real Time interval between profiles in forcing timeseries for
specific humidity (default = 600.0)
z qforce data(100) Real Ar- Heights (m) of the forcing timeseries data for specific hu-
ray midity (default = 0.0)
qforce data(100,100) Real Forcing specific humidity profile timeseries data (kg/kg
per sec or kg/kg depending on the forcing option. Each
profile for each time must have 100 elements, pack out
with zeroes if necessary. (default = 0.0)

27 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


Forcing options for horizontal wind components:
0 (default) No forcing
1 Tendency forcing: Tendencies in uforce data
and vforce data (m/s per sec) added to wind
uvforce option Integer
field
2 Relaxation forcing: Field relaxed back to pro-
file in uforce data and vforce data (m/s) with
timescale specified in newtonian timescale.
num uvforce levels Integer Number of levels in the forcing profile data for horizontal
wind Must be no more than 100 (default = 1).
num uvforce times Integer Number of profiles in forcing timeseries for horizontal
wind (default = 1).
uvforce time interval Real Time interval between profiles in forcing timeseries for
horizontal wind (default = 600.0).
z uvforce data(100) Real Ar- Heights (m) of the forcing timeseries data for horizontal
ray wind (default = 0.0).
uforce data(100,100) Real Forcing u- and v- wind component profile timeseries data
vforce data(100,100) (m/s per sec or m/s depending on the forcing option.
Each profile for each time must have 100 elements, pack
out with zeroes if necessary (default = 0.0).
newtonian timescale Real Relaxation timescale (s) for relaxation forcing option
(*force option2̄) for all fields (default = 3600.0).
L force Logical Redundant from UM Vn6.1 onwards
cool rate Real Redundant from UM Vn6.1 onwards

28 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7.8 Other forcing options

Parameter Type Description


Options for surface forcing:
1 Zero sea surface heat fluxes (default)
IdlSurfFluxSeaOption Integer 2 Diurnal cycle (positive surface fluxes during
the day, zero at night)
3 Constant sea surface fluxes
(1) IdlSurfFluxSeaOption = 2: Maximum sensible
heat flux (W/m2) (default = 0.0)
IdlSurfFluxSeaOption = 3: Constant sensible
heat flux (Wm-2)
(2) IdlSurfFluxSeaOption = 2: Maximum latent
IdlSurfFluxSeaParams(4) Real Ar-
heat flux (W/m2) (default = 0.0)
ray
IdlSurfFluxSeaOption = 3: Constant latent
heat flux (Wm-2)
(3) Time (UTC) of max flux (hours) (default = 0.0)
(4) Length of the day (hours)(default = 0.0)
.false. (default)
L damp Logical
.true. Apply damping layer at top of domain
DMPTIM Real reciprocal of damping timescale tD (default = 0.0)
HDMP Real height scale of damping layer (default = 0.0)

ZDMP Real Starting height of damping layer (default = 0.0)

.false. (default)
L geo for Logical
.true. activate geostrophic forcing

u geo Real u component of geostrophic wind (default = 0.0)

u geo Real v component of geostrophic wind (default = 0.0)

.false. (default)
L bomex Logical
.true. activate BOMEX shallow cumulus forcing

29 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

7.9 Miscellaneous options

Parameter Type Description


.false. (default)
.true. initialise a limited area domain with a baro-
L baroclinic Logical
clinic jet and tropopause perturbation in
order to simulate baroclinic instability.
.false. (default)
.true. initialise a limited area domain with a
L cyclone Logical
warm core vortex, analogous to a spinning
down cyclone or an idealised hurricane
t horizfn data(4) Real Ar- For E-W jet in deformation front setup (defaults to 0.0).
ray t horizfn data(1) = jet core maximum (m/s)
t horizfn data(2) = width of zonal jet (m)
t horizfn data(3) = height of maximum jet (m)
t horizfn data(4) = height jet goes to zero (m)
Also used with L baroclinic and L cyclone (see de-
scription above and Appendices below)
r plane Real (for Held Suarez test and pressure balance) reference
latitude in degrees for desired LAM domain south-
ernmost latitude set to desired latitude to activate if
tprofile number=7 set > -89.0 to choosing option 3 of
pressure balance for tprofile number .ne.7 (default =
-90.0)
SuHe newtonian timescale ka Real (default = 2.893e-7) related to Suarez-Held (dynami-
cal core) experiment. See reference in Section 5.4 for
details.
SuHe newtonian timescale ks Real (default = 2.893e-6) related to Suarez-Held (dynami-
cal core) experiment. See reference in Section 5.4 for
details.
SuHe pole equ deltaT Real (default = 60.) related to Suarez-Held (dynamical
core) experiment. See reference in Section 5.4 for
details.
SuHe static stab Real (default = 10.0) related to Suarez-Held (dynamical
core) experiment. See reference in Section 5.4 for
details.

30 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

Parameter Type Description


base frictional timescale Real (default = 1.1574e-5) related to Suarez-Held (dynamical core)
experiment. See reference in Section 5.4 for details.
SuHe sigma cutoff Real (default = 0.7) related to Suarez-Held (dynamical core) experi-
ment. See reference in Section 5.4 for details.
SuHe relax Integer (default = 2) related to Suarez-Held (dynamical core) experi-
ment. See reference in Section 5.4 for details.
SuHe fric Integer (default = 2) related to Suarez-Held (dynamical core) experi-
ment. See reference in Section 5.4 for details.
L SH williamson Logical (default = .false.) related to Suarez-Held (dynamical core) ex-
periment. See reference in Section 5.4 for details.
.false. (default)
L code test Logical
.true. User switch for testing code
0 (default)
Instability diagnostics ¿0 Check for negative pressure and produce error if
found

.false. (default)
.true. If true. then derive pressure/temperature field by ap-
plying geostrophic and hydrostatic relationships to
L pressure balance Logical
input wind field (SCANIA-type) - will overwrite tem-
perature profile choice. - in spherical geometry, v in
is ignored and set to zero.
ujet lat Real Latitude (degrees) at which input u-component has u in value
(default = -90.0)
ujet width Real If ujet lat > -89.0 then horizontal cosine jet of width 2*ujet width
(in deg) applied to pressure balance (default = 0.0)

31 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

8 Description of the Idealised Code Structure

8.1 Overview

The main body of the idealised code is called from the ATM STEP subroutine on the first timestep to set up
the vertical grid, orography and initial fields of potential temperature (theta), exner pressure, density, u, v, w and
moisture. Subroutines to regenerate the orography and level heights for growing orography are also called every
timestep throughout the growing period (if this option is turned on). The vertical grid eta values (eta theta levels
and eta rho levels) are set up in IDL CALC ETA LEVEL. The orography, defined by r theta level(i,j,0), is set
up in IDL SURFACE SETUP. The heights of the levels (r theta levels and r rho levels) are set up from the eta
values and the orography, r theta level(i,j,0) in IDL GENERATE GRID. The 3D fields are set up in IDL INITIAL -
DATA using arrays with large halos so that external halo values in LAMs can be set correctly for the lateral
boundary conditions. The model prognostics (theta, exner, rho, u, v and w) only have small halos (off x, off y)
and so other existing arrays with large halos are temporarily used as workspace to set up the initial fields in
IDL INITIAL DATA:
• u adv is used for u
• v adv is used for v
• w adv for exner rho levels
(Note: w adv(0:model levels) = exner rho levels1(1:model levels+1)
• q is used for q
• qcl is used for theta
• qcf is used for rho
After the fields are set up in IDL INITIAL DATA, the internal halos are set with a call to SET HALOS. If fixed
lateral boundaries have been chosen the routine COPY FIELD is used to copy the work arrays to the proper
prognostic arrays (e.g. qcl to theta). In IDL FIX LAM LBCS the lateral boundary arrays (holding the external halo
and internal rimwidth) are set from the work arrays and w, w adv, qcl and qcf are set to zero. The subroutine
IDL COPY LBC TEND copies the lateral boundary conditions into the lateral boundary tendency arrays and
these both remain fixed at the initial conditions for the whole of the model run. If fixed boundaries are not
chosen, then we still need to copy the work arrays to the correct prognostic arrays and set w, w adv, qcl and qcf
to zero, and this is done in IDL IDEAL SET FIELDS.

32 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

8.2 Pseudo-code

Subroutine ATMSTEP
IF (Initialise model with idealised data) THEN
CALL IDL_NI_INIT
IF (this is the first timestep) THEN

CALL IDL_CALC_ETA_LEVELS - Set up vertical grid (eta levels)


CALL IDL_SURFACE_SETUP - Set up surface orography
CALL IDL_GENERATE_GRID - Calculate level heights from eta
CALL IDL_INITIAL_DATA - Set up initial data
Set temperature profile (Call IDL_tprofile1,2,3...)
Set moisture fields
Set wind fields (Rotate winds, deformation wind,
pressure balance)
Calculate density from equation of state
CALL POLAR_RESET_MEAN - Reset polar row (if global)
CALL IDL_SET_ANCIL - Set ancillary arrays
(if physics on)

IF (surface forcing is activated)

overwrite the sensible and latent heat fluxes

ENDIF

ELSE

IF (orography is growing) THEN

CALL IDL_SURFACE_SETUP - Recalculate growing orography


CALL IDL_GENERATE_GRID - Regenerate heights from eta

END IF

IF (surface forcing is activated)

overwrite the sensible and latent heat fluxes

ENDIF

ENDIF
ENDIF

CALL SET_HALOS - Update halos for time-dependent fields

IF (Fixed lateral boundaries and this is the first timestep) THEN

CALL COPY_FIELD - Copy theta,exner,rho,u and v into


correct arrays
CALL IDL_FIX_LAM_LBCS - Set fixed lbcs for idealised LAM
CALL IDL_COPY_LBC_TEND - Copy LBC data into LBC tendency array

ELSE IF (Initialise model with idealised data and first timestep)

33 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

CALL IDL_IDEAL_SET_FIELDS - Copy idealised data from work space

ENDIF

IF (Idealised model and timestep > 1 and


forcing for any field is activated)

CALL IDL_FORCE - force each field as specified in namelist

END IF

34 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

A Code modifications for UM version 6.6

A.1 Increasing the maximum number of levels

For example, if you wish to run on more than 100 model levels changes should be made in the following include
file.
amaxsize.h Change MODEL LEVELS MAX and WET LEVELS MAX to a value larger, or the same as, the
number of levels you want to run on.
The maximum number of rows and the maximum row length can also be changed here by changing the values
of ROWS MAX and ROW LENGTH MAX respectively.
Likewise, if you wish to run on more than 50 boundary layer levels changes should be made in the following
include file.
cmaxsize.h Change max bl levels to a value larger, or the same as, the number of levels you want to run on.

A.2 Turning off lateral boundary updating

When using fixed LAM boundary conditions the user needs to change the code so that subsequent updating of
the lateral boundary conditions is turned off after initialisation. This simply involves deleting the call to UPDATE -
LAM LBCS in ATM STEP.

35 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

B Example Namelists for Idealised Problems

B.1 Schar problem (flow over an idealised hill in an E-W cyclic domain)

&IDEALISE
! Idealised namelist for Schar-type problem (flow over a hill)
! To be run in E-W cyclic mode

L_idealised_data = .true. ! Using UM in idealised mode


L_initialise_data = .true. ! Set up idealised initial conditions
surface_type = 6 ! Gaussian Hill
h_o = 100.0 ! Height of the hill
grow_steps = 0 ! Orography not growing
lambda_fraction = 0.33 ! E-W location of centre of the hill
phi_fraction = 0.5 ! N-S location of centre of the hill
half_width_x = 6000.0 ! Half width of the hill (E-W)
half_width_y = 6000.0 ! Half width of the hill (N-S)
grid_number = 10 ! Use vertical grid defined in dump
height_domain = 20000. ! Height of top of domain
tprofile_number = 1 ! Temperature profile option
theta_surface = 280.0 ! Surface temperature
L_constant_dz = .true. ! Constant lapse rate
dtheta_dz1 = 0.003 ! Lapse rate (K/m)
qprofile_number = 0 ! No moisture
uvprofile_number = 0 ! Constant u,v wind at all heights
u_in = 8.0 ! Wind u-component
v_in = 0.0 ! Wind v-component
p_surface = 100000.0 ! Set surface pressure (Pa)
f_plane = 0.0 ! Set f plane to 0.0 latitude
L_rotating = .false. ! Turn off Earth’s rotation
L_trivial_trigs = .true. ! Cartesian grid
first_constant_r_rho_level_new=48 ! Constant height levels
! (no orography)

&END

36 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

B.2 Radiative-convective equilibrium (bi-cyclic domain)

&IDEALISE
L_idealised_data = .true. ! Using UM in idealised mode
L_initialise_data=.true. ! Set up idealised initial conditions
surface_type=0 ! Flat surface
grid_number=10 ! use vertical levels namelist
height_domain=20000.0 ! height of domain
tprofile_number=9 ! defined by tprofile_data below
qprofile_number=9 ! defined by qprofile_data below
theta_surface=300.0 ! temperature (K) at sea-level
p_surface=100000.0 ! Pressure (Pa) at sea-level
u_in=0.0 ! initial u-component of wind
v_in=0.0 ! initial v-component of wind
height_u_in=3*0.0 ! used for horiz winds
first_constant_r_rho_level_new=48 ! need to include this (no default)
L_rotating = .false. ! Turn off Earth’s rotation
L_trivial_trigs=.true. ! Cartesian grid if true
f_plane=0.0 ! Set f plane to 0.0 latitude

! Perturbations

L_perturb_t=.true. ! perturb temperature


perturb_type = 1 ! random
perturb_magnitude_t=0.05 ! magnitude of perturbations
perturb_height = 0.0 ! code resets so perturbs are only on
!first level

! Forcing

tforce_option=1 ! add increment to theta every timestep


num_tforce_levels = 4
num_tforce_times = 2 ! (beginning and end of run)
tforce_time_interval = 2592000 ! large value
!(larger than run length)
z_tforce_data = 0.0, 7672.038, 12368.908, 20000.0
! heights for forcing profile
tforce_data = -8.0, -8.0, 98*0.0,
-8.0, -8.0, 98*0.0 ! cooling rate (K/day)

!=======================================================================
!
! Temperature and Humidity Initial Profiles
!
!=======================================================================

num_profile_data=33,
zprofile_data=0.0, 0.400000e+02, 0.164408e+03, 0.359008e+03,
0.567003e+03, 0.809578e+03, 0.109890e+04, 0.144166e+04,
0.183620e+04, 0.227366e+04, 0.274169e+04, 0.322844e+04,
0.372515e+04, 0.422678e+04, 0.473171e+04, 0.524149e+04,
0.576119e+04, 0.630004e+04, 0.687130e+04, 0.749048e+04,
0.817195e+04, 0.892497e+04, 0.975178e+04, 0.106492e+05,
0.116140e+05, 0.126487e+05, 0.137644e+05, 0.149776e+05,
0.163003e+05, 0.177281e+05, 0.192366e+05, 20692.,
23917.,
tprofile_data=300.0, 0.3e+03, 0.30001e+03, 0.300022e+03,

37 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

0.300037e+03, 0.300989e+03, 0.302286e+03, 0.303961e+03,


0.306078e+03, 0.308247e+03, 0.310276e+03, 0.312295e+03,
0.314531e+03, 0.317298e+03, 0.320102e+03, 0.322254e+03,
0.324713e+03, 0.326562e+03, 0.328885e+03, 0.331730e+03,
0.334393e+03, 0.335951e+03, 0.337040e+03, 0.339121e+03,
0.341179e+03, 0.342880e+03, 0.344805e+03, 0.349794e+03,
0.363791e+03, 0.390919e+03, 0.422414e+03, 0.490229e+03,
0.592750e+03,
qprofile_data=0.0170, 0.169373e-01, 0.167484e-01, 0.163407e-01
0.138204e-01, 0.124157e-01, 0.110220e-01, 0.990078e-02
0.878978e-02, 0.763414e-02, 0.653033e-02, 0.553185e-02
0.467597e-02, 0.390955e-02, 0.313867e-02, 0.239834e-02
0.176957e-02, 0.126861e-02, 0.901434e-03, 0.626371e-03
0.385266e-03, 0.222901e-03, 0.148682e-03, 0.860966e-04
0.359368e-04, 0.880074e-05, 0.208687e-05, 0.153740e-05
0.100000e-05, 0.100000e-05, 0.100000e-05, 0.207000e-05
0.822000e-05,

&END

38 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

B.3 Frontogenesis (Fixed boundary LAM)

&IDEALISE
! Idealised namelist for deformation frontogenesis
! To be run in Classic fixed boundary LAM mode

L_idealised_data = .true. ! Using UM in idealised mode


L_initialise_data = .true. ! Set up idealised initial conditions
surface_type = 0 ! Flat
grid_number = 3 ! Vertical grid definition
grid_flat = 3 ! Grid flattening function
height_domain = 16000. ! Height of top of domain
tprofile_number = 4 ! Temperature profile option
theta_surface = 288.15 ! Surface temperature
Brunt_Vaisala = 0.01 ! Constant B-V frequency
big_layers = 8 ! Number of isothermal levels at top
t_horizfn_data = 60.,800000.,10000.,17000. ! upper-level jet data
qprofile_number = 1 ! Constant relative humidity
q1 = 0.7 ! Relative humidity (%/100)
uvprofile_number = 0 ! Wind varies with height
u_in = 30.,30.,0.,0. ! Wind u-component
v_in = 0.,0.,0.,0. ! Wind v-component
height_u_in = 5000.,10000.,60000. ! Heights for wind profile
uv_horizfn_number = 3 ! Deformation front with jet
p_surface = 100000.0 ! Set surface pressure (Pa)
L_trivial_trigs = .true. ! Cartesian grid
f_plane = 55.0 ! Set f-plane
L_rotating = .true. ! Rotating Earth
L_vert_Coriolis = .true. ! Coriolis term
L_fixed_lbcs = .true. ! Fixed boundaries
first_constant_r_rho_level_new=1 ! Constant height levels
! (no orography)

&END

39 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

B.4 Baroclinic lifecycle (Fixed boundary LAM)

&IDEALISE
!-----------------------------------------------------------------------
! Idealised namelist for baroclinic lifecycle
!-----------------------------------------------------------------------

L_idealised_data = .true.
L_initialise_data = .true.
surface_type = 0,
grid_number = 10 !
first_constant_r_rho_level_new = 1
theta_surface = 290.0,
tprofile_number = 1,
L_constant_dz = .false.,
! Reference potential temperature profile
! with troposphere up to 9km and stratosphere above.
dtheta_dz1 = 0.004, 0.016,
height_dz1 = 9000.0, 60000.0,

! Parameters defining jet andupper level perturbation


! t_horizfn_data(1) = U_jet =Jet maximum in m/s
! t_horizfn_data(2) = L_y =North-South width of jet in metres
! t_horizfn_data(3) = L_x =East-West width of upper level vortex
! perturbation in metres
! t_horizfn_data(4) = x_0 = East-West centre of upper level
! perturbations relative to centre
! of the domain in metres
! t_horizfn_data(5) = A = amplitude of upper vortex in m/s

t_horizfn_data = 50.,3000000.,3000000.,-5000000.0,20.0,0.5,
! MOISTURE- Dry simulation
qprofile_number=8
num_profile_data=5
! Height of data points (metres)
zprofile_data= 0.0, 5000., 10000., 15000., 60000.,
! Relative humidity (%/100)
qprofile_data= 0.0, 0.0, 0.0, 0.0, 0.0,
! HORIZONTAL WIND
uvprofile_number = 1
uv_horizfn_number = 10
u_in = 0.0, 0.0, 0.0, 0.0
height_u_in = 5000., 10000., 60000.
v_in = 0.0, 0.0, 0.0, 0.0
! MISCELLANEOUS
p_surface = 100000.0,
L_fixed_lbcs = .true.
L_trivial_trigs = .true.
L_vert_Coriolis = .true.
L_rotating = .true.
L_initialise_data = .true.
f_plane = 55.
ff_plane = 0.0
! Baroclinic
L_baroclinic = .true.
! Cyclone (not on)
L_cyclone = .false.
! N.B The latent heat flux should be set to zero but
! IdlSurfFluxSeaOption = 1 will set both latent heat and sensible

40 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

! heat fluxes to zero.


! May need to change code to get this working
&END

41 c Crown Copyright 2015



UMDP: 033
Running the Unified Model in Idealised Mode

B.5 Cyclone vortex (bi-cyclic boundary conditions)

&IDEALISE
!-----------------------------------------------------------------------
! Idealised namelist for cyclone vortex
!-----------------------------------------------------------------------

L_idealised_data = .true.
L_initialise_data = .true.
surface_type = 0,
grid_number = 10 ! 10=Use vertical grid defined in dump
first_constant_r_rho_level_new = 1
theta_surface = 290.0,
tprofile_number = 1,
L_constant_dz = .false.,
! Reference potential temperature profile
! with troposphere up to 9km and stratosphere above.
dtheta_dz1 = 0.004, 0.016,
height_dz1 = 9000.0, 60000.0,

! Controlling namelist parameters for cyclone vortex


! t_horizfn_data(1) = Vortex wind speed maximum (e.g. 25 m/s)
! t_horizfn_data(2) = Vortex diameter in metres (e.g. 2000 km)
t_horizfn_data = 25.,3000000.,

! MOISTURE - Dry simulation


qprofile_number=8
num_profile_data=5
! Height of data points (metres)
zprofile_data= 0.0, 5000., 10000., 15000., 60000.,
! Relative humidity (%/100)
qprofile_data= 0.0, 0.0, 0.0, 0.0, 0.0,

! HORIZONTAL WIND
uvprofile_number = 1
uv_horizfn_number = 10
u_in = 0.0, 0.0, 0.0, 0.0
height_u_in = 5000., 10000., 60000.
v_in = 0.0, 0.0, 0.0, 0.0

! MISCELLANEOUS
p_surface = 100000.0,
L_fixed_lbcs = .true.
L_trivial_trigs = .true.
L_vert_Coriolis = .true.
L_rotating = .true.
L_initialise_data = .true.
f_plane = 55.
ff_plane = 0.0
! Baroclinic (not on)
L_baroclinic = .false.
! Cyclone
L_cyclone = .true.

&END

42 c Crown Copyright 2015

You might also like