next up previous
Next: hset.F Up: The Proudman Oceanographic Laboratory Previous: horizdiffuse.F

Subsections


horizdiffusivity.F


subroutine horizdiffusivity

Description

Calculates the horizontal eddy diffusion (viscosity) coefficient ah at b-points using the formula of Smagorinsky (1963):
\begin{displaymath}
A_H=C \Delta X \Delta Y
\left[ \left( \frac{\partial u}{\pa...
...tial x} + \frac{\partial u}{\partial y}
\right)
\right]^{1/2}
\end{displaymath} (41)

With $C=0.2$.

Subroutine Arguments

i,j,k,ipx,jcg indices
tagu,tagv,tagah tags
dxi,dyi inverse horizontal grid spacing
ahc coefficient
dux,duy,dvx,dvy first derivatives
ix1,ix2,ix3,ix4,ipx zero if either side is land

Local variables

Global variables changed

AH

Logical units

none

Order of Things

  1. calculates gradients
  2. calculates ah

Calls

Exch3DS Exch3DR

Called By

advect_vel

Options - Logical

none

Options - Compiler

none

Known Issues


next up previous
Next: hset.F Up: The Proudman Oceanographic Laboratory Previous: horizdiffuse.F
The AMMP Project 2005-04-20