1 |
Example: "Flow over a bump with Open Boundaries" |
Example: "Flow over a bump with Open Boundaries and passive tracers" |
2 |
================================================ |
==================================================================== |
3 |
|
|
4 |
To apply the changes to the default configuration of MITgcmUV: |
default paths are (as used in testreport): |
5 |
cp ../verification/exp4/code/SIZE.h ../bin/ |
set build_dir = ${cwd}/build |
6 |
cp ../verification/exp4/code/CPP_OPTIONS.h ../bin/ |
set exe = ${cwd}/build |
7 |
cp ../verification/exp4/code/CPP_EEOPTIONS.h ../bin/ |
set ROOT = ${cwd}/../../ |
|
cp ../verification/exp4/code/set_obcs.F ../bin/ |
|
8 |
|
|
9 |
Configure and compile the code: |
Configure and compile the code: |
10 |
cd bin |
mkdir ${build_dir} |
11 |
../tools/genmake -makefile |
cd ${build_dir} |
12 |
|
${ROOT}/tools/genmake2 -mods=${cwd}/code |
13 |
make depend |
make depend |
14 |
make |
make |
15 |
|
|
16 |
To run: |
To run: |
17 |
cd ../exe |
mkdir ${exe_dir} |
18 |
cp ../verification/exp4/input/* . |
cd ${exe_dir} |
19 |
./mitgcmuv |
cp ${cwd}/input/* . |
20 |
|
${build_dir}/mitgcmuv |
21 |
|
|
22 |
There is comparison output in the directory: |
There is comparison output in the directory: |
23 |
../verification/exp4/results |
..${cwd}/results |
24 |
|
|
25 |
Comments: |
Comments: |
26 |
The input data is real*8. |
The input data is real*8. |
27 |
|
|
28 |
|
This experiment is a channel with topography and four open |
29 |
See the file doc/OpenBound.html or doc/OpenBound.txt for information |
boundaries. Salinity is not dynamically active in this experiment |
30 |
on open boundaries |
(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. |