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