1 |
adcroft |
1.1 |
Example: "Relaxation of a Front in a Channel" |
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/front_relax/code/SIZE.h ../model/inc/ |
9 |
|
|
cp ../verification/front_relax/code/CPP_OPTIONS.h ../model/inc/ |
10 |
|
|
cp ../verification/front_relax/code/CPP_EEOPTIONS.h ../eesupp/inc/ |
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/front_relax/input/* . |
21 |
|
|
./mitgcmuv |
22 |
|
|
|
23 |
|
|
There is comparison output in two directories: |
24 |
|
|
../verification/front_relax/results |
25 |
|
|
../verification/front_relax/results.oldcode |
26 |
|
|
|
27 |
|
|
Comments: |
28 |
|
|
The input data is real*8. |