1 |
Example: "Flow over a bump with Open Boundaries and passive tracers" |
2 |
==================================================================== |
3 |
|
4 |
default paths are (as used in testreport): |
5 |
set build_dir = ${cwd}/build |
6 |
set exe = ${cwd}/build |
7 |
set ROOT = ${cwd}/../../ |
8 |
|
9 |
Configure and compile the code: |
10 |
mkdir ${build_dir} |
11 |
cd ${build_dir} |
12 |
${ROOT}/tools/genmake2 -mods=${cwd}/code |
13 |
make depend |
14 |
make |
15 |
|
16 |
To run: |
17 |
mkdir ${exe_dir} |
18 |
cd ${exe_dir} |
19 |
cp ${cwd}/input/* . |
20 |
${build_dir}/mitgcmuv |
21 |
|
22 |
There is comparison output in the directory: |
23 |
..${cwd}/results |
24 |
|
25 |
Comments: |
26 |
The input data is real*8. |
27 |
|
28 |
This experiment is a channel with topography and four open |
29 |
boundaries. Salinity is not dynamically active in this experiment |
30 |
(linear equation of state with sBeta=0). Different kinds of open |
31 |
boundary values are used: zonal (x-)velocity U is prescribed at all |
32 |
open boundaries with values that are read from data files (specified |
33 |
in data.obcs); meridional (y-)velocity V is set to zero on all |
34 |
boundaries, and temperature to tRef(z), both in obcs_calc.F, this is |
35 |
the default behavior; at the western boundary, salinity values are |
36 |
used for salinity and one passive tracer in the same way. Salinity is |
37 |
set to sLev at all other boundaries, while a (nearly) homogeneous |
38 |
v.Neumann condition is applied to the passive tracer (the latter is |
39 |
the default in obcs_calc.F). Open boundary parameters are set in |
40 |
data.obcs. |