Changeset 90 for palm/trunk
- Timestamp:
- May 30, 2007 9:18:47 AM (18 years ago)
- Location:
- palm/trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.5.1.html
r62 r90 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 2 <html><head> 3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM 4 chapter 3.5.1</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040802;11451548"> <meta name="CHANGED" content="20041112;14401801"> <meta name="KEYWORDS" content="parallel LES model"> <style> 3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 3.5.1</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20040802;11451548"> <meta name="CHANGED" content="20041112;14401801"> <meta name="KEYWORDS" content="parallel LES model"> <style> 5 4 <!-- 6 5 @page { size: 21cm 29.7cm } … … 204 203 quantities can be computed here. Also, additional time series 205 204 quantities can be calculated. They have to be defined before in routine 206 <a href="#user_init"><span style="font-family: Courier New,Courier,monospace;">user_init</span></a>.207 The routine is called once for each defined statistic region (see <a href="chapter_4.1.html#statistic_region">statistic_region</a>).</p><p> </p><p>The205 <a style="font-family: monospace;" href="#user_init">user_init</a>. 206 The routine is called once for each defined statistic region (see <a href="chapter_4.1.html#statistic_region">statistic_region</a>).</p><p>The 208 207 routine contains some simple examples (as comment lines) in order to 209 demonstrate how to use it.</p><p><br>Profiles have to 210 be written to 211 the array <tt><font style="font-size: 10pt;" size="2">sums</font></tt>. 212 Please use profile numbers starting from 70 upward (thus e.g. <tt><font style="font-size: 10pt;" size="2">sums (…, 213 60) =</font></tt><font style="font-size: 10pt;" size="2">…)</font>. These additional 208 demonstrate how to use it.<br><br>Profile sums have to 209 be stored in 210 the array <tt><font style="font-size: 10pt;" size="2">sums_l</font></tt>. The profile identification number (second index of array <span style="font-family: monospace;">sums_l</span>) must be within the range [<span style="font-family: monospace;"> pr_palm+1 , pr_palm+max_pr_user</span> ], where <span style="font-family: monospace;">pr_palm</span> is an internal parameter and <span style="font-family: Courier New,Courier,monospace;">max_pr_user</span> is the number of user-defined profiles as given by parameter <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.3.html#data_output_pr_user">data_output_pr_user</a> in the respective PALM run.</p><p> These additional 214 211 profiles 215 are temporally averagedin <tt><font style="font-size: 10pt;" size="2">flow_statistics</font></tt>.</p> </td>212 are further processed (e.g. temporally averaged), like the standard profiles, in <tt><font style="font-size: 10pt;" size="2">flow_statistics</font></tt>.</p> </td> 216 213 </tr> <tr><td style="vertical-align: top;">End 217 214 of <span style="font-family: monospace;">check_parameters.f90</span> 218 where output quantities are checked</td><td style="vertical-align: top;"><span style="font-family: monospace;"><a name="user_check_data_output"></a>user_check_data_<br>output(219 variable, unit )</span></td><td style="vertical-align: top;">Here the <span style="font-family: monospace;">unit</span>(s) of220 user-defined output quantities (see <a href="chapter_4.3.html#data_output_user">data_output_user</a>)215 where 2d/3d output quantities are checked</td><td style="vertical-align: top;"><span style="font-family: monospace;"><a name="user_check_data_output"></a>user_check_data_<br>output( 216 variable, unit )</span></td><td style="vertical-align: top;">Here the physical <span style="font-family: monospace;">unit</span>(s) of 217 user-defined 2d/3d output quantities (see <a href="chapter_4.3.html#data_output_user">data_output_user</a>) 221 218 have to be set. Input parameter <span style="font-family: monospace;">variable</span> 222 219 contains the string identifier of the respective variable. For those 220 variables not recognized by the user, the parameter <span style="font-family: monospace;">unit</span> is set to 221 "illegal", which tells the calling routine that the output variable is 222 not defined and leads to a program abort.<br><br>See <a href="chapter_3.5.4.html">chapter 3.5.4</a> about 223 creating user-defined output quantities.</td></tr><tr><td style="vertical-align: top;">End 224 of <span style="font-family: monospace;">check_parameters.f90</span> 225 where vertical profile output quantities are checked</td><td style="vertical-align: top;"><a name="user_check_data_output_pr"></a><br><span style="font-family: monospace;">user_check_data_</span><br style="font-family: monospace;"><span style="font-family: monospace;">output_pr(</span><br style="font-family: monospace;"><span style="font-family: monospace;">variable, var_count, unit )</span></td><td style="vertical-align: top;">Here the physical <span style="font-family: monospace;">unit</span>(s) and vertical grid (u- or w-grid) of 226 user-defined vertical profile output quantities (see <a href="chapter_4.3.html#data_output_pr_user">data_output_pr_user</a>) 227 have to be set. Input parameter <span style="font-family: monospace;">variable</span> 228 contains the string identifier of the respective variable. Parameter<span style="font-family: monospace;"> var_count </span>contains the internal profile number and must not be changed by the user. For those 223 229 variables not recognized by the user, the parameter <span style="font-family: monospace;">unit</span> is set to 224 230 "illegal", which tells the calling routine that the output variable is -
palm/trunk/DOC/tec/technical_documentation.html
r83 r90 12 12 <br><table nosave="" cellpadding="0" cellspacing="0"> <caption> <br> </caption><tbody> 13 13 </tbody><tbody> </tbody> <tbody> <tr nosave=""> <td nosave=""><b>Current 14 model version:</b></td> <td><span style="font-weight: bold;">3.2 a</span></td> </tr>14 model version:</b></td> <td><span style="font-weight: bold;">3.2b</span></td> </tr> 15 15 <tr nosave=""> <td nosave=""><b>Last 16 16 change of this document</b>: </td> <td nosave=""><b>$Id$</b></td> </tr> … … 2308 2308 header, init_dvrp, init_particles, init_1d_model, init_dvrp, 2309 2309 init_pegrid, local_getenv, local_system, local_tremain, 2310 local_tremain_ini, modules, palm, parin, run_control<br><br><span style="font-weight: bold;">new:</span><br>local_flush<br><br><span style="font-weight: bold;">changed scripts:</span><br>mbuild, mrun, .mrun.config.default<br></td></tr> 2310 local_tremain_ini, modules, palm, parin, run_control<br><br><span style="font-weight: bold;">new:</span><br>local_flush<br><br><span style="font-weight: bold;">changed scripts:</span><br>mbuild, mrun, .mrun.config.default<br></td></tr><tr><td style="vertical-align: top;">30/05/07</td><td style="vertical-align: top;">SR</td><td style="vertical-align: top;">3.2b</td><td style="vertical-align: top;">N</td><td style="vertical-align: top;">Calculation and output of user-defined profiles: New userpar-parameter <span style="font-family: Courier New,Courier,monospace;">data_output_pr_user</span>. In the user-interface, routine <span style="font-family: Courier New,Courier,monospace;">user_check_data_output_pr</span> has been added and <span style="font-family: Courier New,Courier,monospace;">user_statistics</span> has been extended.<br></td><td style="vertical-align: top;">check_parameters, flow_statistics, modules, parin, read_var_list, user_interface, write_var_list</td></tr><tr><td style="vertical-align: top;"> </td><td style="vertical-align: top;"> </td><td style="vertical-align: top;"> </td><td style="vertical-align: top;">C</td><td style="vertical-align: top;">In <span style="font-family: Courier New,Courier,monospace;">pres.f90</span>, division through <span style="font-family: Courier New,Courier,monospace;">dt_3d</span> 2311 replaced by multiplication of the inverse. For performance 2312 optimisation, this is done in the loop calculating the divergence 2313 instead of using a seperate loop.<br><br>Variables <span style="font-family: Courier New,Courier,monospace;">var_hom</span> and <span style="font-family: Courier New,Courier,monospace;">var_sum</span> are both renamed <span style="font-family: Courier New,Courier,monospace;">pr_palm</span>.</td><td style="vertical-align: top;">data_output_profiles, flow_statistics, init_3d_model, modules, parin, pres, read_var_list, run_control, time_integration</td></tr><tr><td style="vertical-align: top;"> </td><td style="vertical-align: top;"> </td><td style="vertical-align: top;"> </td><td style="vertical-align: top;">E</td><td style="vertical-align: top;">Bugfix: <span style="font-family: Courier New,Courier,monospace;">work_fft*_vec</span> removed from some PRIVATE-declarations (<span style="font-family: Courier New,Courier,monospace;">poisfft</span>).<br><br>Bugfix: <span style="font-family: Courier New,Courier,monospace;">field_chr</span> renamed <span style="font-family: Courier New,Courier,monospace;">field_char</span> (<span style="font-family: Courier New,Courier,monospace;">user_interface</span>).<br><br>Bugfix: output of <span style="font-family: Courier New,Courier,monospace;">use_upstream_for_tke</span> (<span style="font-family: Courier New,Courier,monospace;">header</span>).</td><td style="vertical-align: top;">header, poisfft, user_interface</td></tr> 2311 2314 </tbody> 2312 2315 </table> <b><blink>Attention:</blink></b> -
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r87 r90 1 1 New: 2 2 --- 3 Calculation and output of user-defined profiles. New &userpar parameters data_output_pr_user and max_pr_user.4 5 check_parameters, flow_statistics, modules, parin, read_var_list, user_interface, write_var_list6 3 7 4 8 5 Changed: 9 6 ------- 10 Division through dt_3d replaced by multiplication of the inverse. For performance optimisation, this is done in the loop calculating the divergence instead of using a seperate loop. (pres.f90) var_hom and var_sum renamed pr_palm.11 12 data_output_profiles, flow_statistics, init_3d_model, modules, parin, pres, read_var_list, run_control, time_integration13 7 14 8 15 9 Errors: 16 10 ------ 17 Bugfix: work_fft*_vec removed from some PRIVATE-declarations (poisfft).18 19 Bugfix: field_chr renamed field_char (user_interface).20 21 Bugfix: output of use_upstream_for_tke (header).22 23 header, poisfft, user_interface -
palm/trunk/SOURCE/check_parameters.f90
r89 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Check for user-defined profiles6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 89 2007-05-25 12:08:31Z raasch 13 ! Check for user-defined profiles 11 14 ! 12 15 ! 75 2007-03-22 09:54:05Z raasch -
palm/trunk/SOURCE/data_output_profiles.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! var_hom renamed pr_palm6 ! 7 7 ! 8 8 ! Former revisions: … … 10 10 ! $Id$ 11 11 ! RCS Log replace by Id keyword, revision history cleaned up 12 ! 13 ! 87 2007-05-22 15:46:47Z raasch 14 ! var_hom renamed pr_palm 12 15 ! 13 16 ! Revision 1.18 2006/08/16 14:27:04 raasch -
palm/trunk/SOURCE/flow_statistics.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 7 ! 8 ! Former revisions: 9 ! ----------------- 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 6 13 ! Two more arguments added to user_statistics, which is now also called for 7 14 ! user-defined profiles, 8 15 ! var_hom and var_sum renamed pr_palm 9 !10 ! Former revisions:11 ! -----------------12 ! $Id$13 16 ! 14 17 ! 82 2007-04-16 15:40:52Z raasch -
palm/trunk/SOURCE/header.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Bugfix: output of use_upstream_for_tke6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! Bugfix: output of use_upstream_for_tke 11 14 ! 12 15 ! 82 2007-04-16 15:40:52Z raasch -
palm/trunk/SOURCE/init_3d_model.f90
r87 r90 7 7 ! Actual revisions: 8 8 ! ----------------- 9 ! var_hom and var_sum renamed pr_palm9 ! 10 10 ! 11 11 ! Former revisions: 12 12 ! ----------------- 13 13 ! $Id$ 14 ! 15 ! 87 2007-05-22 15:46:47Z raasch 16 ! var_hom and var_sum renamed pr_palm 14 17 ! 15 18 ! 75 2007-03-22 09:54:05Z raasch -
palm/trunk/SOURCE/modules.f90
r89 r90 5 5 ! Actual revisions: 6 6 ! ----------------- 7 ! +data_output_pr_user, max_pr_user, size of data_output_pr, dopr_index, 8 ! dopr_initial_index and dopr_unit enlarged, 9 ! var_hom and var_sum renamed pr_palm 7 ! 10 8 ! 11 9 ! Former revisions: 12 10 ! ----------------- 13 11 ! $Id$ 12 ! 13 ! 89 2007-05-25 12:08:31Z raasch 14 ! +data_output_pr_user, max_pr_user, size of data_output_pr, dopr_index, 15 ! dopr_initial_index and dopr_unit enlarged, 16 ! var_hom and var_sum renamed pr_palm 14 17 ! 15 18 ! 82 2007-04-16 15:40:52Z raasch -
palm/trunk/SOURCE/palm.f90
r83 r90 63 63 INTEGER :: i, run_description_header_i(80) 64 64 65 version = 'PALM 3.2 a'65 version = 'PALM 3.2b' 66 66 67 67 #if defined( __parallel ) -
palm/trunk/SOURCE/parin.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Size of hom increased by the maximum number of user-defined profiles, 7 ! var_hom renamed pr_palm 6 ! 8 7 ! 9 8 ! Former revisions: 10 9 ! ----------------- 11 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! Size of hom increased by the maximum number of user-defined profiles, 14 ! var_hom renamed pr_palm 12 15 ! 13 16 ! 82 2007-04-16 15:40:52Z raasch -
palm/trunk/SOURCE/poisfft.f90
r85 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Bugfix: work_fft*_vec removed from some PRIVATE-declarations6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 85 2007-05-11 09:35:14Z raasch 13 ! Bugfix: work_fft*_vec removed from some PRIVATE-declarations 11 14 ! 12 15 ! 76 2007-03-29 00:58:32Z raasch -
palm/trunk/SOURCE/pres.f90
r85 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 7 ! 8 ! Former revisions: 9 ! ----------------- 10 ! $Id$ 11 ! 12 ! 85 2007-05-11 09:35:14Z raasch 6 13 ! Division through dt_3d replaced by multiplication of the inverse. 7 14 ! For performance optimisation, this is done in the loop calculating the 8 15 ! divergence instead of using a seperate loop. 9 !10 ! Former revisions:11 ! -----------------12 ! $Id$13 16 ! 14 17 ! 75 2007-03-22 09:54:05Z raasch -
palm/trunk/SOURCE/read_var_list.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! +max_pr_user (version 3.1), var_hom renamed pr_palm6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! +max_pr_user (version 3.1), var_hom renamed pr_palm 11 14 ! 12 15 ! 75 2007-03-22 09:54:05Z raasch -
palm/trunk/SOURCE/run_control.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! var_hom renamed pr_palm6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! var_hom renamed pr_palm 11 14 ! 12 15 ! 82 2007-04-16 15:40:52Z raasch -
palm/trunk/SOURCE/time_integration.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! var_hom renamed pr_palm6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! var_hom renamed pr_palm 11 14 ! 12 15 ! 75 2007-03-22 09:54:05Z raasch -
palm/trunk/SOURCE/user_interface.f90
r89 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 7 ! 8 ! Former revisions: 9 ! ----------------- 10 ! $Id$ 11 ! 12 ! 89 2007-05-25 12:08:31Z raasch 6 13 ! Calculation and output of user-defined profiles: new routine 7 14 ! user_check_data_output_pr, +data_output_pr_user, max_pr_user in userpar, 8 15 ! routine user_statistics has got two more arguments 9 16 ! Bugfix: field_chr renamed field_char 10 !11 ! Former revisions:12 ! -----------------13 ! $Id$14 17 ! 15 18 ! 60 2007-03-11 11:50:04Z raasch -
palm/trunk/SOURCE/write_var_list.f90
r87 r90 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! +max_pr_user (version 3.1)6 ! 7 7 ! 8 8 ! Former revisions: 9 9 ! ----------------- 10 10 ! $Id$ 11 ! 12 ! 87 2007-05-22 15:46:47Z raasch 13 ! +max_pr_user (version 3.1) 11 14 ! 12 15 ! 75 2007-03-22 09:54:05Z raasch
Note: See TracChangeset
for help on using the changeset viewer.