268 |
eg. $\tt OB\_Jnorth(3)=-1$ means that the point $\tt (3,Ny)$ |
eg. $\tt OB\_Jnorth(3)=-1$ means that the point $\tt (3,Ny)$ |
269 |
is a northern OB. |
is a northern OB. |
270 |
|
|
271 |
|
\noindent\textbf{Simple examples:} For a model grid with $ N_{x}\times |
272 |
|
N_{y} = 120\times144$ horizontal grid points with four open boundaries |
273 |
|
along the four egdes of the domain, the simplest way of specifying the |
274 |
|
boundary points in \code{data.obcs} is: |
275 |
|
\begin{verbatim} |
276 |
|
OB_Ieast = 144*-1, |
277 |
|
# or OB_Ieast = 144*120, |
278 |
|
OB_Iwest = 144*1, |
279 |
|
OB_Jnorth = 120*-1, |
280 |
|
# or OB_Jnorth = 120*144, |
281 |
|
OB_Jsouth = 120*1, |
282 |
|
\end{verbatim} |
283 |
|
If only the first $50$ grid points of the southern boundary are |
284 |
|
boundary points: |
285 |
|
\begin{verbatim} |
286 |
|
OB_Jsouth(1:50) = 50*1, |
287 |
|
\end{verbatim} |
288 |
|
|
289 |
\noindent |
\noindent |
290 |
\textsf{Add special comments for case \#define NONLIN\_FRSURF, |
\textsf{Add special comments for case \#define NONLIN\_FRSURF, |
291 |
see obcs\_ini\_fixed.F} |
see obcs\_ini\_fixed.F} |