Vertical S-coordinate: Difference between revisions
No edit summary (change visibility) |
Added s-coordinate figure (change visibility) |
||
Line 34: | Line 34: | ||
written by Hernan Arango which is available from our web site. | written by Hernan Arango which is available from our web site. | ||
[ | [[Image:Scoord.png|vertical s-coordinate]] | ||
Figure: The <math>s\!\,</math>-surfaces for the North Atlantic with (a) <math>\theta = 0.0001\!\,</math> and <math>b = 0\!\,</math>, (b) <math>\theta = 8\!\,</math> and <math>b = 0\!\,</math>, (c) <math>\theta = 8\!\,</math> and <math>b = 1\!\,</math>. (d) The actual values used in this domain were | |||
<math>\theta = 5\!\,</math> and <math>b = 0.4\!\,</math>. | <math>\theta = 5\!\,</math> and <math>b = 0.4\!\,</math>. | ||
We find it convenient to define: | We find it convenient to define: |
Revision as of 21:39, 26 October 2007
Following Song and Haidvogel (1994), the vertical coordinate has been chosen to be:
where is either the minimum depth or a shallower depth above which we wish to have more resolution. is defined as:
where and are surface and bottom control parameters. Their ranges are and , respectively. The first equation leads to for and for .
Some features of this coordinate system:
- It is a generalization of the -coordinate system. Letting go to zero and using L'Hopital's rule, we get:
which is the -coordinate.
- It has a linear dependence on and is infinitely differentiable in .
- The larger the value of , the more resolution is kept above .
- For , the resolution all goes to the surface as is increased.
- For , the resolution goes to both the surface and the bottom equally as is increased.
- For there is a subtle mismatch in the discretization of the model equations, for instance in the horizontal viscosity term. We recommend that you stick with "reasonable" values of , say .
- Some problems turn out to be sensitive to the value of used.
The following figure shows the -surfaces for several values of and for one of our domains. It was produced by a Matlab tool written by Hernan Arango which is available from our web site.
Figure: The -surfaces for the North Atlantic with (a) and , (b) and , (c) and . (d) The actual values used in this domain were and .
We find it convenient to define:
The derivative of can be computed analytically:
However, we choose to compute discretely as since this leads to the vertical sum of being exactly the total water depth .