| 73 | ==== Radiation boundary condition I ==== |
| 74 | |
| 75 | The phase velocity c,,ψ,, (also called convective velocity) is calculated after Orlanski (1976): |
| 76 | {{{ |
| 77 | #!Latex |
| 78 | c_{\psi} = - \frac{\partial_t \psi}{\partial_n \psi} \; . \quad (6) |
| 79 | }}} |
| 80 | |
| 81 | ''Left-right flow'' |
| 82 | |
| 83 | If the outflow is defined at the right boundary (i = nx + 1, see Fig. 1), the phase velocity for each velocity components is calculated by |
| 84 | {{{ |
| 85 | #!Latex |
| 86 | c_{\psi} = - c_{max} \frac{\psi^t_{nx} - \psi^{t - \Delta t}_{nx} }{ \psi^{t-\Delta t}_{nx} - \psi^{t - \Delta t}_{nx-1} } \; , \quad (7) |
| 87 | }}} |
| 88 | with the maximum phase velocity |
| 89 | {{{ |
| 90 | #!Latex |
| 91 | c_{max} = \frac{\Delta x}{\Delta t} \; . \quad (8) |
| 92 | }}} |
| 93 | The phase velocity has to be in the range of 0 ≤ c,,ψ,, < c,,max,, because negative values propagate waves back to the inner domain. c,,max,, represents the maximum phase velocity that ensures numerical stability (Courant-Friedrichs-Lewy condition). |
| 94 | Both conditions are not ensured by (7), hence c,,ψ,, is set to zero for negative values and to c,,max,, for larger values than c,,max,,. |
| 95 | The velocity components ψ at the outflow boundary are then calculated by |
| 96 | {{{ |
| 97 | #!Latex |
| 98 | \psi^{t+\Delta t}_{nx+1} = \psi^{t}_{nx+1} - \frac{\overline{c}_{\psi}}{c_{max}} (\psi^{t}_{nx+1} - \psi^{t}_{nx}) \; , \quad (9) |
| 99 | }}} |
| 100 | with the phase velocity averaged parallel to the outflow: |
| 101 | {{{ |
| 102 | #!Latex |
| 103 | \overline{c}_{\psi} = \frac{1}{ny+1} \sum_{j=0}^{ny} c_{\psi, j} \; . \quad (10) |
| 104 | }}} |
| 105 | In Orlanskis work, the phase velocity c,,ψ,, was not averaged along the outflow, which is sufficient for simplified flows as shown by Yoshida and Watanabe (2010). |
| 106 | However, we found that in simulations of shear driven convective boundary layer with a strong wind component along the outflow, the approach of Orlanski (1976) was unstable. |
| 107 | Raymond and Kuo (1984) argued that locally calculated phase velocities leads to a large variation of phase speeds which can lead to numerical instabilities. |
| 108 | Other works used a constant phase velocity or an average over the whole outflow area (see e.g. Fröhlich 2006, p.216) instead of the approach of Orlanski (1976). |
| 109 | With this in mind, we tested the average phase velocity calculated from (10), and the solution at the outflow becomes stable. |
| 110 | We did not additionally average the phase velocity along the vertical direction, because the background wind usually varies with height. |
| 111 | |
| 112 | For the other flow directions, the indices of equations (7)-(10) have to be replaced as follows: |
| 113 | {{{ |
| 114 | #!Latex |
| 115 | \begin{tabular}{|c |c |c |c| c|} |
| 116 | \hline |
| 117 | & Right-left flow &\multicolumn{2}{c|}{ South-north flow} & North-south flow \\ |
| 118 | \hline |
| 119 | & $(nx + 1) \rightarrow 0$ & $(nx + 1) \rightarrow -1$ \multirow{ }{ }& \multirow{ }{ } & \\ |
| 120 | $\psi = u$ & $nx \rightarrow 1$ & $nx \rightarrow 0$ & &\\ |
| 121 | & $(nx - 1) \rightarrow 2$ & $(nx - 1) \rightarrow 1$ & & \\ |
| 122 | \cline{1-3} |
| 123 | & $(nx + 1) \rightarrow -1$ & $(nx + 1) \rightarrow 0$ & & $i \rightarrow j$ \\ |
| 124 | $\psi = v$ & $nx \rightarrow 0$ & $nx \rightarrow 1$ & $i \rightarrow j$ & \\ |
| 125 | & $(nx - 1) \rightarrow 1$ & $(nx - 1) \rightarrow 2$ & & $nx \rightarrow ny$ \\ |
| 126 | \cline{1-3} |
| 127 | & $(nx + 1) \rightarrow -1$ & $(nx + 1) \rightarrow -1$ & & \\ |
| 128 | $\psi = w$ & $nx \rightarrow 0$ & $nx \rightarrow 0$ & & \\ |
| 129 | & $(nx - 1) \rightarrow 1$ & $(nx - 1) \rightarrow 1$ & & \\ |
| 130 | \hline |
| 131 | \end{tabular} |
| 132 | }}} |
| 133 | |
| 134 | ==== Radiation boundary condition II ==== |
| 135 | |
| 136 | This is a simplified version of radiation boundary condition I, where just c,,ψ,, = c,,max,, is used in (5). This leads to a more simple radiation boundary condition (here e.g. for a left-right flow along positive x-direction): |
| 137 | {{{ |
| 138 | #!Latex |
| 139 | \psi^{t + \Delta t}(k,j,nx+1) = \psi^{t}(k,j,nx) \; , \quad (11) |
| 140 | }}} |
| 141 | with ψ = {u,v,w}. |
| 142 | This formulation of the radiation boundary condtions saves computational time compared to the formulation of equations (7) to (10). |
| 143 | Although, Orlanski (1976) suggested that this approach of radiation boundary condition leads to reflection for waves smaller than c,,max,, which may occur in complex geophysical flows, our simulations of a convective boundary layer with background wind have been stable so far. |
| 144 | |
| 145 | === Mass flux correction === |