- Timestamp:
- May 25, 2007 12:08:31 PM (17 years ago)
- Location:
- palm/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.5.4.html
r88 r89 16 16 section or 3d volume data. The respective subroutines 17 17 contain sample code lines (written as comment lines) for defining, calculating and 18 output of such quantities.<br><br> The18 output of such quantities.<br><br>Output times, averaging intervals, etc. are steered by the same variables as used for the standard PALM output quantities, e.g. <a href="chapter_4.2.html#dt_data_output">dt_data_output</a>.<br><br>The 19 19 rest of this chapter explains step-by-step how to modify/extend the 20 default file user_interface.f90 in order to generate the respective output.<br><br><br><h4>Output of vertical profiles</h4><br><br><h4><span style="font-weight: bold;">Output of 2d cross sections or 3d volume data</span></h4><br>This example shows the output of the 20 default file user_interface.f90 in order to generate the respective output.<br><br><br><h4>Output of vertical profiles</h4>This example shows the output of the 21 quantity "turbulent resolved-scale horizontal momentum flux" (u*v*). If more than one user-defined 22 quantity shall be output, the following steps have to be carried out in the 23 same way for each of the quantities.<br><br><ol><li>The 24 quantity has to be given a unique string identifier, e.g. <span style="font-style: italic;">'u*v*'</span>. 25 This identifier must be different from the identifiers used for the 26 PALM standard output (see list in description of parameter <a href="chapter_4.2.html#data_output_pr">data_output_pr</a>). 27 To switch on output of this quantity, the user has to assign the string 28 identifier to the parameter <a href="chapter_4.3.html#data_output_pr_user">data_output_pr_user</a>, 29 eg.:<br><br><span style="font-family: monospace;"> 30 data_output_pr_user</span> = <span style="font-style: italic;">'u*v*'</span>,<span style="font-style: italic;"></span><span style="font-style: italic;"></span><span style="font-style: italic;"></span><span style="font-style: italic;"></span><span style="font-style: italic;"></span><span style="font-style: italic;"></span><br><br></li><li>For 31 the 32 quantity, an identification number, a physical unit, and the vertical 33 grid on which it is defined (u- or w-grid), has to be assigned (subroutine <a href="chapter_3.5.1.html#user_check_data_output_pr"><span style="font-family: monospace;">user_check_data_output_pr</span></a>):<span style="font-family: monospace;"><br><br> CASE ( 34 'u*v*' )<br></span><span style="font-family: monospace;"> index = pr_palm + <span style="color: rgb(255, 0, 0);">1<span style="color: rgb(0, 0, 0);"> 35 36 37 ! identification number</span></span><br> dopr_index(var_count) = index<br> dopr_unit(var_count) = '<span style="color: rgb(255, 0, 0);">m2/s2</span>' 38 39 ! physical unit<br> hom(:,2,index,:) = SPREAD( <span style="color: rgb(255, 0, 0);">zu</span>, 2, statistic_regions+1 ) ! vertical grid<br></span><br>Here only the those parts in <span style="color: rgb(255, 0, 0);">red</span> color have to be given by the user appropriately.<br>The identification number (<span style="font-family: Courier New,Courier,monospace;">index</span>) must be within the range [<span style="font-family: Courier New,Courier,monospace;"> pr_palm+1 , pr_palm+max_pr_user</span> ], where <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="chapter_4.3.html#data_output_pr_user">data_output_pr_user</a> in the respective PALM run. The physical unit has to be given with respect to the NetCDF conventions. If no unit is given, 40 PALM will abort. The vertical grid has to be either <span style="font-family: Courier New,Courier,monospace;">zu</span> (u-grid) or <span style="font-family: Courier New,Courier,monospace;">zw</span> (w-grid).<br><br></li><li>The quantity has to be calculated for all gridpoints (subroutine <a href="chapter_3.5.1.html#user_statistics">user_statistics</a>):<br><br><span style="font-family: monospace;"> !$OMP DO</span><br style="font-family: monospace;"><span style="font-family: monospace;"> DO i = nxl, nxr</span><br style="font-family: monospace;"><span style="font-family: monospace;"> DO j = nys, nyn</span><br style="font-family: monospace;"><span style="font-family: monospace;"> DO k = nzb_s_outer(j,i)+1, nzt</span><br style="font-family: monospace;"><span style="font-family: monospace;"></span><span style="font-family: monospace;"></span><span style="font-family: monospace;"></span><span style="font-family: monospace;"> sums_l(k,pr_palm+<span style="color: rgb(255, 0, 0);">1</span>,tn) = sums_l(k,pr_palm+<span style="color: rgb(255, 0, 0);">1</span>,tn) + &</span><br style="font-family: monospace;"><span style="font-family: monospace;"> <span style="color: rgb(255, 0, 0);">( 0.5 * ( u(k,j,i) + u(k,j,i+1) ) - hom(k,1,1,sr) ) * &</span></span><br style="font-family: monospace; color: rgb(255, 0, 0);"><span style="font-family: monospace; color: rgb(255, 0, 0);"> 41 ( 0.5 * ( v(k,j,i) + v(k,j+1,i) ) - hom(k,1,2,sr) ) * &</span><br style="font-family: monospace;"><span style="font-family: monospace;"> 42 * rmask(j,i,sr)<br> ENDDO<br> ENDDO<br> ENDDO<br></span><br style="font-family: monospace;">Once again, only those parts in <span style="color: rgb(255, 0, 0);">red</span> have to be adjusted by the user.<br>The 43 turbulent resolved-scale momentum flux u*v* is defined as the product 44 of the deviations of the horizontal velocities from their respective 45 horizontally averaged mean values. These mean values are stored in 46 array <span style="font-family: Courier New,Courier,monospace;">hom(..,1,1,sr)</span> and <span style="font-family: Courier New,Courier,monospace;">hom(..,1,2,sr)</span> for the u- and v-component, respectively. Since due to the staggered grid, <span style="font-family: Courier New,Courier,monospace;">u</span> and <span style="font-family: Courier New,Courier,monospace;">v</span> 47 are not defined at the same gridpoints, they have to be interpolated 48 appropriately (here to the center of the gridbox). The result of the 49 calculation is stored in array <span style="font-family: Courier New,Courier,monospace;">sums_l</span>. 50 The second index of this array is the identification number of the 51 profile which must match the one given in the previous step 2.</li></ol><br><h4>Output of timeseries</h4>still to be added<br> <br><h4><span style="font-weight: bold;">Output of 2d cross sections or 3d volume data</span></h4><br>This example shows the output of the 21 52 quantity "square of the u-component" (<span style="font-weight: bold;">Note:</span> this quantity 22 53 could of course easily be calculated from the u-component by 23 54 postprocessing the PALM output so that calculation within PALM is not 24 55 necessarily required). If more than one user-defined 25 quantity shall be output, the sesteps have to be carried out in the56 quantity shall be output, the following steps have to be carried out in the 26 57 same way for each of the quantities.<br><br><ol><li>The 27 58 quantity has to be given a unique string identifier, e.g. <span style="font-style: italic;">'u2'</span>. -
palm/trunk/DOC/app/chapter_4.2.html
r75 r89 788 788 </ul> <p>These initial profiles have been either set by 789 789 the user or 790 have been calculated by a 1d-model prerun.<br> </p>In case 790 have been calculated by a 1d-model prerun.</p>The 791 user is allowed to extend the above list of quantities by defining his 792 own output quantities (see the user-parameter <a href="chapter_4.3.html#data_output_pr_user">data_output_pr_user</a>).<br><br>In case 791 793 of ASCII data output to local file PLOT1D_DATA, 792 794 PALM additionally creates a NAMELIST parameter file (local name <a href="chapter_3.4.html#PLOT1D_PAR">PLOT1D_PAR</a>) -
palm/trunk/DOC/app/chapter_4.3.html
r62 r89 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 4.3</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041013;13364831"> <meta name="CHANGED" content="20041015;15380006"> <meta name="KEYWORDS" content="parallel LES model"> <style> 3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 4.3</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041013;13364831"> <meta name="CHANGED" content="20041015;15380006"> <meta name="KEYWORDS" content="parallel LES model"> <style> 5 4 <!-- 6 5 @page { size: 21cm 29.7cm } … … 14 13 <br> <b><font size="4">value</font></b></p> 15 14 </td> <td> <p><font size="4"><b>Explanation</b></font></p> 16 </td> </tr> <tr><td style="vertical-align: top;"><a name="data_output_user"></a><span style="font-weight: bold;">data_output_user</span></td><td style="vertical-align: top;">C * 10 (100)</td><td style="vertical-align: top;"><span style="font-style: italic;">100 * ' '</span></td><td style="vertical-align: top;">User defined quantities for 15 </td> </tr> <tr><td style="vertical-align: top;"><span style="font-weight: bold;"><a name="data_output_pr_user"></a>data_output_pr_user</span></td><td style="vertical-align: top;">C * 10<br>(200)</td><td style="vertical-align: top;"><span style="font-style: italic;">200 * ' '</span></td><td style="vertical-align: top;">User defined quantities for 16 which horizontally averaged profile data is to be output.<br><br>Beside 17 the PALM standard output quantities (which can be selected via 18 parameter <a href="chapter_4.2.html#data_output_pr">data_output_pr</a>), 19 the user can define (without any restriction) additional output 20 quantities (e.g. turbulent resolved-scale horizontal momentum fluxes, etc.). Each of these 21 quantities has to be given a unique identifier (string) which must be 22 different from the strings defining the standard output quantities (see 23 list from the description of <a href="chapter_4.2.html#data_output_pr">data_output_pr</a>). 24 Data output can be switched on by assigning the respective strings to <span style="font-weight: bold;">data_output_user</span>.<br><br>The 25 user has to calculate/provide the respective data array(s) by 26 appropriately extending the user interface (see <a href="chapter_3.5.4.html">3.5.4</a>).<br><br>For 27 further steering of the user defined output (output times, cross 28 section levels, time averaging, etc.), the steering parameters for <a href="chapter_4.2.html#data_output_pr">data_output_pr</a> 29 apply accordingly.</td></tr><tr><td style="vertical-align: top;"><a name="data_output_user"></a><span style="font-weight: bold;">data_output_user</span></td><td style="vertical-align: top;">C * 10 (100)</td><td style="vertical-align: top;"><span style="font-style: italic;">100 * ' '</span></td><td style="vertical-align: top;">User defined quantities for 17 30 which 2d cross section and/or 3d volume data are to be output.<br><br>Beside 18 31 the PALM standard output quantities (which can be selected via -
palm/trunk/DOC/app/chapter_4.6.html
r83 r89 283 283 <td>Quantities for which vertical profiles (horizontally 284 284 averaged) 285 are to be output.</td> </tr> <tr> <td><a href="chapter_4.2.html#data_output_sp"><span style="font-weight: bold;">data_output_sp</span></a></td>285 are to be output.</td> </tr> <tr><td><a href="chapter_4.3.html#data_output_pr_user"><span style="font-weight: bold;">data_output_pr_user</span></a></td><td>U</td><td>C * 10<br>(200)</td><td><span style="font-style: italic;">200 * ' '</span></td><td>User defined quantities for which horizontally averaged profile data is to be output.</td></tr><tr> <td><a href="chapter_4.2.html#data_output_sp"><span style="font-weight: bold;">data_output_sp</span></a></td> 286 286 <td>P</td> <td>C * 10 (10)</td> <td><span style="font-style: italic;">10 * ' '</span></td> 287 287 <td>Quantities for which horizontal spectra are to be calculated -
palm/trunk/DOC/app/index.html
r83 r89 154 154 of contents</span><span style="font-family: Thorndale;" lang="EN-GB"> <br> 155 155 <o:p></o:p></span></p> 156 <p style="margin-left: 36pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_1.0.html"><span style="" lang="EN-GB">1.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Introduction <o:p></o:p></span></p>157 <p style="margin-left: 36pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_2.0.html"><span style="" lang="EN-GB">2.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Basic156 <p style="margin-left: 36pt;"><span style="font-family: Thorndale;"><a href="chapter_1.0.html"><span style="" lang="EN-GB">1.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Introduction <o:p></o:p></span></p> 157 <p style="margin-left: 36pt;"><span style="font-family: Thorndale;"><a href="chapter_2.0.html"><span style="" lang="EN-GB">2.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Basic 158 158 techniques of the LES model and its parallelization <o:p></o:p></span></p> 159 <p style="margin: 5pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.0.html"><span style="" lang="EN-GB">3.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Execution of159 <p style="margin: 5pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href="chapter_3.0.html"><span style="" lang="EN-GB">3.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Execution of 160 160 model runs<o:p></o:p></span></p> 161 <p style="margin: 0cm 0cm 0.0001pt 72pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.1.html"><span style="" lang="EN-GB">3.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Job control161 <p style="margin: 0cm 0cm 0.0001pt 72pt;"><span style="font-family: Thorndale;"><a href="chapter_3.1.html"><span style="" lang="EN-GB">3.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Job control 162 162 with <span class="SpellE"><b>mrun</b></span> <br> 163 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.2.html"><span style="" lang="EN-GB">3.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Example of a163 </span><span style="font-family: Thorndale;"><a href="chapter_3.2.html"><span style="" lang="EN-GB">3.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Example of a 164 164 minimum configuration file <br> 165 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.3.html"><span style="" lang="EN-GB">3.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB">165 </span><span style="font-family: Thorndale;"><a href="chapter_3.3.html"><span style="" lang="EN-GB">3.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> 166 166 Initialization and restart runs <br> 167 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.4.html"><span style="" lang="EN-GB">3.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Input and167 </span><span style="font-family: Thorndale;"><a href="chapter_3.4.html"><span style="" lang="EN-GB">3.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Input and 168 168 output files <br> 169 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.5.html"><span style="" lang="EN-GB">3.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Programming169 </span><span style="font-family: Thorndale;"><a href="chapter_3.5.html"><span style="" lang="EN-GB">3.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Programming 170 170 of user-defined code extensions <o:p></o:p></span></p> 171 <p style="margin: 0cm 0cm 0.0001pt 108pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.5.1.html"><span style="" lang="EN-GB">3.5.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Interfaces for171 <p style="margin: 0cm 0cm 0.0001pt 108pt;"><span style="font-family: Thorndale;"><a href="chapter_3.5.1.html"><span style="" lang="EN-GB">3.5.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Interfaces for 172 172 user-defined code <br> 173 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.5.2.html"><span style="" lang="EN-GB">3.5.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Definition of173 </span><span style="font-family: Thorndale;"><a href="chapter_3.5.2.html"><span style="" lang="EN-GB">3.5.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Definition of 174 174 user-defined parameters <br> 175 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.5.3.html"><span style="" lang="EN-GB">3.5.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Definition of175 </span><span style="font-family: Thorndale;"><a href="chapter_3.5.3.html"><span style="" lang="EN-GB">3.5.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Definition of 176 176 <span class="SpellE">user-defined subdomains</span></span></p><p style="margin: 0cm 0cm 0.0001pt 108pt;"><span style="font-family: Thorndale;" lang="EN-GB"><span class="SpellE"></span> <a href="chapter_3.5.4.html">3.5.4</a> User-defined output quantities<br> 177 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.5.5.html"><span style="" lang="EN-GB">3.5.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Compiling and linking177 </span><span style="font-family: Thorndale;"><a href="chapter_3.5.5.html"><span style="" lang="EN-GB">3.5.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Compiling and linking 178 178 user-defined code <o:p></o:p></span></p> 179 <p style="margin: 0cm 0cm 5pt 72pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.6.html"><span style="" lang="EN-GB">3.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Interactive mode and179 <p style="margin: 0cm 0cm 5pt 72pt;"><span style="font-family: Thorndale;"><a href="chapter_3.6.html"><span style="" lang="EN-GB">3.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Interactive mode and 180 180 debugging <br> 181 </span><span style="font-family: Thorndale;">< a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_3.7.html"><span style="" lang="EN-GB">3.7</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Optional181 </span><span style="font-family: Thorndale;"></span><span style="font-family: Thorndale;" lang="EN-GB"><a href="chapter_3.7.html">3.7</a> Optional 182 182 software packages<o:p></o:p></span></p> 183 <p style="margin: 12pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.0.html"><span style="" lang="EN-GB">4.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Steering183 <p style="margin: 12pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href="chapter_4.0.html"><span style="" lang="EN-GB">4.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Steering 184 184 parameters <o:p></o:p></span></p> 185 <p style="margin: 0cm 0cm 0.0001pt 72pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.1.html"><span style="" lang="EN-GB">4.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB">185 <p style="margin: 0cm 0cm 0.0001pt 72pt;"><span style="font-family: Thorndale;"><a href="chapter_4.1.html"><span style="" lang="EN-GB">4.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> 186 186 Initialization parameters <br> 187 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.2.html"><span style="" lang="EN-GB">4.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Runtime187 </span><span style="font-family: Thorndale;"><a href="chapter_4.2.html"><span style="" lang="EN-GB">4.2</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Runtime 188 188 parameters and package parameters <br> 189 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.3.html"><span style="" lang="EN-GB">4.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> User-defined189 </span><span style="font-family: Thorndale;"><a href="chapter_4.3.html"><span style="" lang="EN-GB">4.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> User-defined 190 190 parameters <br> 191 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.4.html"><span style="" lang="EN-GB">4.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Example of a191 </span><span style="font-family: Thorndale;"><a href="chapter_4.4.html"><span style="" lang="EN-GB">4.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Example of a 192 192 minimum parameter set <br> 193 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.html"><span style="" lang="EN-GB">4.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Data analysis and193 </span><span style="font-family: Thorndale;"><a href="chapter_4.5.html"><span style="" lang="EN-GB">4.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Data analysis and 194 194 visualization <o:p></o:p></span></p> 195 195 196 <p style="margin: 0cm 0cm 0.0001pt 108pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.1.html"><span style="" lang="EN-GB">4.5.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> NetCDF data output<b></b><br>196 <p style="margin: 0cm 0cm 0.0001pt 108pt;"><span style="font-family: Thorndale;"><a href="chapter_4.5.1.html"><span style="" lang="EN-GB">4.5.1</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> NetCDF data output<b></b><br> 197 197 <a href="chapter_4.5.2.html">4.5.2</a> </span><span style="font-family: Thorndale;" lang="EN-GB">Plots of 198 198 vertical profiles with <b>profil</b></span><br> 199 <span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.3.html"><span style="" lang="EN-GB">4.5.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of time199 <span style="font-family: Thorndale;"><a href="chapter_4.5.3.html"><span style="" lang="EN-GB">4.5.3</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of time 200 200 series with <b>profil</b> <br> 201 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.4.html"><span style="" lang="EN-GB">4.5.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of 2D201 </span><span style="font-family: Thorndale;"><a href="chapter_4.5.4.html"><span style="" lang="EN-GB">4.5.4</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of 2D 202 202 cross sections with <b>iso2d</b> <br> 203 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.5.html"><span style="" lang="EN-GB">4.5.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of 3D203 </span><span style="font-family: Thorndale;"><a href="chapter_4.5.5.html"><span style="" lang="EN-GB">4.5.5</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of 3D 204 204 volume data with <b>AVS</b> <br> 205 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.6.html"><span style="" lang="EN-GB">4.5.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of205 </span><span style="font-family: Thorndale;"><a href="chapter_4.5.6.html"><span style="" lang="EN-GB">4.5.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of 206 206 compressed 3D volume data with <b>AVS</b><br> 207 </span><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.5.7.html"><span style="" lang="EN-GB">4.5.7</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of <span class="SpellE">isosurfaces</span>, 2D cross sections and particles207 </span><span style="font-family: Thorndale;"><a href="chapter_4.5.7.html"><span style="" lang="EN-GB">4.5.7</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Plots of <span class="SpellE">isosurfaces</span>, 2D cross sections and particles 208 208 with <span class="SpellE"><b>dvrp</b></span><o:p></o:p></span></p> 209 <p style="margin: 0cm 0cm 5pt 72pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.6.html"><span style="" lang="EN-GB">4.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Listing of the steering209 <p style="margin: 0cm 0cm 5pt 72pt;"><span style="font-family: Thorndale;"><a href="chapter_4.6.html"><span style="" lang="EN-GB">4.6</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Listing of the steering 210 210 parameters in alphabetical order<o:p></o:p></span></p> 211 <p style="margin: 12pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_5.0.html"><span style="" lang="EN-GB">5.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Installation211 <p style="margin: 12pt 0cm 0.0001pt 36pt;"><span style="font-family: Thorndale;"><a href="chapter_5.0.html"><span style="" lang="EN-GB">5.0</span></a></span><span style="font-family: Thorndale;" lang="EN-GB"> Installation 212 212 of the model <o:p></o:p></span></p> 213 <p style="margin: 0cm 0cm 5.1pt 72pt;"><span style="font-family: Thorndale;"><a href=" http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_5.1.html">5.1</a>213 <p style="margin: 0cm 0cm 5.1pt 72pt;"><span style="font-family: Thorndale;"><a href="chapter_5.1.html">5.1</a> 214 214 Installation of <span class="SpellE">new</span><span class="SpellE"></span> / other 215 215 <span class="SpellE">versions, version update</span><o:p></o:p></span></p><font color="#000000"> -
palm/trunk/SOURCE/check_parameters.f90
r87 r89 1405 1405 CASE ( 'Sw' ) 1406 1406 dopr_index(i) = 39 1407 dopr_unit(i) = 'none' 1407 1408 hom(:,2,39,:) = SPREAD( zw, 2, statistic_regions+1 ) 1408 1409 -
palm/trunk/SOURCE/modules.f90
r87 r89 5 5 ! Actual revisions: 6 6 ! ----------------- 7 ! +data_output_pr_user, max_pr_user, num_user_profiles, size of data_output_pr,8 ! dopr_in dex, dopr_initial_index and dopr_unit enlarged,7 ! +data_output_pr_user, max_pr_user, size of data_output_pr, dopr_index, 8 ! dopr_initial_index and dopr_unit enlarged, 9 9 ! var_hom and var_sum renamed pr_palm 10 10 ! … … 275 275 mg_switch_to_pe0_level = 0, ngsrb = 2, nsor = 20, & 276 276 nsor_ini = 100, n_sor, normalizing_region = 0, & 277 n um_user_profiles = 0, nz_do1d, nz_do3d = -9999, &278 outflow_damping_width = -1, prt_time_count = 0, runnr= 0, &279 skip_do_avs = 0,timestep_count = 0277 nz_do1d, nz_do3d = -9999, outflow_damping_width = -1, & 278 prt_time_count = 0, runnr = 0, skip_do_avs = 0, & 279 timestep_count = 0 280 280 281 281 INTEGER :: dist_nxl(0:1), dist_nxr(0:1), dist_nyn(0:1), dist_nys(0:1), & -
palm/trunk/SOURCE/user_interface.f90
r87 r89 70 70 71 71 72 NAMELIST /userpar/ data_output_pr_user, data_output_user, max_pr_user, & 73 region 72 NAMELIST /userpar/ data_output_pr_user, data_output_user, region 74 73 75 74 ! … … 89 88 READ ( 11, userpar ) 90 89 user_defined_namelist_found = .TRUE. 91 92 !93 !-- Determine the maximum number of user-profiles allowed to be calculated.94 !-- This number may be (much) larger than num_user_profiles which only gives95 !-- the number of user-defined profiles to be output.96 IF ( data_output_pr_user(1) /= ' ' .AND. max_pr_user == 0 ) THEN97 max_pr_user = 10098 ENDIF99 90 100 91 ! … … 109 100 DO WHILE ( data_output_pr_user(j) /= ' ' .AND. j <= 100 ) 110 101 data_output_pr(i) = data_output_pr_user(j) 111 num_user_profiles = num_user_profiles+ 1102 max_pr_user = max_pr_user + 1 112 103 i = i + 1 113 104 j = j + 1 114 105 ENDDO 115 ENDIF116 117 IF ( num_user_profiles > max_pr_user ) THEN118 IF ( myid == 0 ) THEN119 PRINT*, '+++ user_parin: number of user-defined profiles given by '120 PRINT*, ' data_output_pr_user (', num_user_profiles, &121 ') is larger than the allowed maximum'122 PRINT*, ' number of profiles: max_pr_user(', &123 max_pr_user, ')'124 ENDIF125 CALL local_stop126 106 ENDIF 127 107 … … 529 509 ! DO k = nzb_s_outer(j,i)+1, nzt 530 510 !! 531 !!-- Sample on how to calculate the profile for vertical velocity 532 ! sums_l(k,pr_palm+1,tn) = sums_l(k,pr_palm+1,tn) + & 533 ! w(k,j,i) & 511 !!-- Sample on how to calculate the profile of the resolved-scale 512 !!-- horizontal momentum flux u*v* 513 ! sums_l(k,pr_palm+1,tn) = sums_l(k,pr_palm+1,tn) + & 514 ! ( 0.5 * ( u(k,j,i) + u(k,j,i+1) ) - hom(k,1,1,sr) ) * & 515 ! ( 0.5 * ( v(k,j,i) + v(k,j+1,i) ) - hom(k,1,2,sr) ) * & 534 516 ! * rmask(j,i,sr) 535 517 !! … … 770 752 !-- the number "pr_palm+1", the second one "pr_palm+2", etc. The respective 771 753 !-- user-profile-numbers have also to be used in routine user_statistics! 772 ! CASE ( ' w_user' )! quantity string as given in773 ! ! data_output_pr_user754 ! CASE ( 'u*v*' ) ! quantity string as given in 755 ! ! data_output_pr_user 774 756 ! index = pr_palm + 1 775 ! dopr_index(var_count) = index ! thequantities' user-profile-number776 ! dopr_unit(var_count) = 'm /s' ! quantity unit777 ! hom(:,2,index,:) = SPREAD( z w, 2, statistic_regions+1 )778 ! ! grid on which the quantity is779 ! ! defined (use zu or zw)757 ! dopr_index(var_count) = index ! quantities' user-profile-number 758 ! dopr_unit(var_count) = 'm2/s2' ! quantity unit 759 ! hom(:,2,index,:) = SPREAD( zu, 2, statistic_regions+1 ) 760 ! ! grid on which the quantity is 761 ! ! defined (use zu or zw) 780 762 781 763 CASE DEFAULT
Note: See TracChangeset
for help on using the changeset viewer.