Changes between Version 482 and Version 483 of doc/app/initialization_parameters


Ignore:
Timestamp:
Feb 8, 2021 10:18:21 AM (4 years ago)
Author:
raasch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/initialization_parameters

    v482 v483  
    630630By default, the model uses constant grid spacing along the z-direction, but it can be stretched using either the old parameters [#dz_stretch_level dz_stretch_level], [#dz_stretch_factor dz_stretch_factor], [#dz_max dz_max] or the new ones [#dz_stretch_level_start dz_stretch_level_start], [#dz_stretch_level_end dz_stretch_level_end] which allow grid stretching to a finer or coarser grid and the definition of several stretching regions. If the new stretching method is used different dz values have to be specified by the user (equal to the number of defined [#dz_stretch_level_end dz_stretch_level_end] + 1). In that way PALM knows which grid spacing shall be used before and after the grid stretching region limited through [#dz_stretch_level_start dz_stretch_level_start] and [#dz_stretch_level_end dz_stretch_level_end].\\\\
    631631Assuming a constant dz, the scalar levels (zu) are calculated directly by:\\\\
    632       zu(0) = - dz(1) * 0.5    or    zu(0) = 0.0 depending on the boundary condition you choose,\\\\
     632      zu(0) = 0.0,\\\\
    633633      zu(1) = dz(1) * 0.5,\\\\
    634634      zu(k) = zu(k-1) + dz(1).\\\\
    635635The w-levels lie half between them:\\\\
    636       zw(k) = ( zu(k) + zu(k+1) ) * 0.5.
     636      zw(k) = ( zu(k) + zu(k+1) ) * 0.5,\\\\
     637except for k=0, where
     638      zw(0) = 0.0
    637639}}}
    638640|----------------