1 |
Example: "Internal Wave Forced by Open Boundary" |
Example: "Internal Wave Forced by Open Boundary" |
2 |
================================================ |
================================================ |
3 |
|
|
4 |
This uses a simply EOS (rho = - rho_o alpha T') and treats |
This uses a simply EOS (rho = - rho_o alpha T') |
5 |
salt as a passive tracer. |
and treats salt as a passive tracer. |
|
|
|
|
To apply the changes to the default configuration of MITgcmUV: |
|
|
cp ../verification/internal_wave/code/SIZE.h ../model/inc/ |
|
|
cp ../verification/internal_wavinternal_wave/code/CPP_OPTIONS.h ../model/inc/ |
|
|
cp ../verification/internal_wave/code/set_obcs.F ../model/src/ |
|
6 |
|
|
7 |
Configure and compile the code: |
Configure and compile the code: |
8 |
cd bin |
cd build |
9 |
../tools/genmake -makefile |
../../../tools/genmake2 -mods ../code [-of my_platform_optionFile] |
10 |
make depend |
make depend |
11 |
make |
make |
12 |
|
|
13 |
To run: |
To run: |
14 |
cd ../exe |
cd run |
15 |
cp ../verification/internal_wave/input/* . |
ln -s ../input/* . |
16 |
./mitgcmuv |
ln -s ../build/mitgcmuv . |
17 |
|
./mitgcmuv > output.txt |
18 |
|
|
19 |
There is comparison output in: |
There is comparison output in: |
20 |
../verification/internal_wave/results |
results/output.txt |
21 |
|
|
22 |
Comments: |
Comments: |
23 |
The input data is real*8. |
The input data is real*8 and generated using the MATLAB script |
24 |
|
input/gendata.m |
25 |
|
|