1 |
Example: "Relaxation of a Front in a Channel" |
Example: "Relaxation of a Front in a Channel" |
2 |
============================================= |
============================================= |
3 |
|
|
4 |
This uses a simply EOS (rho = - rho_o alpha T') and treats |
This experiment uses a simply EOS (rho = - rho_o alpha T') and treats |
5 |
salt as a passive tracer. |
salt as a passive tracer. |
|
|
|
|
To apply the changes to the default configuration of MITgcmUV: |
|
|
cp ../verification/front_relax/code/SIZE.h ../model/inc/ |
|
|
cp ../verification/front_relax/code/CPP_OPTIONS.h ../model/inc/ |
|
|
cp ../verification/front_relax/code/CPP_EEOPTIONS.h ../eesupp/inc/ |
|
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 |
|
cd .. |
13 |
|
|
14 |
To run: |
To run: |
15 |
cd ../exe |
cd run |
16 |
cp ../verification/front_relax/input/* . |
ln -s ../input/* . |
17 |
./mitgcmuv |
ln -s ../build/mitgcmuv . |
18 |
|
./mitgcmuv > output.txt |
19 |
|
cd .. |
20 |
|
|
21 |
There is comparison output in two directories: |
There is comparison output in the directory: |
22 |
../verification/front_relax/results |
results/output.txt |
|
../verification/front_relax/results.oldcode |
|
23 |
|
|
24 |
Comments: |
Comments: |
25 |
The input data is real*8. |
The input data is real*8. |