• The added line is THIS COLOR.
  • The deleted line is THIS COLOR.
* Installation of KAPSEL binary [#h03d9749]

** STEP 1: Download and install "Gourmet" [#hdf41283]
- "Gourmet" is a graphic platform developed by OCTA project. The entire OCTA package is not necessarily. Only Gourmet is required to use KAPSEL.
** STEP 1: Download "KAPSEL" [#ja8071fa]

- Visit [[OCTA-BBS:http://octa001.muse.aist.go.jp/phpBB3/]] and Login. Registration is required if you haven't yet complete it.

- For Linux
-- Follow "DOWNLOAD" -> "OCTA2007" -> "GOURMET 4.1.0 (on OCTA2007) for Windows and Linux".
-- download "gourmet_2007_linux.tar.gz"

    > tar zxvf gourmet_2007_linux.tar.gz
    > su
    > mkdir /usr/local/OCTA2007
    > mv GOURMET_2007 /usr/local/OCTA2007/.

- For Windows
-- Follow "DOWNLOAD" -> "OCTA2007" -> "Platform GOURMET2007 in OCTA2007 (for Windows)".
-- download "GOURMET2007.exe" and click it.

** STEP 2: Download "KAPSEL" [#ja8071fa]

- Visit [[KAPSEL-BBS:http://www.cheme.kyoto-u.ac.jp/1koza/kapsel/phpBB3/]] and Login. Registration is required if you haven't yet complete it.

- Follow "DOWNLOAD" -> "KAPSEL-2" -> "KAPSEL-2 binary executables" to download appropriate binary executables for your system.
-- "kapsel2_linux.tar.gz" (Linux on x86-64 machine) 
-- "kapsel2_win.zip" (32-bit Windows Vista or XP) .

** STEP 3: Test run [#l8a9ee25]
** STEP 2: Test run [#l8a9ee25]

- for Linux

    > tar zxvf kapsel2_linux.tar.gz
    > ./kapsel -Icolloid_1.udf -Ooutput.udf -Ddefine.udf -Rrestart.udf

- for Windows
-- unzip "kapsel2_win.zip"
-- open command prompt

    > kapsel -Icolloid_1.udf -Ooutput.udf -Ddefine.udf -Rrestart.udf

- If you see the output as shown below, KAPSEL has been successfully installed.

    #using colloid_1.udf as input
    #using output.udf as output
    #using define.udf as definition
    #using restart.udf as restart
    #
    # Electrolyte eq. selected.
    #
    ...

- If the program does not properly run or abnormally terminated, build KAPSEL from the source codes. ([[see this>Install]])

** STEP 3: Download and install "Gourmet" [#hdf41283]
- "Gourmet" is a graphic platform developed by OCTA project. The complete OCTA package is not necessary, but Gourmet is needed to use KAPSEL.

- Visit [[OCTA-BBS:http://octa001.muse.aist.go.jp/phpBB3/]] and Login. Registration is required if you haven't yet complete it.

- For Linux
-- Follow "DOWNLOAD" -> "OCTA2007" -> "GOURMET 4.1.0 (on OCTA2007) for Windows and Linux".
-- download "gourmet_2007_linux.tar.gz"

    > tar zxvf gourmet_2007_linux.tar.gz
    > su
    > mkdir /usr/local/OCTA2007
    > mv GOURMET_2007 /usr/local/OCTA2007/.

- For Windows
-- Follow "DOWNLOAD" -> "OCTA2007" -> "Platform GOURMET2007 in OCTA2007 (for Windows)".
-- download "GOURMET2007.exe" and click it.


** STEP 4: Visualize the result [#de6c8fcf]

- The above test run takes about an hour. Save &ref(output.udf); if you cannot wait till it.

- Gnuplot on Gourmet
-- Save &ref(plot.py);.
-- Start "Gourmet"
-- "File" -> "Open" -> Open "output.udf".
-- Move down to "Python" panel, and click "Load"
-- Open "plot.py", and click "Run"
-- Move up "View" box, and check "Table"
-- Move down-left and select "Graph Sheet[]".
-- Move down to "Plot" panel, and type "plot "plot.dat" using 2:6 title 'vx0' with lines" in the empty box.
-- Move down to "Plot" panel, and type "plot "plot.dat" using 2:6 title 'vx0' with lines" in the command box.
-- Click "Plot", and you will see the time evoluation of Vx.

- Animation on Gourmet
-- Save &ref(particleshow.py); and &ref(show_field.py);.
-- Start "Gourmet"
-- "File" -> "Open" -> Open "output.udf".
-- Move down to "Python" panel, and click "Load"
-- Open "particleshow.py" (particle only) or "show_field.py" (particle with flow field, very slow!!).
-- Click "Run"
-- A new window will open, and click the playback button ">" there.

- Animation on AVS/Express (optional)
-- One can enjoy much advanced data-visualization with AVS/Express. A sample visualization network &ref(avs_charge.v); is attached.