1 |
adcroft |
1.1 |
Example: "Internal Wave Forced by Open Boundary" |
2 |
|
|
================================================ |
3 |
|
|
|
4 |
jmc |
1.2 |
This uses a simply EOS (rho = - rho_o alpha T') |
5 |
jmc |
1.3 |
and treats salt as a passive tracer. |
6 |
adcroft |
1.1 |
|
7 |
|
|
Configure and compile the code: |
8 |
jmc |
1.2 |
cd build |
9 |
|
|
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
10 |
adcroft |
1.1 |
make depend |
11 |
|
|
make |
12 |
jmc |
1.3 |
cd .. |
13 |
adcroft |
1.1 |
|
14 |
|
|
To run: |
15 |
jmc |
1.2 |
cd run |
16 |
|
|
ln -s ../input/* . |
17 |
|
|
ln -s ../build/mitgcmuv . |
18 |
|
|
./mitgcmuv > output.txt |
19 |
jmc |
1.3 |
cd .. |
20 |
adcroft |
1.1 |
|
21 |
|
|
There is comparison output in: |
22 |
jmc |
1.2 |
results/output.txt |
23 |
adcroft |
1.1 |
|
24 |
|
|
Comments: |
25 |
jmc |
1.2 |
The input data is real*8 and generated using the MATLAB script |
26 |
|
|
input/gendata.m |