[5] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
---|
| 2 | <html> |
---|
| 3 | <head> |
---|
| 4 | <meta http-equiv="CONTENT-TYPE" |
---|
| 5 | content="text/html; charset=windows-1252"> |
---|
| 6 | <title>PALM chapter 4.0</title> |
---|
| 7 | <meta name="GENERATOR" content="StarOffice 7 (Win32)"> |
---|
| 8 | <meta name="AUTHOR" content="Siegfried Raasch"> |
---|
| 9 | <meta name="CREATED" content="20040809;14214479"> |
---|
| 10 | <meta name="CHANGED" content="20041112;15151993"> |
---|
| 11 | <meta name="KEYWORDS" content="parallel LES model"> |
---|
| 12 | <style> |
---|
| 13 | <!-- |
---|
| 14 | @page { size: 21cm 29.7cm } |
---|
| 15 | --> |
---|
| 16 | </style> |
---|
| 17 | </head> |
---|
| 18 | <body dir="ltr" lang="en-US"> |
---|
| 19 | <h2 style="line-height: 100%;"><font size="4">4.0 Steering parameters</font></h2> |
---|
| 20 | <p style="line-height: 100%;">Before carrying out a model run, the user |
---|
| 21 | has to /determine/ a data set - the model parameters - e.g. how |
---|
| 22 | many grid points are to be used, how large the horizontal and |
---|
| 23 | vertical grid spacing should be, which kind of boundary conditions are |
---|
| 24 | to be used for the individual variables, which numerical schemes |
---|
| 25 | implemented in the model are to be used, how long the simulated time |
---|
| 26 | should be, at which times and points plot output are supposed to be |
---|
| 27 | made, etc. <br> |
---|
| 28 | </p> |
---|
| 29 | <p style="line-height: 100%;">These data are assigned with the help of |
---|
| 30 | so-called ?NAMELIST-driven input? (FORTRAN - NAMELIST |
---|
| 31 | input). The ?gewählten? values of the model parameters are written |
---|
| 32 | into an ASCII file with fixed format, which is expected by the model as |
---|
| 33 | an input |
---|
| 34 | file under the local name <a href="chapter_3.4.html#PARIN">PARIN</a>. |
---|
| 35 | On this file the parameters are represented by their variable names |
---|
| 36 | they have in the model. These parameters can be assigned one or more |
---|
| 37 | values, depending on the type and size the variable has. The following |
---|
| 38 | example shows the format of the file |
---|
| 39 | PARIN: <br> |
---|
| 40 | </p> |
---|
| 41 | <ul> |
---|
| 42 | <p style="line-height: 100%; font-family: monospace;">&inipar nx |
---|
| 43 | = 79, ny = 79, nz = 40, <br> |
---|
| 44 | dx = 50.0, dy = 50.0, dz = |
---|
| 45 | 50.0, <br> |
---|
| 46 | initializing_actions = |
---|
| 47 | "set_1d-model_profiles", <br> |
---|
| 48 | prandtl_layer = .TRUE.,/ </p> |
---|
| 49 | <p style="line-height: 100%; font-family: monospace;">&d3par |
---|
| 50 | end_time = 9000.0, section_xy = 1, 10, 20,/ </p> |
---|
| 51 | <p style="line-height: 100%; font-family: monospace;">&packagename |
---|
| 52 | var1 = .TRUE. / </p> |
---|
| 53 | <p style="line-height: 100%;"><span style="font-family: monospace;">&userpar |
---|
| 54 | abcd = 1234,0,/ </span><br> |
---|
| 55 | <br> |
---|
| 56 | </p> |
---|
| 57 | </ul> |
---|
| 58 | <p style="line-height: 100%;">The parameters are separated into four |
---|
| 59 | different groups which all start with the so-called NAMELIST group |
---|
| 60 | names. |
---|
| 61 | These are <span style="font-family: monospace;">&inipar</span>, <span |
---|
| 62 | style="font-family: monospace;">&d3par</span> and <span |
---|
| 63 | style="font-family: monospace;">&packagename</span> as well as <span |
---|
| 64 | style="font-family: monospace;">&userpar</span>. In each case a |
---|
| 65 | group is terminated with one backslash ("/"). Between the beginning of |
---|
| 66 | the line and the group name at least one blank has to be typed. Between |
---|
| 67 | the |
---|
| 68 | group names and the "/", the |
---|
| 69 | values are assigned to the variables. The example shows that in |
---|
| 70 | principle all FORTRAN data types are allowed. For more details |
---|
| 71 | concerning the NAMELIST syntax, refer to |
---|
| 72 | appropriate FORTRAN manuals. <br> |
---|
| 73 | </p> |
---|
| 74 | <p style="line-height: 100%;">Parameters belonging to the group <span |
---|
| 75 | style="font-family: monospace;">inipar</span> are first read by PALM. |
---|
| 76 | These are the initialization parameters. Second, the so-called run |
---|
| 77 | parameters belonging to the group <span style="font-family: monospace;">d3par</span> |
---|
| 78 | are read in, then the parameters for steering the optional software |
---|
| 79 | packages (group <span style="font-family: monospace;">packagename,</span> |
---|
| 80 | the string <span style="font-family: monospace;">"packagename"</span> |
---|
| 81 | must be replaced by the NAMELIST |
---|
| 82 | group name of the respective package) as well as user-defined |
---|
| 83 | parameters |
---|
| 84 | (group <span style="font-family: monospace;">userpar</span>). The four |
---|
| 85 | groups must be given in this order, the last groups, <span |
---|
| 86 | style="font-family: monospace;">packagename</span> and <span |
---|
| 87 | style="font-family: monospace;">userpar</span>, may |
---|
| 88 | be omitted. If several software packages are selected |
---|
| 89 | (see chapter <a href="chapter_3.7.html">3.7</a>), |
---|
| 90 | further NAMELIST groups may be inserted before the group <span |
---|
| 91 | style="font-family: monospace;">userpar</span>. |
---|
| 92 | </p> |
---|
| 93 | <p style="line-height: 100%;"><b>The initialization, run</b> and |
---|
| 94 | <b>package parameters</b> differ as follows: </p> |
---|
| 95 | <ul> |
---|
| 96 | <li> |
---|
| 97 | <p style="margin-bottom: 0cm; line-height: 100%;">The <b>initialization |
---|
| 98 | parameters </b>are steering the basic settings of the model run. They |
---|
| 99 | define e.g. the number of the grid points, the numerical schemes to be |
---|
| 100 | used, initial and boundary conditions to be applied, how the |
---|
| 101 | three-dimensional fields are initialized at the beginning of a model |
---|
| 102 | run (constant value profiles or 1D-model-pre-run, the initial |
---|
| 103 | temperature profile etc.). These parameters apply to the total model |
---|
| 104 | run and thus can not be changed with restart runs! If one tries to |
---|
| 105 | change these values within the NAMELIST input file of a restart run, |
---|
| 106 | then these changes are ignored (sole exception is the parameter <a |
---|
| 107 | style="font-family: monospace;" |
---|
| 108 | href="chapter_4.1.html#initializing_actions">initializing_actions</a><font |
---|
| 109 | style="font-size: 10pt;" size="2">, </font>which must be given the |
---|
| 110 | value<span style="font-family: thorndale,serif,mon;"> </span><span |
---|
| 111 | style="font-family: monospace; font-style: italic;">read_restart_data</span><span |
---|
| 112 | style="font-family: thorndale,serif,mon;"> for </span>restart runs). <br> |
---|
| 113 | </p> |
---|
| 114 | </li> |
---|
| 115 | <li> |
---|
| 116 | <p style="margin-bottom: 0cm; line-height: 100%;">The <b>run |
---|
| 117 | parameters</b> are generally steering actions to be carried out during |
---|
| 118 | a model run. One can select for example, at which times plot output |
---|
| 119 | should happen and which variables are to be written. Additionally one |
---|
| 120 | can (and must) specify the time to be simulated. Run parameters only |
---|
| 121 | apply to the actual run (job) and with each restart run other values |
---|
| 122 | may be declared (if runs are restarted automatically, parameters will |
---|
| 123 | usually keep their values, provided that the NAMELIST input file was |
---|
| 124 | not changed by the user in the meantime). <br> |
---|
| 125 | </p> |
---|
| 126 | </li> |
---|
| 127 | <li> |
---|
| 128 | <p style="line-height: 100%;"><b>Package parameters</b> behave like |
---|
| 129 | <b>run parameters</b>. Package parameters determine the behavior of |
---|
| 130 | the additional (not user-defined) software packages . </p> |
---|
| 131 | </li> |
---|
| 132 | </ul> |
---|
| 133 | <p style="line-height: 100%;">The user-defined parameters are assigned |
---|
| 134 | by the user within the NAMELIST group name <tt>&userpar</tt> (see <a |
---|
| 135 | href="chapter_3.5.2.html">chapter |
---|
| 136 | 3.5.2</a>). They steer actions programmed by the user. By default, |
---|
| 137 | this group has only one parameter (<a href="chapter_4.3.html#region">region</a>). |
---|
| 138 | If the |
---|
| 139 | user don't want to assign any values to the user-defined |
---|
| 140 | parameters, the group<span style="font-family: monospace;"> userpar |
---|
| 141 | </span>may be omitted. The group name <span |
---|
| 142 | style="font-family: monospace;">&userpar</span> |
---|
| 143 | can be changed by the user in the user-defined code. In |
---|
| 144 | addition to this, further NAMELIST groups may also be declared (all |
---|
| 145 | within routine <span style="font-family: monospace;">user_parin</span> |
---|
| 146 | in file <span style="font-family: monospace;">user_interface.f90</span>). |
---|
| 147 | <a href="chapter_4.4.html">Chapter |
---|
| 148 | 4.4</a> shows a simple but complete example of the input file PARIN. |
---|
| 149 | This example file can be used together with the configuration file |
---|
| 150 | (described in <a href="chapter_3.2.html">chapter |
---|
| 151 | 3.2</a>) for the execution of a model test run. </p> |
---|
| 152 | <p style="line-height: 100%;">PALM assigns default |
---|
| 153 | values to nearly all parameters. They become effective |
---|
| 154 | if no other assignments are given in the parameter file. These |
---|
| 155 | default values as well as the parameter name, type and its |
---|
| 156 | explanation are described in the lists of the following subsections. <br> |
---|
| 157 | </p> |
---|
| 158 | <hr> |
---|
| 159 | <p style="line-height: 100%;"><br> |
---|
| 160 | <font color="#000080"><font color="#000080"><a href="chapter_3.6.html"><font |
---|
| 161 | color="#000080"><img src="left.gif" name="Grafik1" align="bottom" |
---|
| 162 | border="2" height="32" width="32"></font></a><a href="index.html"><font |
---|
| 163 | color="#000080"><img src="up.gif" name="Grafik2" align="bottom" |
---|
| 164 | border="2" height="32" width="32"></font></a><a href="chapter_4.1.html"><font |
---|
| 165 | color="#000080"><img src="right.gif" name="Grafik3" align="bottom" |
---|
| 166 | border="2" height="32" width="32"></font></a></font></font><br> |
---|
| 167 | |
---|
| 168 | <br> |
---|
| 169 | <span style="font-style: italic;">Last change:</span> 15/04/05 |
---|
| 170 | (SR)<br> |
---|
| 171 | </p> |
---|
| 172 | </body> |
---|
| 173 | </html> |
---|