Difference between revisions of "Minimal Serpent Coupling Script"
(→Setup) |
(→Setup) |
||
Line 8: | Line 8: | ||
#Extract the MSCS zip to a suitable folder preserving the internal directory structure of the package. | #Extract the MSCS zip to a suitable folder preserving the internal directory structure of the package. | ||
− | #Replace the absolute path to the Serpent executable on line 16 of MSCS.py. The test case is now ready to run. | + | #Replace the absolute path to the Serpent executable on line 16 of MSCS.py. |
+ | #The test case is now ready to run. | ||
== Running == | == Running == |
Revision as of 12:53, 9 May 2016
The Minimal Serpent Coupling Script (MSCS) is a short (< 300 lines with comments) Python program intended to give a minimal working example of a wrapper program that can communicate with Serpent in the coupled calculation mode. MSCS provides a working example of externally coupled multi-physics simulations with Serpent and may be a good starting point for the users that are interested in running such simulations with Serpent.
Contents
Description
Setup
MSCS has been tested with Python 2.7.6 and Serpent 2.1.26.
- Extract the MSCS zip to a suitable folder preserving the internal directory structure of the package.
- Replace the absolute path to the Serpent executable on line 16 of MSCS.py.
- The test case is now ready to run.
Running
Note: Before running the MSCS you should familiarize yourself with finding and killing background processes in your operating system. Since MSCS runs Serpent as a background process, killing MSCS will not kill the Serpent process automatically.
You should