2013年10月9日水曜日

Successfully compiled FABM!

With the developer's version of GOTM (GOTM/gotm-git), I was able to follow all the steps including the simulation of 0d test case: http://sourceforge.net/apps/mediawiki/fabm/index.php?title=Downloading_and_compiling_FABM_(Windows,_Linux)

However, I get errors when I try to do the same with the stable version of GOTM (i.e. gotm-4.0.0). Perhaps, FABM only couples with the developers version?

Anyways, at the end of the step, I get the following files in the "testcases/0d" directory:

-rw-r--r-- 1 hakase users  723 Oct  4 14:25 run.nml
-rw-r--r-- 1 hakase users  524 Oct  4 14:25 plotresults.py
-rw-r--r-- 1 hakase users  233 Oct  4 14:25 Makefile
-rw-r--r-- 1 hakase users   65 Oct  4 14:25 env.dat
drwxr-sr-x 5 hakase users 4.0K Oct  7 15:53 ..
-rwxr-xr-x 1 hakase users  356 Oct  9 10:45 doit
-rwxr-xr-x 1 hakase users 318K Oct  9 10:45 fabm0d
lrwxrwxrwx 1 hakase users   30 Oct  9 10:47 fabm.nml -> ../fabm-gotm-multiple-npzd.nml
-rw-r--r-- 1 hakase users  22M Oct  9 10:47 output.dat
-rw-r--r-- 1 hakase users 2.5K Oct  9 10:47 log

By default, the output is produced in .dat format. Plotting of this output data can be done simply executing:

python plotresults.py

Then,

swr.png

is produced, which looks like:
swr.png
Pretty cool! Now I can create my own testcases.

0 件のコメント:

コメントを投稿