Version 42 (modified by suehring, 4 years ago) (diff)

--

Nesting

PALM provides two nesting systems. A multi-scale self nesting is available where PALM model domains can be recursively nested within each other and the corresponding model simulations run in parallel to each other with an continuous communication at runtime. Further, PALM provides the possibility to nest the model domain within larger-scale models, where the larger-scale model runs in advance, providing time-dependent boundary condition for the subsequent PALM run. The nesting within larger-scale models is hence referred to as offline nesting. Both nesting systems can be used at the same time, which allows to resolve small-scale phenomena without neglecting larger-scale processes on the synoptic scale. The following sections contain a documentation of the PALM self nesting as well as that of the offline nesting in larger-scale models, which include a general description of the method, the required input parameters, preparatory steps, as well as example setups and general remarks. Please click on any icon below to get to the respective part of the documentation.

PALM self nesting

A multi-scale self nesting system is available since -r1763. In the self nesting, there is one root model with up to 63 child model domains which are embedded into the root model. Child domains, in turn, can be recursively nested into each other, where a model domain can be parent and child domain at the same time. The child domain obtains boundary data of the three velocity components and all prognostic scalar variables from the parent domain, where the boundary data is interpolated from the coarse parent grid onto the fine child grid. The other way around, the updated child solution after the timestep is transferred back onto the parent grid by anterpolation. The self-nesting can be operated as a 1-way nesting, where the anterpolation step is omitted, i.e. there is no feedback in the parent by the child model, and as a 2-way nesting, where parent and child solution mutually depend on each other. Starting from -r4777 the two-way coupling is equipped with a canopy-restricted anterpolation in order to avoid certain anomalies that are likely to occur if anterpolation is made within obstacle canopies. It is recommended to use this feature e.g. for urban canopy flows to switch off the anterpolation within the layer occupied by the buidings.

Child domains can be recursively nested within each other under the condition that the child domain fits completely into its respective parent domain. Child domains can also be parallel to each other sharing the same parent domain, but the parallel child domains must not overlap each other. Recursive and parallel children may co-exist in the same run. Please note also that the outer boundaries of a nested child domain must match the underlying parent-grid lines in all directions. Morever, inside the child domain, all the parent-grid lines must match the corresponding child-grid lines. Therefore, also the grid-spacing ratios in each coordinate direction must be integer valued. This also implies that vertical grid stretching is not allowed in nested runs except in the root domain above the top level of the highest nested domain. The domain decomposition (pe grid) of all children must be such that the subdomain size is never smaller than the parent grid-spacing in the respective direction.

To apply the self nesting, the namelist &nesting_parameters must be provided.

Please note: The PALM self nesting currently undergoes major testing and revisions. A more detailed description will follow after the official release.

Offline nesting within larger-scale models

Since revision -r3347 a nesting in larger-scale models is available in PALM, which is realized as a pure offline nesting. Therefore, time-dependent values for the three velocity components, potential temperature and the mixing ratio are stored for the lateral and top boundaries of the PALM model domain in the dynamic input file (see dynamic input file). The boundary data are read and mapped onto the respective boundaries during the simulation, while the boundary data is interpolated linearly in time, depending on the data availability. This way, it is possible to account for changing synoptic conditions during the simulation without adding further tendency terms or to nudge the LES solution. The four lateral boundaries as well as the model top boundary are thus non-cyclic boundaries (see non-cyclic), where, depending on the input data, in- and outflow can occur simultaneously at one lateral boundary layer. At the beginning, the model is initialized with mean profiles or heterogeneous 3D data inferred from the larger-scale model.

The PALM model can be nested into any larger-scale model of your choice (COSMO, WRF, etc.), subject to the condition that the data in the dynamic input file is readable, i.e. with horizontal and vertical dimensions as expected by PALM. Boundary data need to be provided for each boundary grid point at the lateral xz, yz-layers as well as at the top boundary. To date, the pre-processing tool INIFOR is available which can convert output data from the COSMO model into PALM-readable boundary data. A WRF interface is available for generating the dynamic input file from the output of a WRF simulation, which also supports optional CAMx output files for preparing the initial and boundary conditions for the chemistry model.

Larger-scale model output data do not encompass any resolved-scale turbulence but turbulence is completely parametrized. Hence, turbulence needs to develop first in the PALM model domain, requiring some adjustment zones near the boundaries. In order reduce the adjustment zones near the boundaries, turbulence development is accelerated / triggered by using a synthetic turbulence generator, which is applied at the lateral boundaries; and imposes turbulent fluctuations onto the boundary data of the velocity components with characteristic amplitude depending on atmospheric stability inferred from the mean boundary data.

The offline nesting can be applied in combination with the self nesting implemented in PALM, with the root model nested offline in the larger-scale model and the child models recursively nesting within the root model. This case, only the root model requires the initialization and boundary data from the larger-scale model via the dynamic input file.

To apply the offline nesting, a dynamic input file is required, as well as the namelist &nesting_offl_parameters must be provided.

Attachments (4)

Download all attachments as: .zip