Boundary conditons for the psi-equation


INTERFACE:

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

Computes prescribed and flux boundary conditions for the transport equation (168). 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.34. 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 (167) as

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

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$ (141)

by inserting $ l=\kappa(z+z_0)$ into the expression for the diffusivity in (46). Note, that in (140) and (141), we use ki, the value of $ k$ at the current time step, to compute the boundary conditions. By means of (103), 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 (110) inserted in (167). This yields

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

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$ (143)


USES:

   IMPLICIT NONE
INPUT PARAMETERS:
   integer, intent(in)                 :: bc,type
   REALTYPE, intent(in)                :: zi,ki,z0,u_tau
REVISION HISTORY:
   Original author(s): Lars Umlauf

Karsten Bolding 2012-12-28