Changes between Version 389 and Version 390 of doc/app/initialization_parameters


Ignore:
Timestamp:
Jun 12, 2018 11:18:03 AM (7 years ago)
Author:
Giersch
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • doc/app/initialization_parameters

    v389 v390  
    659659}}}
    660660{{{#!td style="vertical-align:top"
    661 R
    662 }}}
    663 {{{#!td style="vertical-align:top"
    664 
     661R(10)
     662}}}
     663{{{#!td style="vertical-align:top"
     66410 * -1.0
    665665}}}
    666666{{{#!td
    667667Vertical grid spacing (in m).\\\\
    668 This parameter must be assigned by the user because no default value is given.\\\\
    669 By default, the model uses constant grid spacing along the z-direction, but it can be stretched using the parameters [#dz_stretch_level dz_stretch_level] and [#dz_stretch_factor dz_stretch_factor]. In case of stretching, a maximum allowed grid spacing can be given by [#dz_max dz_max].\\\\
    670 Assuming a constant '''dz''', the scalar levels (zu) are calculated directly by:\\\\
    671       zu(0) = - '''dz''' * 0.5\\\\
    672       zu(1) = '''dz''' * 0.5\\\\
     668At least one value must be assigned by the user because no realistic value is given.\\\\
     669By 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].\\\\
     670Assuming a constant dz, the scalar levels (zu) are calculated directly by:\\\\
     671      zu(0) = - dz(1) * 0.5    or    zu(0) = 0.0 depending on the boundary condition you choose,\\\\
     672      zu(1) = dz(1) * 0.5,\\\\
     673      zu(k) = zu(k-1) + dz(1).\\\\
    673674The w-levels lie half between them:\\\\
    674       zw(k) = ( zu(k) + zu(k+1) ) * 0.5
     675      zw(k) = ( zu(k) + zu(k+1) ) * 0.5.
    675676}}}
    676677|----------------
     
    682683}}}
    683684{{{#!td style="vertical-align:top"
    684 9999999.9
     6851000.0
    685686}}}
    686687{{{#!td
    687688Allowed maximum vertical grid spacing (in m).\\\\
    688 If the vertical grid is stretched (see [#dz_stretch_factor dz_stretch_factor] and [#dz_stretch_level dz_stretch_level]), '''dz_max''' can be used to limit the vertical grid spacing.\\\\
    689 '''Attention:'''\\
    690 So far, vertical grid stretching cannot be applied when simultaneously using PALM's particle model (see list of [../parpar Particle Parameters]).
     689If the vertical grid is stretched (see [#dz_stretch_factor dz_stretch_factor] and [#dz_stretch_level dz_stretch_level]), '''dz_max''' can be used to limit the vertical grid spacing. The default value is 1000 to prevent unrealistic high vertical grid spacings.
    691690}}}
    692691|----------------
     
    712711}}}
    713712{{{#!td style="vertical-align:top"
    714 100000.0
     713-9999999.9
    715714}}}
    716715{{{#!td
     
    721720      zw(k) = ( zu(k) + zu(k+1) ) * 0.5.\\\\
    722721For [#ocean ocean] = ''.T.,'' '''dz_stretch_level''' is the height level (in m, negative) below which the grid is to be stretched vertically. The vertical grid spacings [#dz dz] below this level are calculated correspondingly as\\\\
    723       dz(k-1) = dz(k) * [#dz_stretch_factor dz_stretch_factor].\\\\
    724 '''Attention:'''\\
    725 So far, vertical grid stretching cannot be applied when simultaneously using PALM's particle model (see list of [../parpar Particle Parameters]).
     722      dz(k-1) = dz(k) * [#dz_stretch_factor dz_stretch_factor].
     723}}}
     724|----------------
     725{{{#!td style="vertical-align:top"
     726[=#dz_stretch_level_end '''dz_stretch_level_end''']
     727}}}
     728{{{#!td style="vertical-align:top"
     729R(9)
     730}}}
     731{{{#!td style="vertical-align:top"
     7329 * 9999999.9
     733}}}
     734{{{#!td
     735Height level until which the grid is to be stretched vertically (in m). Up to 9 heights/separate stretching regions are possible.\\\\
     736For [#ocean ocean] = ''.F.,'' '''dz_stretch_level_end''' is the height level (in m) until which the grid is to be stretched vertically. The vertical grid spacings [#dz dz] between this level and the corresponding [#dz_stretch_level_start dz_stretch_level_start] are calculated as\\\\
     737      dz(k+1) = dz(k) * dz_stretch_factor_array\\\\
     738and used as spacings for the scalar levels (zu). The w-levels are then defined as:\\\\
     739      zw(k) = ( zu(k) + zu(k+1) ) * 0.5.\\\\
     740For [#ocean ocean] = ''.T.,'' '''dz_stretch_level_end''' is also the height level (in m) until which the grid is to be stretched vertically but it is defined negative. The vertical grid spacings [#dz dz] between this level and the corresponding [#dz_stretch_level_start dz_stretch_level_start] are calculated as\\\\
     741      dz(k-1) = dz(k) * dz_stretch_factor_array.\\\\
     742For each '''dz_stretch_level_end''' a corresponding [=#dz_stretch_level_start dz_stretch_level_start] must be defined. \\\\
     743'''Hint:'''\\
     744dz_stretch_factor_array is an array in the code which accounts for different stretching factors due to different stretching regions that are possible. The factors are calculated internally except for the case when the old stretching for the free atmosphere with [#dz_stretch_factor dz_stretch_factor], [#dz_stretch_level dz_stretch_level] and [#dz_max dz_max] is used.
     745}}}
     746|----------------
     747{{{#!td style="vertical-align:top"
     748[=#dz_stretch_level_start '''dz_stretch_level_start''']
     749}}}
     750{{{#!td style="vertical-align:top"
     751R(9)
     752}}}
     753{{{#!td style="vertical-align:top"
     7549 * -9999999.9
     755}}}
     756{{{#!td
     757Height level above/below which the grid is to be stretched vertically (in m). Up to 9 heights/separate stretching regions are possible.\\\\
     758For [#ocean ocean] = ''.F.,'' '''dz_stretch_level_start''' is the height level (in m) above which the grid is to be stretched vertically. The vertical grid spacings [#dz dz] between this level and the corresponding [#dz_stretch_level_end dz_stretch_level_end] are calculated as\\\\
     759      dz(k+1) = dz(k) * dz_stretch_factor_array\\\\
     760and used as spacings for the scalar levels (zu). The w-levels are then defined as:\\\\
     761      zw(k) = ( zu(k) + zu(k+1) ) * 0.5.\\\\
     762For [#ocean ocean] = ''.T.,'' '''dz_stretch_level_start''' is the height level (in m, negative) below which the grid is to be stretched vertically. The vertical grid spacings [#dz dz] between this level and the corresponding [#dz_stretch_level_end dz_stretch_level_end] are calculated as\\\\
     763      dz(k-1) = dz(k) * dz_stretch_factor_array.\\\\
     764For each '''dz_stretch_level_start''' a corresponding [#dz_stretch_level_end dz_stretch_level_end] must be defined except for the last level. Here, it is possible to omit the value for [#dz_stretch_level_end dz_stretch_level_end] to consider 'endless' stretching until the value of [=dz_max dz_max]) is reached. In that case the stretching factor can not be calculated and is set to the value of [=dz_stretch_factor '''dz_stretch_factor''']. \\\\
     765'''Hint:'''\\
     766dz_stretch_factor_array is an array in the code which accounts for different stretching factors due to different stretching regions that can be defined. The factors are calculated internally except for the case when the old stretching for the free atmosphere with [#dz_stretch_factor dz_stretch_factor], [#dz_stretch_level dz_stretch_level] and [#dz_max dz_max] is used.
    726767}}}
    727768|----------------