Changeset 197 for palm/trunk
- Timestamp:
- Sep 16, 2008 3:29:03 PM (16 years ago)
- Location:
- palm/trunk
- Files:
-
- 1 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/DOC/app/chapter_3.4.html
r134 r197 8 8 9 9 <title>PALM chapter 3.4</title></head> 10 11 10 <body> 12 11 … … 2212 2211 accuracy has to be 2213 2212 indicated 2214 with the help of <a href="chapter_4.2.html#do3d_ precision">do3d_precision</a>.2213 with the help of <a href="chapter_4.2.html#do3d_comp_prec">do3d_comp_prec</a>. 2215 2214 In favorable cases the file size can be reduced by 2216 2215 a factor of up to 5. For the visualization of compressed data a special -
palm/trunk/DOC/app/chapter_3.8.html
r115 r197 1 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html> 3 <head> 2 <html><head> 4 3 5 4 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"> 6 <title>PALM chapter 3.8</title>5 7 6 8 7 9 < meta name="GENERATOR" content="StarOffice 7 (Win32)">8 <title>PALM chapter 3.8</title><meta name="GENERATOR" content="StarOffice 7 (Win32)"> 10 9 11 10 <meta name="AUTHOR" content="Siegfried Raasch"> … … 21 20 @page { size: 21cm 29.7cm } 22 21 --> 23 </style> 24 </head> 25 22 </style></head> 26 23 27 24 <body style="direction: ltr;" lang="en-US"> … … 126 123 <p style="line-height: 100%;"><br> 127 124 128 <font color="#000080"><font color="#000080"><a href="chapter_3.7.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="" src="left.gif" name="Grafik1"></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.0.html"><font color="#000080"><img src="right.gif" name="Grafik3" align="bottom" border="2" height="32" width="32"></font></a></font></font></p>125 <font color="#000080"><font color="#000080"><a href="chapter_3.7.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="" src="left.gif" name="Grafik1"></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_3.9.html"><font color="#000080"><img style="border: 2px solid ; width: 32px; height: 32px;" alt="" src="right.gif" name="Grafik3"></font></a></font></font></p> 129 126 130 127 <p style="line-height: 100%;"><i>Last 131 128 change: </i> $Id$</p> 132 129 133 </body> 134 </html> 130 </body></html> -
palm/trunk/DOC/app/chapter_4.1.html
r166 r197 5510 5510 5511 5511 5512 <tr> 5512 <tr><td style="vertical-align: top;"><p><a name="humidity"></a><b>humidity</b></p></td><td style="vertical-align: top;">L</td><td style="vertical-align: top;"><i>.F.</i></td><td style="vertical-align: top;"><p>Parameter to 5513 switch on the prognostic equation for specific 5514 humidity q.<br> 5515 5516 5517 5518 5519 5520 5521 </p> 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 <p>The initial vertical 5536 profile of q can be set via parameters <a href="chapter_4.1.html#q_surface">q_surface</a>, <a href="chapter_4.1.html#q_vertical_gradient">q_vertical_gradient</a> 5537 and <a href="chapter_4.1.html#q_vertical_gradient_level">q_vertical_gradient_level</a>. 5538 Boundary conditions can be set via <a href="chapter_4.1.html#q_surface_initial_change">q_surface_initial_change</a> 5539 and <a href="chapter_4.1.html#surface_waterflux">surface_waterflux</a>.<br> 5540 5541 5542 5543 5544 5545 5546 5547 </p> 5548 5549 5550 5551 5552 5553 5554 5555 If the condensation scheme is switched on (<a href="chapter_4.1.html#cloud_physics">cloud_physics</a> 5556 = .TRUE.), q becomes the total liquid water content (sum of specific 5557 humidity and liquid water content).</td></tr><tr><td style="vertical-align: top;"><span style="font-weight: bold;"><a name="inflow_damping_height"></a>inflow_damping_height</span></td><td style="vertical-align: top;">R</td><td style="vertical-align: top;"><span style="font-style: italic;">from precursor run</span></td><td style="vertical-align: top;">Height below which the turbulence signal is used for turbulence recycling (in m).<br><br>In case of a turbulent inflow (see <a href="chapter_4.1.html#turbulent_inflow">turbulent_inflow</a>), 5558 this parameter defines the vertical thickness of the turbulent layer up 5559 to which the turbulence extracted at the recycling plane (see <a href="chapter_4.1.html#recycling_width">recycling_width</a>) 5560 shall be imposed to the inflow. Above this level the turbulence signal 5561 is linearly damped to zero. The transition range within which the 5562 signal falls to zero is given by the parameter <a href="chapter_4.1.html#inflow_damping_width">inflow_damping_width</a>.<br><br>By default, this height is set as the height of the convective boundary layer as calculated from a precursor run. See <a href="chapter_3.9.html">chapter 3.9</a> about proper settings for getting this CBL height from a precursor run. </td></tr><tr><td style="vertical-align: top;"><span style="font-weight: bold;"><a name="inflow_damping_width"></a>inflow_damping_width</span></td><td style="vertical-align: top;">R</td><td style="vertical-align: top;"><span style="font-style: italic;">0.1 * <a href="chapter_4.1.html#inflow_damping_height">inflow_damping</a></span><a href="chapter_4.1.html#inflow_damping_height"><br style="font-style: italic;"><span style="font-style: italic;">_height</span></a></td><td style="vertical-align: top;">Transition range within which the turbulance signal is damped to zero (in m).<br><br>See <a href="chapter_4.1.html#inflow_damping_height">inflow_damping_height</a> for explanation.</td></tr><tr> 5513 5563 5514 5564 … … 6022 6072 must be switched of in the equation of motion for w (this 6023 6073 requires the user to comment out the call of <span style="font-family: monospace;">buoyancy</span> in the 6024 source code of <span style="font-family: monospace;">prognostic_equations.f90</span>).</p> 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 </ul> 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 <p style="font-style: normal;">Values may be 6074 source code of <span style="font-family: monospace;">prognostic_equations.f90</span>).</p></ul> 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 <p style="font-style: italic;">'read_data_for_recycling'</p><p style="font-style: normal; margin-left: 40px;">Here, 6089 3d-data from a precursor run are read by the initial (main) run. The 6090 precursor run is allowed to have a smaller domain along x and y 6091 compared with the main run. Also, different numbers of processors can 6092 be used for these two runs. Limitations are that the precursor run must 6093 use cyclic horizontal boundary conditions and that the subdomains of 6094 the main run must not be larger than the subdomains of the precursor 6095 run. If the total domain of the main run is larger than that of the precursor 6096 run, the domain is filled by cyclic repetition of the (cyclic) 6097 precursor data. This initialization method is recommended if a 6098 turbulent inflow is used (see <a href="chapter_4.1.html#turbulent_inflow">turbulent_inflow</a>). 3d-data must be made available to the run by activating an appropriate file connection statement for local file BININ. See <a href="chapter_3.9.html">chapter 3.9</a> for more details, where usage of a turbulent inflow is explained. </p><p style="font-style: normal;">Values may be 6053 6099 combined, e.g. <b>initializing_actions</b> = <span style="font-style: italic;">'set_constant_profiles 6054 6100 initialize_vortex'</span>, but the values of <span style="font-style: italic;">'set_constant_profiles'</span>, … … 6069 6115 6070 6116 6071 <p style="font-style: italic;"> </p>6117 6072 6118 6073 6119 … … 6749 6795 6750 6796 6751 <tr> 6752 6753 6754 6755 6756 6757 6758 <td style="vertical-align: top;"> 6759 6760 6761 6762 6763 6764 6765 <p><a name="humidity"></a><b>humidity</b></p> 6766 6767 6768 6769 6770 6771 6772 6773 </td> 6774 6775 6776 6777 6778 6779 6780 <td style="vertical-align: top;">L</td> 6781 6782 6783 6784 6785 6786 6787 6788 <td style="vertical-align: top;"><i>.F.</i></td> 6789 6790 6791 6792 6793 6794 6795 6796 <td style="vertical-align: top;"> 6797 6798 6799 6800 6801 6802 6803 <p>Parameter to 6804 switch on the prognostic equation for specific 6805 humidity q.<br> 6806 6807 6808 6809 6810 6811 6812 </p> 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 <p>The initial vertical 6827 profile of q can be set via parameters <a href="chapter_4.1.html#q_surface">q_surface</a>, <a href="chapter_4.1.html#q_vertical_gradient">q_vertical_gradient</a> 6828 and <a href="chapter_4.1.html#q_vertical_gradient_level">q_vertical_gradient_level</a>. 6829 Boundary conditions can be set via <a href="chapter_4.1.html#q_surface_initial_change">q_surface_initial_change</a> 6830 and <a href="chapter_4.1.html#surface_waterflux">surface_waterflux</a>.<br> 6831 6832 6833 6834 6835 6836 6837 6838 </p> 6839 6840 6841 6842 6843 6844 6845 6846 If the condensation scheme is switched on (<a href="chapter_4.1.html#cloud_physics">cloud_physics</a> 6847 = .TRUE.), q becomes the total liquid water content (sum of specific 6848 humidity and liquid water content).</td> 6849 6850 6851 6852 6853 6854 6855 </tr> 6797 6856 6798 6857 6799 … … 7809 7751 7810 7752 7811 <tr> 7812 7813 7814 7815 7816 7817 7818 <td style="vertical-align: top;"> 7819 7820 7821 7822 7823 7824 7825 <p><a name="npex"></a><b>npex</b></p> 7826 7827 7828 7829 7830 7831 7832 </td> 7833 7834 7835 7836 7837 7838 7839 7840 <td style="vertical-align: top;">I</td> 7841 7842 7843 7844 7845 7846 7847 <td style="vertical-align: top;"><br> 7848 7849 7850 7851 7852 7853 7854 </td> 7855 7856 7857 7858 7859 7860 7861 <td style="vertical-align: top;"> 7862 7863 7864 7865 7866 7867 7868 <p>Number of processors 7869 along x-direction of the virtual 7870 processor 7871 net. </p> 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 <p>For parallel runs, the total 7886 number of processors to be used 7887 is given by 7888 the <span style="font-weight: bold;">mrun</span> 7889 option <a href="http://www.muk.uni-hannover.de/software/mrun_beschreibung.html#Opt-X">-X</a>. 7890 By default, depending on the type of the parallel computer, PALM 7891 generates a 1d processor 7892 net (domain decomposition along x, <span style="font-weight: bold;">npey</span> 7893 = <span style="font-style: italic;">1</span>) or a 7894 2d-net (this is 7895 favored on machines with fast communication network). In case of a 7896 2d-net, it is tried to make it more or less square-shaped. If, for 7897 example, 16 processors are assigned (-X 16), a 4 * 4 processor net is 7898 generated (<span style="font-weight: bold;">npex</span> 7899 = <span style="font-style: italic;">4</span>, <span style="font-weight: bold;">npey</span> 7900 = <span style="font-style: italic;">4</span>). 7901 This choice is optimal for square total domains (<a href="#nx">nx</a> 7902 = <a href="#ny">ny</a>), 7903 since then the number of ghost points at the lateral boundarys of 7904 the subdomains is minimal. If <span style="font-weight: bold;">nx</span> 7905 nd <span style="font-weight: bold;">ny</span> 7906 differ extremely, the 7907 processor net should be manually adjusted using adequate values for <span style="font-weight: bold;">npex</span> and <span style="font-weight: bold;">npey</span>. </p> 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 <p><b>Important:</b> The value of <span style="font-weight: bold;">npex</span> * <span style="font-weight: bold;">npey</span> must exactly 7922 correspond to the 7923 value assigned by the <span style="font-weight: bold;">mrun</span>-option 7924 <tt>-X</tt>. 7925 Otherwise the model run will abort with a corresponding error 7926 message. <br> 7927 7928 7929 7930 7931 7932 7933 7934 Additionally, the specification of <span style="font-weight: bold;">npex</span> 7935 and <span style="font-weight: bold;">npey</span> 7936 may of course 7937 override the default setting for the domain decomposition (1d or 2d) 7938 which may have a significant (negative) effect on the code performance. 7939 </p> 7940 7941 7942 7943 7944 7945 7946 </td> 7947 7948 7949 7950 7951 7952 7953 </tr> 7954 7955 7956 7957 7958 7959 7960 <tr> 7961 7962 7963 7964 7965 7966 7967 <td style="vertical-align: top;"> 7968 7969 7970 7971 7972 7973 7974 <p><a name="npey"></a><b>npey</b></p> 7975 7976 7977 7978 7979 7980 7981 7982 </td> 7983 7984 7985 7986 7987 7988 7989 <td style="vertical-align: top;">I</td> 7990 7991 7992 7993 7994 7995 7996 7997 <td style="vertical-align: top;"><br> 7998 7999 8000 8001 8002 8003 8004 </td> 8005 8006 8007 8008 8009 8010 8011 <td style="vertical-align: top;"> 8012 8013 8014 8015 8016 8017 8018 <p>Number of processors 8019 along y-direction of the virtual 8020 processor 8021 net. </p> 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 <p>For further information see <a href="#npex">npex</a>.</p> 8036 8037 8038 8039 8040 8041 8042 </td> 8043 8044 8045 8046 8047 8048 8049 </tr> 7753 7754 7755 7756 7757 7758 7759 7760 8050 7761 8051 7762 … … 11530 11241 11531 11242 11532 <tr> 11243 <tr><td style="vertical-align: top;"><span style="font-weight: bold;"><a name="recycling_width"></a>recycling_width</span></td><td style="vertical-align: top;">R</td><td style="vertical-align: top;"><span style="font-style: italic;">0.1 * <a href="chapter_4.1.html#nx">nx</a> * <a href="chapter_4.1.html#dx">dx</a></span></td><td style="vertical-align: top;">Distance of the recycling plane from the inflow boundary (in m).<br><br>This 11244 parameter sets the horizontal extension (along the direction of the 11245 main flow) of the so-called recycling domain which is used to generate 11246 a turbulent inflow (see <a href="chapter_4.1.html#turbulent_inflow">turbulent_inflow</a>). <span style="font-weight: bold;">recycling_width</span> must be larger than the grid spacing (dx) and smaller than the length of the total domain (nx * dx).</td></tr><tr> 11533 11247 11534 11248 … … 14376 14090 = <a href="#scalar_advec">scalar_advec</a> 14377 14091 = '<i>pw-scheme'</i>, <a href="chapter_4.2.html#psolver">psolver</a> 14378 = <i>'poisfft'</i> or '<i>poisfft_hybrid'</i>,14092 /= <i>'sor</i><i>'</i>, 14379 14093 <i> </i><a href="#alpha_surface">alpha_surface</a> 14380 = 0.0, <a href="#bc_lr">bc_lr</a> = <a href="#bc_ns">bc_ns</a> = <span style="font-style: italic;">'cyclic'</span>, <a style="" href="#galilei_transformation">galilei_transformation</a>14094 = 0.0,<span style="font-style: italic;"></span> <a style="" href="#galilei_transformation">galilei_transformation</a> 14381 14095 = <span style="font-style: italic;">.F.</span>, <a href="#cloud_physics">cloud_physics </a> = <span style="font-style: italic;">.F.</span>, <a href="#cloud_droplets">cloud_droplets</a> = <span style="font-style: italic;">.F.</span>, <a href="#humidity">humidity</a> = <span style="font-style: italic;">.F.</span>, and <a href="#prandtl_layer">prandtl_layer</a> = .T..<br> 14382 14096 … … 14952 14666 14953 14667 14954 <tr> 14668 <tr><td style="vertical-align: top;"><a name="turbulent_inflow"></a><span style="font-weight: bold;">turbulent_inflow</span></td><td style="vertical-align: top;">L</td><td style="vertical-align: top;"><span style="font-style: italic;">.F.</span></td><td style="vertical-align: top;">Generates a turbulent inflow at side boundaries using a turbulence recycling method.<br><br>Turbulent inflow is realized using the turbulence recycling method from Lund et al. (1998, J. Comp. Phys., <span style="font-weight: bold;">140</span>, 233-258) modified by Kataoka and Mizuno (2002, Wind and Structures, <span style="font-weight: bold;">5</span>, 379-392).<br><br>A turbulent inflow requires Dirichlet conditions at the respective inflow boundary. <span style="font-weight: bold;">So far, a turbulent inflow is realized from the left (west) side only, i.e. </span><a style="font-weight: bold;" href="chapter_4.1.html#bc_lr">bc_lr</a><span style="font-weight: bold;"> =</span><span style="font-style: italic; font-weight: bold;"> 'dirichlet/radiation'</span><span style="font-weight: bold;"> is required!</span><br><br>The initial (quasi-stationary) turbulence field should be generated by a precursor run and used by setting <a href="chapter_4.1.html#initializing_actions">initializing_actions</a> =<span style="font-style: italic;"> 'read_data_for_recycling'</span>.<br><br>The distance of the recycling plane from the inflow boundary can be set with parameter <a href="chapter_4.1.html#recycling_width">recycling_width</a>. 14669 The heigth above ground above which the turbulence signal is not used 14670 for recycling and the width of the layer within the magnitude of 14671 the turbulence signal is damped from 100% to 0% can be set with 14672 parameters <a href="chapter_4.1.html#inflow_damping_height">inflow_damping_height</a> and <a href="chapter_4.1.html#inflow_damping_width">inflow_damping_width</a>.<br><br>The detailed setup for a turbulent inflow is described in <a href="chapter_3.9.html">chapter 3.9</a>.</td></tr><tr> 14955 14673 14956 14674 -
palm/trunk/DOC/app/chapter_4.2.html
r189 r197 2575 2575 2576 2576 2577 <tr> 2577 <tr><td align="undefined" valign="undefined"><span style="font-style: italic; color: rgb(255, 0, 0);">p</span></td><td align="undefined" valign="undefined">Perturbation pressure (in Pa)</td></tr><tr> 2578 2578 2579 2579 … … 3717 3717 assigned. This 3718 3718 yields a loss of accuracy, but the file size is clearly reduced. The 3719 parameter <a href="chapter_4.2.html#do3d_ precision">do3d_precision</a>3719 parameter <a href="chapter_4.2.html#do3d_comp_prec">do3d_comp_prec</a> 3720 3720 can be used to separately define the number of significant digits for 3721 3721 each quantity.<br> … … 3747 3747 3748 3748 3749 <p><a name="do3d_ precision"></a><b>do3d_precision</b></p>3749 <p><a name="do3d_comp_prec"></a><b>do3d_comp_prec</b></p> 3750 3750 3751 3751 … … 3817 3817 3818 3818 3819 <p>The default assignment is <span style="font-weight: bold;">do3d_ precision</span>3819 <p>The default assignment is <span style="font-weight: bold;">do3d_comp_prec</span> 3820 3820 = <span style="font-style: italic;">'u2'</span>, <span style="font-style: italic;">'v2'</span>, <span style="font-style: italic;">'w2'</span>, <span style="font-style: italic;">'p5'</span>, <span style="font-style: italic;">'pt2'</span>.</p> 3821 3821 … … 4817 4817 4818 4818 <td style="vertical-align: top;">Subgrid-scale sensible 4819 heat flux near the surface (horizontal 4820 average) 4821 between z = 0 and z = z<sub>p</sub> = zu(1) (there it 4822 corresponds to 4823 the total heat flux) (in K m/s).</td> 4819 heat flux at k=0 (horizontal 4820 average), constant within Prandtl-layer (in K m/s).</td> 4824 4821 4825 4822 … … 4856 4853 4857 4854 4858 <tr> 4855 <tr><td align="undefined" valign="undefined"><span style="font-style: italic;">w"u"0</span></td><td align="undefined" valign="undefined">Subgrid-scale momentum flux (u-component) at k=0 (horizontal average), constant within Prandtl-layer (in m<sup>2</sup>/s<sup>2</sup>).</td></tr><tr><td align="undefined" valign="undefined"><span style="font-style: italic;">w"v"0</span></td><td align="undefined" valign="undefined">Subgrid-scale momentum flux (v-component) at k=0 (horizontal average), constant within Prandtl-layer (in m<sup>2</sup>/s<sup>2</sup>).</td></tr><tr><td align="undefined" valign="undefined"><span style="font-style: italic;">w"q"0</span></td><td align="undefined" valign="undefined">Subgrid-scale 4856 humidity flux at k=0 (horizontal average), constant within 4857 Prandtl-layer (in kg/kg m/s). Zero values are output if humidity is not 4858 used.</td></tr><tr> 4859 4859 4860 4860 … … 4886 4886 4887 4887 4888 <tr> 4889 4890 4891 4892 <td style="vertical-align: top; font-style: italic;">splptx</td> 4893 4894 4895 4896 <td style="vertical-align: top;">Percentage of grid points 4897 using upstream scheme along x with 4898 upstream-spline advection switched on.</td> 4899 4900 4901 </tr> 4902 4903 4904 <tr> 4905 4906 4907 4908 <td style="vertical-align: top; font-style: italic;">splpty</td> 4909 4910 4911 4912 <td style="vertical-align: top;">Percentage of grid points 4913 using upstream scheme along y with 4914 upstream-spline 4915 advection switched on.</td> 4916 4917 4918 </tr> 4919 4920 4921 <tr> 4922 4923 4924 <td style="vertical-align: top; font-style: italic;">splptz</td> 4925 4926 4927 4928 <td style="vertical-align: top;">Percentage of grid points 4929 using upstream scheme along z with 4930 upstream-spline 4931 advection switched on.<br> 4932 4933 4934 </td> 4935 4936 4937 </tr> 4888 4889 4890 4891 4892 4893 4894 4938 4895 4939 4896 … … 5640 5597 It is only possible to gather data from a level larger than the one 5641 5598 determined automatically. A test run may be neccessary to determine 5642 this level.< /td>5599 this level.<br><br>Setting of <span style="font-weight: bold;">mg_switch_to_pe0_level</span> = <span style="font-style: italic;">-1</span> prevents that data are collected on PE0 at all, i.e. coarsening of grids is limited by the subdomains.</td> 5643 5600 5644 5601 … … 5848 5805 5849 5806 5850 <tr> 5807 <tr><td style="vertical-align: top;"><a href="npex"><span style="font-weight: bold;"></span></a><span style="font-weight: bold;"><a name="npex"></a>npex</span></td><td style="vertical-align: top;">I</td><td style="vertical-align: top;"></td><td style="vertical-align: top;"><p>Number of processors 5808 along x-direction of the virtual 5809 processor 5810 net. </p> 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 <p>For parallel runs, the total 5825 number of processors to be used 5826 is given by 5827 the <span style="font-weight: bold;">mrun</span> 5828 option <a href="http://www.muk.uni-hannover.de/software/mrun_beschreibung.html#Opt-X">-X</a>. 5829 By default, depending on the type of the parallel computer, PALM 5830 generates a 1d processor 5831 net (domain decomposition along x, <span style="font-weight: bold;">npey</span> 5832 = <span style="font-style: italic;">1</span>) or a 5833 2d-net (this is 5834 favored on machines with fast communication network and/or large number of processors (>256)). In case of a 5835 2d-net, it is tried to make it more or less square-shaped. If, for 5836 example, 16 processors are assigned (-X 16), a 4 * 4 processor net is 5837 generated (<span style="font-weight: bold;">npex</span> 5838 = <span style="font-style: italic;">4</span>, <span style="font-weight: bold;">npey</span> 5839 = <span style="font-style: italic;">4</span>). 5840 This choice is optimal for square total domains (<a href="chapter_4.1.html#nx">nx</a> 5841 = <a href="chapter_4.1.html#ny">ny</a>), 5842 since then the number of ghost points at the lateral boundarys of 5843 the subdomains reaches a minimum. If <span style="font-weight: bold;">nx</span> 5844 and <span style="font-weight: bold;">ny</span> 5845 differ extremely, the 5846 processor net should be manually adjusted using adequate values for <span style="font-weight: bold;">npex</span> and <span style="font-weight: bold;">npey</span>. </p> 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 <p><b>Important:</b> The value of <span style="font-weight: bold;">npex</span> * <span style="font-weight: bold;">npey</span> must exactly match the 5861 value assigned by the <span style="font-weight: bold;">mrun</span>-option 5862 <tt>-X</tt>. 5863 Otherwise the model run will abort with a corresponding error 5864 message. <br> 5865 5866 5867 5868 5869 5870 5871 5872 Additionally, the specification of <span style="font-weight: bold;">npex</span> 5873 and <span style="font-weight: bold;">npey</span> 5874 may of course 5875 override the default setting for the domain decomposition (1d or 2d) 5876 which may have a significant (negative) effect on the code performance. 5877 </p></td></tr><tr><td style="vertical-align: top;"><span style="font-weight: bold;"><a name="npey"></a>npey</span></td><td style="vertical-align: top;">I</td><td style="vertical-align: top;"></td><td style="vertical-align: top;"><p>Number of processors 5878 along y-direction of the virtual 5879 processor 5880 net. </p> 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 <p>For further information see <a href="chapter_4.2.html#npex">npex</a>.</p></td></tr><tr> 5851 5895 5852 5896 -
palm/trunk/DOC/app/chapter_4.4.1.html
r97 r197 151 151 virtual processor topology (grid) of 8*1 (x*y) is used. (<span style="font-weight: bold;">Note:</span> the user may 152 152 adjust this 153 default domain decomposition with the help of the parameters <a href="chapter_4. 1.html#npex">npex</a>154 and <a href="chapter_4. 1.html#npey">npey</a>).153 default domain decomposition with the help of the parameters <a href="chapter_4.2.html#npex">npex</a> 154 and <a href="chapter_4.2.html#npey">npey</a>). 155 155 </p><p style="line-height: 100%;">Provided that the 156 156 parameters -
palm/trunk/DOC/app/chapter_4.4.2.html
r97 r197 155 155 virtual processor topology (grid) of 8*1 (x*y) is used. (<span style="font-weight: bold;">Note:</span> the user may 156 156 adjust this 157 default domain decomposition with the help of the parameters <a href="chapter_4. 1.html#npex">npex</a>158 and <a href="chapter_4. 1.html#npey">npey</a>).157 default domain decomposition with the help of the parameters <a href="chapter_4.2.html#npex">npex</a> 158 and <a href="chapter_4.2.html#npey">npey</a>). 159 159 </p><p style="line-height: 100%;">Provided that the 160 160 parameters -
palm/trunk/DOC/app/chapter_4.5.6.html
r62 r197 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.5.6</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041029;13171001"> <meta name="CHANGED" content="20041117;12013945"> <meta name="KEYWORDS" content="parallel LES model"> <style> 3 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=windows-1252"><title>PALM chapter 4.5.6</title> <meta name="GENERATOR" content="StarOffice 7 (Win32)"> <meta name="AUTHOR" content="Siegfried Raasch"> <meta name="CREATED" content="20041029;13171001"> <meta name="CHANGED" content="20041117;12013945"> <meta name="KEYWORDS" content="parallel LES model"> <style> 5 4 <!-- 6 5 @page { size: 21cm 29.7cm } 7 6 --> 8 7 </style></head> 9 10 8 <body style="direction: ltr;" lang="en-US"><h4 style="line-height: 100%;"><font size="4">4.5.6 11 9 Plots of compressed … … 22 20 = <i>.TRUE.</i> and by assigning the desired accuracy 23 21 (number of 24 significant digits) via <a href="chapter_4.2.html#do3d_ precision">do3d_precision</a>.22 significant digits) via <a href="chapter_4.2.html#do3d_comp_prec">do3d_comp_prec</a>. 25 23 A separate accuracy must be assigned for each individual quantity. 26 24 Using uncompressed data, each grid point value is -
palm/trunk/DOC/app/chapter_4.6.html
r189 r197 3444 3444 3445 3445 3446 <td><a href="chapter_4.2.html#do3d_ precision"><span style="font-weight: bold;">do3d_precision</span></a></td>3446 <td><a href="chapter_4.2.html#do3d_comp_prec"><span style="font-weight: bold;">do3d_comp_prec</span></a></td> 3447 3447 3448 3448 … … 6408 6408 6409 6409 6410 <tr> 6410 <tr><td align="undefined" valign="undefined"><a href="chapter_4.1.html#inflow_damping_height"><span style="font-weight: bold;">inflow_damping_height</span></a></td><td align="undefined" valign="undefined">I</td><td align="undefined" valign="undefined">R</td><td align="undefined" valign="undefined"><span style="font-style: italic;">from precursor run</span></td><td align="undefined" valign="undefined">Height below which the turbulence signal is used for turbulence recycling (in m).</td></tr><tr><td align="undefined" valign="undefined"><a href="chapter_4.1.html#inflow_damping_width"><span style="font-weight: bold;">inflow_damping_width</span></a></td><td align="undefined" valign="undefined">I</td><td align="undefined" valign="undefined">R</td><td align="undefined" valign="undefined"><span style="font-style: italic;">0.1 * <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.1.html#inflow_damping_height">inflow_damping</a></span><a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.1.html#inflow_damping_height"><span style="font-style: italic;">_height</span></a></td><td align="undefined" valign="undefined">Transition range within which the turbulance signal is damped to zero (in m).</td></tr><tr> 6411 6411 6412 6412 … … 7704 7704 7705 7705 7706 <p><a href="chapter_4. 1.html#npex"><b>npex</b></a></p>7706 <p><a href="chapter_4.2.html#npex"><b>npex</b></a></p> 7707 7707 7708 7708 … … 7717 7717 7718 7718 7719 <p> I</p>7719 <p>R</p> 7720 7720 7721 7721 … … 7781 7781 7782 7782 7783 <p><a href="chapter_4. 1.html#npey"><b>npey</b></a></p>7783 <p><a href="chapter_4.2.html#npey"><b>npey</b></a></p> 7784 7784 7785 7785 … … 7794 7794 7795 7795 7796 <p> I</p>7796 <p>R</p> 7797 7797 7798 7798 … … 11650 11650 11651 11651 11652 <tr> 11652 <tr><td align="undefined" valign="undefined"><a href="chapter_4.1.html#recycling_width"><span style="font-weight: bold;">recycling_width</span></a></td><td align="undefined" valign="undefined">I</td><td align="undefined" valign="undefined">R</td><td align="undefined" valign="undefined"><span style="font-style: italic;">0.1 * <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.1.html#nx">nx</a> * <a href="http://www.muk.uni-hannover.de/%7Eraasch/PALM_group/doc/app/chapter_4.1.html#dx">dx</a></span></td><td align="undefined" valign="undefined">Distance of the recycling plane from the inflow boundary (in m).<br></td></tr><tr> 11653 11653 11654 11654 … … 13905 13905 13906 13906 13907 <tr> 13907 <tr><td align="undefined" valign="undefined"><a href="chapter_4.1.html#turbulent_inflow"><span style="font-weight: bold;">turbulent_inflow</span></a></td><td align="undefined" valign="undefined">I</td><td align="undefined" valign="undefined">L</td><td align="undefined" valign="undefined"><span style="font-style: italic;">.F.</span></td><td align="undefined" valign="undefined">Generates a turbulent inflow at side boundaries using a turbulence recycling method.</td></tr><tr> 13908 13908 13909 13909 -
palm/trunk/DOC/app/index.html
r140 r197 160 160 <u3:LatentStyles DefLockedState="false" LatentStyleCount="156"> </u3:LatentStyles> 161 161 </xml><![endif]--></head> 162 163 162 <body style="" lang="DE" link="blue" vlink="blue"> 164 163 … … 177 176 <p><span style="font-family: Thorndale;" lang="EN-GB">Current 178 177 model 179 version: 3. 4a<br>178 version: 3.5<br> 180 179 For date of last change see bottom line of each page. <o:p></o:p></span></p> 181 180 -
palm/trunk/DOC/tec/technical_documentation.html
r139 r197 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. 4a</span></td> </tr>14 model version:</b></td> <td><span style="font-weight: bold;">3.5</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> … … 2351 2351 prognostic_equations</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: summation of<span style="font-family: Courier New,Courier,monospace;"> sums_l_l </span>(<span style="font-family: Courier New,Courier,monospace;">diffusivities</span>).<br><br>Several bugfixes in the ocean part: Initial density<span style="font-family: Courier New,Courier,monospace;"> rho </span>is calculated (<span style="font-family: Courier New,Courier,monospace;">init_ocean</span>). Error in initializing<span style="font-family: Courier New,Courier,monospace;"> u_init </span>and<span style="font-family: Courier New,Courier,monospace;"> v_init </span>removed (<span style="font-family: Courier New,Courier,monospace;">check_parameters</span>). Calculation of density flux now starts from<span style="font-family: Courier New,Courier,monospace;"> nzb+1 </span>(<span style="font-family: Courier New,Courier,monospace;">production_e</span>).<br><br>Bugfix: <span style="font-family: Courier New,Courier,monospace;">pleft</span>/<span style="font-family: Courier New,Courier,monospace;">pright</span> changed to <span style="font-family: Courier New,Courier,monospace;">pnorth</span>/<span style="font-family: Courier New,Courier,monospace;">psouth</span> in sendrecv of particle tail numbers along y, small bugfixes in the SGS part (<span style="font-family: Courier New,Courier,monospace;">advec_particles</span>).<br><br>Bugfix:<span style="font-family: Courier New,Courier,monospace;"> model_string </span>needed a default value (<span style="font-family: Courier New,Courier,monospace;">combine_plot_fields</span>).<br><br>Bugfix: wavenumber calculation for even<span style="font-family: Courier New,Courier,monospace;"> nx </span>in routines<span style="font-family: Courier New,Courier,monospace;"> maketri </span>(<span style="font-family: Courier New,Courier,monospace;">poisfft</span>).<br><br>Bugfix: assignment of fluxes at walls.<br><br>Bugfix: absolute value of<span style="font-family: Courier New,Courier,monospace;"> f </span>must be used when calculating the Blackadar mixing length (<span style="font-family: Courier New,Courier,monospace;">init_1d_model</span>).</td><td style="vertical-align: top;">advec_particles, 2352 2352 check_parameters, combine_plot_fields, diffusion_s, diffusivities, 2353 init_ocean, init_1d_model, poisfft, production_e</td></tr> 2353 init_ocean, init_1d_model, poisfft, production_e</td></tr><tr><td style="vertical-align: top;">16/09/08</td><td style="vertical-align: top;">SR</td><td style="vertical-align: top;">3.5</td><td style="vertical-align: top;">N</td><td style="vertical-align: top;"></td><td style="vertical-align: top;"></td></tr><tr><td align="undefined" valign="undefined"> </td><td align="undefined" valign="undefined"> </td><td align="undefined" valign="undefined"> </td><td style="vertical-align: top;">C</td><td style="vertical-align: top;"></td><td align="undefined" valign="undefined"></td></tr><tr><td align="undefined" valign="undefined"> </td><td align="undefined" valign="undefined"> </td><td align="undefined" valign="undefined"> </td><td style="vertical-align: top;">E</td><td style="vertical-align: top;"></td><td style="vertical-align: top;"></td></tr> 2354 2354 </tbody> 2355 2355 </table> <b><blink>Attention:</blink></b> -
palm/trunk/SCRIPTS/mrun
r196 r197 2249 2249 [[ $? != 0 ]] && compile_error=true 2250 2250 rm -rf $TEMPDIR_COMPILE 2251 elif [[ $localhost = lcsgib ]] 2252 then 2253 printf " compiler is called via ssh on \"bicegate\" \n" 2254 ssh 130.73.232.102 -l $usern ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " 2255 [[ ! -f a.out ]] && compile_error=true 2256 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2257 elif [[ $localhost = lcsgih ]] 2258 then 2259 printf " compiler is called via ssh on \"hicegate\" \n" 2260 ssh 130.75.4.102 -l $usern ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2261 # ssh 130.75.4.102 -l $usern ". /usr/share/modules/init/bash; module load mvapich2; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" 2>&1 " 2262 # print ". /usr/share/modules/init/bash; module load mpt; cd $TEMPDIR; make -f Makefile PROG=a.out F90=$compiler_name COPT=\"$cpp_options\" F90FLAGS=\"$fopts\" LDFLAGS=\"$lopts\" " | ssh ${usern}@130.75.4.102 2>&1 2263 [[ ! -f a.out ]] && compile_error=true 2264 continue # ANDERENFALLS IST STATUS=1, FALLS A.OUT VORHANDEN 2251 2265 else 2252 2266 [[ $localhost = lctit ]] && export LM_LICENSE_FILE=27050@tggls … … 2260 2274 2261 2275 # WORKAROUND: REMOVE IF CONSTRUCT LATER, BUT KEEP THE EXIT! 2262 if [[ $localhost != lcsgib && $localhost != lcsgih ]]2263 then2276 # if [[ $localhost != lcsgib && $localhost != lcsgih ]] 2277 # then 2264 2278 exit 2265 else2266 locat=normal2267 fi2279 # else 2280 # locat=normal 2281 # fi 2268 2282 else 2269 2283 printf "$striche\n *** compilation finished \n" … … 2839 2853 if [[ $host = lcsgih || $host = lcsgib ]] 2840 2854 then 2841 ulimit -s 30000 # A too large stack size causes problems2855 # ulimit -s 300000 # A too large stack size causes problems 2842 2856 # export MV2_NUM_PORTS=2 2843 2857 # export MV2_CPU_MAPPING=0:1:2:3 2844 # mpiexec ./ palm$ROPTS2845 mpiexec_mpt -np $ii ./ palm$ROPTS2858 # mpiexec ./a.out $ROPTS 2859 mpiexec_mpt -np $ii ./a.out $ROPTS 2846 2860 elif [[ $host = lcxt4 ]] 2847 2861 then … … 2859 2873 printf "\n\n" 2860 2874 2861 if [[ $host = lcxt4 ]] 2875 if [[ $host = lcsgih || $host = lcsgib ]] 2876 then 2877 2878 mpiexec -n $iii a.out $ROPTS < runfile_atmos & 2879 mpiexec -n $iii a.out $ROPTS < runfile_ocean & 2880 # head -n $iii $PBS_NODEFILE > nodefile_atmos 2881 # echo "--- nodefile_atmos:" 2882 # cat nodefile_atmos 2883 # tail -n $iii $PBS_NODEFILE > nodefile_ocean 2884 # echo "--- nodefile_ocean:" 2885 # cat nodefile_ocean 2886 # export PBS_NODEFILE=${PWD}/nodefile_atmos 2887 # mpiexec_mpt -np $iii ./a.out $ROPTS < runfile_atmos & 2888 # export PBS_NODEFILE=${PWD}/nodefile_ocean 2889 # mpiexec_mpt -np $iii ./a.out $ROPTS < runfile_ocean & 2890 2891 2892 elif [[ $host = lcxt4 ]] 2862 2893 then 2863 2894 aprun -n $iii -N $tasks_per_node a.out < runfile_atmos $ROPTS & -
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r192 r197 28 28 Particle advection adjusted for ocean runs. 29 29 30 Multigrid levels are limited by subdomains if mg_switch_to_pe0_level = -1. 31 30 32 User-defined spectra. 33 34 Output of q*2 profile added. 31 35 32 36 Argument -c introduced to most of the subjob calls, which allows the user to … … 91 95 (combine_plot_fields) 92 96 93 advec_s_ups, advec_u_ups, advec_v_ups, advec_w_ups, calc_spectra, check_open, check_parameters, cpu_statistics, data_output_spectra, header, init_1d_model, init_3d_model, modules, netcdf, palm, parin, poisfft, production_e, read_var_list, read_3d_binary, transpose, wall_fluxes, write_var_list, write_3d_binary 97 Time coordinate t=0 stored on netcdf-file only if an output is required for 98 this time for at least one of the profiles 99 100 Spline timeseries splptx etc. removed, timeseries w'u', w'v', w'q' (k=0) added 101 (flow_statistics) 102 103 advec_s_ups, advec_u_ups, advec_v_ups, advec_w_ups, calc_spectra, check_open, check_parameters, cpu_statistics, data_output_profiles, data_output_spectra, flow_statistics, header, init_1d_model, init_3d_model, modules, netcdf, palm, parin, poisfft, production_e, read_var_list, read_3d_binary, transpose, wall_fluxes, write_var_list, write_3d_binary 94 104 95 105 … … 148 158 Bugfix: misplaced #endif directives (combine_plot_fields) 149 159 150 calc_spectra, check_parameters, diffusion_s, flow_statistics, init_dvrp, init_3d_model, local_stop, plant_canopy_model, poismg, prandtl_fluxes, pres, read_3d_binary, user_interface, wall_fluxes, write_3d_binary 160 data are collected from PE0 in an ordered sequence which seems to avoid hanging of processes on SGI-ICE (cpu_statistics) 151 161 162 calc_spectra, check_parameters, cpu_statistics, diffusion_s, flow_statistics, init_dvrp, init_3d_model, local_stop, plant_canopy_model, poismg, prandtl_fluxes, pres, read_3d_binary, user_interface, wall_fluxes, write_3d_binary 163 -
palm/trunk/SOURCE/check_parameters.f90
r181 r197 10 10 ! Leaf area density (LAD) explicitly set to its surface value at k=0 11 11 ! Case of reading data for recycling included in initializing_actions, 12 ! check of turbulent_inflow and calculation of recycling_plane 12 ! check of turbulent_inflow and calculation of recycling_plane. 13 ! q*2 profile added 13 14 ! 14 15 ! Former revisions: … … 2256 2257 hom(:,2,69,:) = SPREAD( zu, 2, statistic_regions+1 ) 2257 2258 2259 CASE ( 'q*2' ) 2260 IF ( .NOT. humidity ) THEN 2261 IF ( myid == 0 ) THEN 2262 PRINT*, '+++ check_parameters: data_output_pr = ', & 2263 data_output_pr(i), & 2264 ' is not implemented for humidity = FALSE' 2265 ENDIF 2266 CALL local_stop 2267 ELSE 2268 dopr_index(i) = 70 2269 dopr_unit(i) = 'kg2/kg2' 2270 hom(:,2,70,:) = SPREAD( zu, 2, statistic_regions+1 ) 2271 ENDIF 2258 2272 2259 2273 CASE DEFAULT -
palm/trunk/SOURCE/cpu_statistics.f90
r181 r197 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Format adjustments in order to allow CPU# > 999 6 ! Format adjustments in order to allow CPU# > 999, 7 ! data are collected from PE0 in an ordered sequence which seems to avoid 8 ! hanging of processes on SGI-ICE 7 9 ! 8 10 ! Former revisions: … … 69 71 DO i = 1, numprocs-1 70 72 CALL MPI_RECV( pe_max(1), SIZE( log_point ), MPI_REAL, & 71 MPI_ANY_SOURCE, MPI_ANY_TAG, comm2d, status, ierr )73 i, i, comm2d, status, ierr ) 72 74 sender = status(MPI_SOURCE) 73 75 pe_log_points(:,sender) = pe_max … … 87 89 !-- Calculate rms 88 90 DO i = 0, numprocs-1 89 ! IF ( log_point(iii)%place == 'run_control' ) THEN90 ! PRINT*, 'pe_rms=',pe_rms(iii),' plp=',pe_log_points(iii,i), &91 ! ' lps=',log_point(iii)%sum92 ! ENDIF93 91 pe_rms(iii) = pe_rms(iii) + ( & 94 92 pe_log_points(iii,i) - log_point(iii)%sum & … … 103 101 ALLOCATE( pe_max( SIZE( log_point ) ) ) 104 102 pe_max = log_point%sum 105 CALL MPI_SEND( pe_max(1), SIZE( log_point ), MPI_REAL, 0, 0, comm2d, &103 CALL MPI_SEND( pe_max(1), SIZE( log_point ), MPI_REAL, 0, myid, comm2d, & 106 104 ierr ) 107 105 #endif -
palm/trunk/SOURCE/data_output_profiles.f90
r90 r197 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Time coordinate t=0 stored on netcdf-file only if an output is required for 7 ! this time for at least one of the profiles 7 8 ! 8 9 ! Former revisions: … … 39 40 40 41 INTEGER :: i, id, ilc, ils, j, k, sr 42 LOGICAL :: output_for_t0 41 43 REAL :: uxma, uxmi 42 44 … … 101 103 #if defined( __netcdf ) 102 104 ! 103 !-- Store initial time (t=0) to time axis 104 nc_stat = NF90_PUT_VAR( id_set_pr, id_var_time_pr, (/ 0.0 /), & 105 start = (/ 1 /), count = (/ 1 /) ) 106 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error( 329 ) 105 !-- Store initial time (t=0) to time axis, but only if an output 106 !-- is required for at least one of the profiles 107 output_for_t0 = .FALSE. 108 DO i = 1, dopr_n 109 IF ( dopr_initial_index(i) /= 0 ) THEN 110 nc_stat = NF90_PUT_VAR( id_set_pr, id_var_time_pr, & 111 (/ 0.0 /), start = (/ 1 /), & 112 count = (/ 1 /) ) 113 IF ( nc_stat /= NF90_NOERR ) CALL handle_netcdf_error( 329 ) 114 output_for_t0 = .TRUE. 115 EXIT 116 ENDIF 117 ENDDO 107 118 108 119 ! … … 331 342 ENDDO ! Loop over dopr_n for initial profiles 332 343 333 IF ( netcdf_output ) dopr_time_count = dopr_time_count + 1 344 IF ( netcdf_output .AND. output_for_t0 ) THEN 345 dopr_time_count = dopr_time_count + 1 346 ENDIF 334 347 335 348 ENDIF ! Initial profiles -
palm/trunk/SOURCE/flow_statistics.f90
r142 r197 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! Spline timeseries splptx etc. removed, timeseries w'u', w'v', w'q' (k=0) 7 ! added 6 8 ! Bugfix: divide sums(k,8) (e) and sums(k,34) (e*) by ngp_2dh_s_inner(k,sr) 7 9 ! (like other scalars) … … 109 111 sums_l(nzb+9,pr_palm,0) = sums_divold_l(sr) ! old divergence from pres 110 112 sums_l(nzb+10,pr_palm,0) = sums_divnew_l(sr) ! new divergence from pres 111 !-- WARNING: next four lines still may have to be adjusted for OpenMP112 sums_l(nzb:nzb+2,pr_palm-1,0) = sums_up_fraction_l(1,1:3,sr)! upstream113 sums_l(nzb+3:nzb+5,pr_palm-1,0) = sums_up_fraction_l(2,1:3,sr)! parts114 sums_l(nzb+6:nzb+8,pr_palm-1,0) = sums_up_fraction_l(3,1:3,sr)! from115 sums_l(nzb+9:nzb+11,pr_palm-1,0) = sums_up_fraction_l(4,1:3,sr)! spline116 113 117 114 ! … … 380 377 sums_l(nzb+3,pr_palm,tn) = sums_l(nzb+3,pr_palm,tn) + & 381 378 ts(j,i) * rmask(j,i,sr) 379 IF ( humidity ) THEN 380 sums_l(nzb+12,pr_palm,tn) = sums_l(nzb+12,pr_palm,tn) + & 381 qs(j,i) * rmask(j,i,sr) 382 ENDIF 382 383 ENDDO 383 384 ENDDO … … 807 808 !-- above the topography, they are being divided by ngp_2dh(sr) 808 809 sums(nzb:nzb+3,pr_palm) = sums(nzb:nzb+3,pr_palm) / & 810 ngp_2dh(sr) 811 sums(nzb+12,pr_palm) = sums(nzb+12,pr_palm) / & ! qs 809 812 ngp_2dh(sr) 810 813 !-- eges, e* … … 882 885 hom(:,1,68,sr) = sums(:,68) ! w*p* 883 886 hom(:,1,69,sr) = sums(:,69) ! w"e + w"p"/rho 887 hom(:,1,70,sr) = sums(:,70) ! q*2 884 888 885 889 hom(:,1,pr_palm-1,sr) = sums(:,pr_palm-1) … … 999 1003 ts_value(17,sr) = hom(nzb,1,4,sr) ! pt(0) 1000 1004 ts_value(18,sr) = hom(nzb+1,1,4,sr) ! pt(zp) 1001 ts_value(19,sr) = hom(nzb+9,1,pr_palm-1,sr) ! splptx 1002 ts_value(20,sr) = hom(nzb+10,1,pr_palm-1,sr) ! splpty 1003 ts_value(21,sr) = hom(nzb+11,1,pr_palm-1,sr) ! splptz 1005 ts_value(19,sr) = hom(nzb+1,1,pr_palm,sr) ! u'w' at k=0 1006 ts_value(20,sr) = hom(nzb+2,1,pr_palm,sr) ! v'w' at k=0 1007 ts_value(21,sr) = hom(nzb+12,1,pr_palm,sr) ! w'q' at k=0 1008 1004 1009 IF ( ts_value(5,sr) /= 0.0 ) THEN 1005 1010 ts_value(22,sr) = ts_value(4,sr)**2 / & -
palm/trunk/SOURCE/header.f90
r189 r197 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! TEST: mg_switch_to_pe0_level = -1!!!!!!!!! 6 7 ! allow 100 spectra levels instead of 10 for consistency with 7 8 ! define_netcdf_header … … 117 118 ELSEIF ( INDEX( initializing_actions, 'set_constant_profiles' ) /= 0 ) THEN 118 119 run_classification = '3D - run without 1D - prerun' 119 ELSEIF ( INDEX( initializing_actions, 'set_1d-model_profiles') /= 0 )THEN120 ELSEIF ( INDEX( initializing_actions, 'set_1d-model_profiles' ) /= 0 ) THEN 120 121 run_classification = '3D - run with 1D - prerun' 122 ELSEIF ( INDEX( initializing_actions, 'by_user' ) /=0 ) THEN 123 run_classification = '3D - run initialized by user' 121 124 ELSE 122 125 PRINT*,'+++ header: unknown action(s): ',initializing_actions … … 184 187 WRITE ( io, 136 ) nxr_mg(1)-nxl_mg(1)+1, nyn_mg(1)-nys_mg(1)+1, & 185 188 nzt_mg(1) 186 ELSE 189 ELSEIF ( mg_switch_to_pe0_level /= -1 ) THEN 187 190 WRITE ( io, 137 ) mg_switch_to_pe0_level, & 188 191 mg_loc_ind(2,0)-mg_loc_ind(1,0)+1, & -
palm/trunk/SOURCE/init_pegrid.f90
r181 r197 5 5 ! ----------------- 6 6 ! ATTENTION: nnz_x undefined problem still has to be solved!!!!!!!! 7 ! multigrid levels are limited by subdomains if mg_switch_to_pe0_level = -1, 7 8 ! nz is used instead nnz for calculating mg-levels 8 9 ! Collect on PE0 horizontal index bounds from all other PEs, … … 719 720 !-- Find out, if the total domain allows more levels. These additional 720 721 !-- levels are processed on PE0 only. 721 IF ( numprocs > 1 ) THEN722 IF ( numprocs > 1 .AND. mg_switch_to_pe0_level /= -1 ) THEN 722 723 IF ( mg_levels_z > MIN( mg_levels_x, mg_levels_y ) ) THEN 723 724 mg_switch_to_pe0_level_l = maximum_grid_level -
palm/trunk/SOURCE/modules.f90
r189 r197 788 788 'vmax ', 'wmax ', 'div_new', 'div_old', 'z_i_wpt', 'z_i_pt ', & 789 789 'w* ', 'w"pt"0 ', 'w"pt" ', 'wpt ', 'pt(0) ', 'pt(zp) ', & 790 ' splptx ', 'splpty ', 'splptz', 'mo_L ', &790 'w"u"0 ', 'w"v"0 ', 'w"q"0 ', 'mo_L ', & 791 791 ( 'unknown', i9 = 1, 78) /) 792 792 … … 795 795 'm/s ', 'm/s ', 's-1 ', 's-1 ', 'm ', 'm ', & 796 796 'm/s ', 'K m/s ', 'K m/s ', 'k m/s ', 'K ', 'K ', & 797 ' % ', '% ', '%', 'm ', &797 'm2/s2 ', 'm2/s2 ', 'kg m/s ', 'm ', & 798 798 ( 'unknown', i9 = 1, 78 ) /) 799 799 -
palm/trunk/SOURCE/palm.f90
r164 r197 66 66 INTEGER :: i, run_description_header_i(80) 67 67 68 version = 'PALM 3. 4a'68 version = 'PALM 3.5' 69 69 70 70 #if defined( __parallel ) -
palm/trunk/SOURCE/parin.f90
r153 r197 8 8 ! +inflow_damping_height, inflow_damping_width, recycling_width, 9 9 ! turbulent_inflow in inipar 10 ! -skip_time_dosp in d3par, 10 11 ! Allocation of hom_sum moved from init_3d_model to here, 11 12 ! npex, npey moved from inipar to d3par, setting of myid_char_14 removed, … … 109 110 surface_heatflux, surface_pressure, surface_scalarflux, & 110 111 surface_waterflux, s_surface, s_surface_initial_change, & 111 s_vertical_gradient, s_vertical_gradient_level, t op_heatflux, &112 top _momentumflux_u, top_momentumflux_v, top_salinityflux, &113 t imestep_scheme, topography, turbulent_inflow, ug_surface, &112 s_vertical_gradient, s_vertical_gradient_level, timestep_scheme, 113 topography, top_heatflux, top_momentumflux_u, top_momentumflux_v, & 114 top_salinityflux, turbulent_inflow, ug_surface, & 114 115 ug_vertical_gradient, ug_vertical_gradient_level, ups_limit_e, & 115 116 ups_limit_pt, ups_limit_u, ups_limit_v, ups_limit_w, & … … 143 144 section_yz, skip_time_data_output, & 144 145 skip_time_data_output_av, skip_time_dopr, & 145 skip_time_do sp, skip_time_do2d_xy, skip_time_do2d_xz, &146 skip_time_do2d_xy, skip_time_do2d_xz, & 146 147 skip_time_do2d_yz, skip_time_do3d, & 147 148 termination_time_needed, use_prior_plot1d_parameters, &
Note: See TracChangeset
for help on using the changeset viewer.