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