Boundary conditons for the psi-equation


    REALTYPE function  psi_bc(bc,type,zi,ki,z0,u_tau)

Computes prescribed and flux boundary conditions for the transport equation (166). The formal parameter bc determines whether Dirchlet or Neumann-type boundary conditions are computed. Depending on the physical properties of the boundary-layer, the parameter type relates either to a visous, a logarithmic, or an injection-type boundary-layer. In the latter case, the flux of TKE caused by breaking surface waves has to be specified. Presently, there is only one possibility to do so implemented in GOTM. It is described in section 4.7.47. All parameters that determine the boundary layer have to be set in gotmturb.nml.

Note that in this section, for brevity, $ z$ denotes the distance from the wall (or the surface), and not the standard coordinate of the same name used in GOTM.

Viscous boundary-layers

This type is not implemented yet in GOTM.

Logarithmic boundary-layers

The Dirichlet (prescribed) boundary condition follows from (165) as

$\displaystyle \psi = (c_\mu^0)^p \kappa^n k^m \left( z+z_0 \right)^n \; , \quad$ (138)

where we used the law-of-the-wall relation $ l=\kappa(z+z_0)$.

Neumann (flux) boundary condition can be written as

$\displaystyle F_\psi = - \dfrac{\nu_t}{\sigma_\psi} \dfrac{\partial {\psi}}{\pa...
...dfrac{ n (c_\mu^0)^{p+1} \kappa^{n+1}}{\sigma_\psi} k^{m+\frac{1}{2}} (z+z_0)^n$ (139)

by inserting $ l=\kappa(z+z_0)$ into the expression for the diffusivity in (44). Note, that in (138) and (139), we use ki, the value of $ k$ at the current time step, to compute the boundary conditions. By means of (101), it would have been also possible to express the boundary conditions in terms of the friction velocity, $ u_*$. This, however, causes numerical difficulties in case of a stress-free surface boundary-layer as for example in the pressure-driven open channel flow.

Shear-free boundary-layers with injection of TKE

The Dirichlet (prescribed) boundary condition follows simply from the power-law (108) inserted in (165). This yields

$\displaystyle \psi= (c_\mu^0)^p K^m L^n (z+z_0)^{m \alpha + n} \quad .$ (140)

The Neumann (flux) boundary condition is

$\displaystyle F_\psi = - \dfrac{\nu_t}{\sigma_\psi} \dfrac{\partial {\psi}}{\pa...
... \right) K^{m+\frac{1}{2}} L^{n+1} (z+z_0)^{(m+\frac{1}{2})\alpha+n} \; , \quad$ (141)


    integer, intent(in)                 :: bc,type
    REALTYPE, intent(in)                :: zi,ki,z0,u_tau
    Original author(s): Lars Umlauf

Karsten Bolding 2012-01-24