90 | | \end{align} |
91 | | }}} |
92 | | Vertical integration of the above equation over ''z'' from ''z'',,0,, to ''z'',,MO,, then yields the surface momentum fluxes |
93 | | {{{ |
94 | | #!Latex |
95 | | \begin{equation*} |
96 | | \overline{u^{\prime\prime} w^{\prime\prime}}_0,\;\; \overline{v^{\prime\prime} w^{\prime\prime}}_0 |
97 | | \end{equation*} |
| 86 | \end{align*} |
| 87 | }}} |
| 88 | Vertical integration over ''z'' from ''z'',,0,, to ''z'',,MO,, of the equation above then yields the surface momentum fluxes |
| 89 | {{{ |
| 90 | #!Latex |
| 91 | $\overline{u^{\prime\prime} w^{\prime\prime}}_0,\;\; \overline{v^{\prime\prime} w^{\prime\prime}}_0$ |
129 | | ==== Method 1: circular ==== |
130 | | The traditional implementation in PALM ({{{most_method = 'circular'}}}) requires the use of data from the previous time step. The following steps are thus carried out in sequential order. First of all, ''θ'',,*,, and ''q'',,*,, are calculated by integration using the value of ''z'',,MO,,/L from the previous time step. Second, the new value of ''z'',,MO,,/L is derived using the new values of ''θ'',,*,, and ''q'',,*,, but using ''u'',,*,, from the previous time step. Then, the new values of ''u'',,*,,, and subsequently the momentum fluxes are calculated by integration, respectively. At last, the new surface fluxes are derived from ''θ'',,*,, and ''q'',,*,,, and ''u'',,*,,. In the special case, when surface fluxes are prescribed instead of surface temperature and humidity, the first and last steps are omitted and ''θ'',,*,, and ''q'',,*,, are directly calculated from ''u'',,*,, and the surface fluxes. |
| 122 | === Method 1: circular === |
| 123 | The traditional implementation in PALM ({{{most_method = 'circular'}}}) requires the use of data from the previous time step. The following steps are thus carried out in sequential order. First of all, ''θ'',,*,, and ''q'',,*,, are calculated by integration of the corresponding vertical derivation functions mentioned above using the value of ''z'',,MO,,/L from the previous time step. Second, the new value of ''z'',,MO,,/L is derived from the equation for ''L'' using the new values of ''θ'',,*,, and ''q'',,*,, but using ''u'',,*,, from the previous time step. Then, the new values of ''u'',,*,,, and subsequently the momentum fluxes are calculated by integration, respectively. At last, the above equations for the scaling parameters are employed to calculate the new surface fluxes by using ''θ'',,*,, and ''q'',,*,,, and ''u'',,*,,. In the special case, when surface fluxes are prescribed instead of surface temperature and humidity, the first and last steps are omitted and ''θ'',,*,, and ''q'',,*,, are directly calculated from ''u'',,*,, and the surface fluxes. |
202 | | If {{{most_method = 'lookup'}}} is used, a table of ''Ri'',,b,, against ''z'',,MO,,/''L'' is created at model start, based on the prescribed values of the roughness lengths. During the model run, ''Ri,,b,,'' is calculated and the respectively value of ''z'',,MO,,/''L'' is retrieved from the lookup table and using linear interpolation between the discrete values in the table. In order to speed up this method, the value of ''Ri,,b,,'' from the previous time step is used as initial value. Due to the fact that the lookup table is created at model start, it is essential that the roughness lengths are 1) homogeneous on each processor (limiting this method to homogeneous surface configurations) and should not vary during the simulation (should thus not be used when using dynamic roughness length over water surfaces). |
203 | | |
204 | | For more details, see [source:palm/trunk/SOURCE/surface_layer_fluxes.f90 surface_layer_fluxes.f90]. |
| 195 | If {{{most_method = 'lookup'}}} is used, a table of ''Ri'',,b,, against ''z'',,MO,,/''L'' is created at model start, based on the prescribed values of the roughness lengths. During the model run, ''Ri,,b,,'' is calculated and the respectively value of ''z'',,MO,,/''L'' is retrieved from the lookup table and using linear interpolation between the discrete values in the table. In order to speed up this method, the value of ''Ri,,b,,'' from the previous time step is used as initial value. Due to the fact that the lookup table is created at model start, it is essential that the roughness lengths are 1) homogeneous on each processor (limiting this method to homogeneous surface configurations) and should not vary during the simulation (should thus not be used when using dynamic roughness length over water surfaces). For more details, see [source:palm/trunk/SOURCE/surface_layer_fluxes.f90 surface_layer_fluxes.f90]. |
| 196 | |
| 197 | Furthermore, the flat bottom of the model can be replaced by a Cartesian topography (see Sect. [wiki:doc/tec/bc#Topography Topography]). |
| 198 | |
| 199 | By default, lateral boundary conditions are set to be cyclic in both directions. Alternatively, it is possible to opt for non-cyclic conditions in one direction, i.e., a laminar or turbulent inflow boundary (see Sect. [wiki:doc/tec/bc#Laminarandturbulentinflowboundaryconditions Laminar and turbulent inflow boundary conditions]) and an open outflow boundary on the opposite site (see Sect. [wiki:doc/tec/bc#Openoutflowboundaryconditions Open outflow boundary conditions]). The boundary conditions for the other direction have to remain cyclic. |
| 200 | |
| 201 | In order to prevent gravity waves from being reflected at the top boundary, a sponge layer (Rayleigh damping) can be applied to all prognostic variables in the upper part of the model domain ([#klemp1978 Klemp and Lilly, 1978]). Such a sponge layer should be applied only within the free atmosphere, where no turbulence is present. |
| 202 | |
| 203 | The model is initialized by horizontally homogeneous vertical profiles of potential temperature, specific humidity (or a passive scalar), and |
| 204 | the horizontal wind velocities. The latter can be also provided from a 1-D precursor run (see Sect.[wiki:doc/tec/1dmodel 1-D model for precursor runs]). Uniformly distributed random perturbations with a user-defined amplitude can be imposed to the fields of the horizontal velocities components to initiate turbulence. |
| 205 | |
| 206 | == Laminar and turbulent inflow boundary conditions == |
| 207 | |
| 208 | In case |
| 209 | |
| 210 | == Turbulence recycling == |
| 211 | |
| 212 | == Open outflow boundary conditions == |
| 213 | |
| 214 | == Topography == |
207 | | * [=#holtslag] '''Holtslag AAM, Bruin HARD.''' 1988. Applied modelling of the night-time surface energy balance over land. J. Appl. Meteorol., 27, 689–704. |
208 | | |
209 | | * [=#panofsky] '''Panofsky HA, Dutton JA.''' 1984. Atmospheric Turbulence, Models and Methods for Engineering Applications, John Wiley & Sons, New York. |
210 | | |
211 | | * [=#paulson] '''Paulson CA''' 1970. The mathematical representation of wind speed and temperature profiles in the unstable atmospheric surface layer. J. Appl. Meteorol., 9, 857–861. |
212 | | |
213 | | |
214 | | |
| 217 | * [=#holtslag] '''Holtslag AAM, Bruin HARD.''' 1988. Applied modelling of the night-time surface energy balance over land. J. Appl. Meteorol. 27: 689–704. |
| 218 | |
| 219 | * [=#panofsky] '''Panofsky HA, Dutton JA.''' 1984. Atmospheric Turbulence, Models and Methods for Engineering Applications. John Wiley & Sons. New York. |
| 220 | |
| 221 | * [=#paulson] '''Paulson CA''' 1970. The mathematical representation of wind speed and temperature profiles in the unstable atmospheric surface layer. J. Appl. Meteorol. 9: 857–861. |
| 222 | |
| 223 | |
| 224 | * [=#klemp1978] '''Klemp JB, Lilly DK.''' 1978. Numerical simulation of hydrostatic mountain waves. J. Atmos. Sci. 35: 78–107. |
| 225 | |
| 226 | |
| 227 | |