Changes between DALES 4.x and 5.0#
This page documents the recent changes to DALES, in particular those that require adapting existing cases. For more details, see CHANGELOG in the DALES repository.
Incompatibilities#
The following changes require user adaptation, changeing the installation procedure and adapting old case files.
Installation#
The installation steps have changed: DALES now uses git submodules, and the options to cmake
have been modified. See Compilation of DALES for the current compilation procedure.
Scalar variables#
Scalar variables are now accessed by name, instead of just index. Scalars variables are automatically added as required by the modules that are active.
nsv in the namelist is now ignored
iadv_sv is no longer an array but a single value for all scalars
scalar.inp.NNN
is no longer mandatory. Scalars for which no initial value is provided are initialized to 0. Ifscalar.inp.NNN
is provided, it must contain a header line with the names of the scalars in the columns. The header must be two lines (as before). The second line must now list the scalar names and nothing else (for example an extra#
, if followed by a space will cause problems). This is a valid scalar input file:
input file Scalar Profiles - RICO Trade Cu Period (12/16-01/08)
height nr qr
2.0000E+001 0 0
6.0000E+001 0 0
1.0000E+002 0 0
...
Microphysics#
The namelist for the full Seifert-Beheng microphysics scheme (
NAMBULKMICRO3
) has been merged with the existing namelist for microphysics (NAMMICROPHYSICS
).The variable
Nc0
has been removed from the namelistNAMBULKMICRO3
. Users should instead provide a value forNc_0
(mind the underscore!) inNAMMICROPHYSICS
.modbulkmicrostat
is slowly being replaced. To get per-process statistics for the warm bulk scheme (optionimicro=2
), remove theNAMBULKMICROSTAT
namelist from your namoptions file and add the following:
&NAMMICROPHYSICS
imicro = 2
lstat = .true. ! Enable per-process statistics
... other settings
/
&NAMOUT1D
lstat = .true. ! Enable profiles output
dtav = 60 ! Sampling interval
timeav = 600 ! Averaging interval
/
Other major changes#
GPU support with OpenACC (see section Using the GPU)
Immersed boundary conditions enabling simulation of obstacles e.g. buildings (see section IBM)