COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
test
python
utest-python-runscript.py
Go to the documentation of this file.
1
from
coolfluid
import
*
2
# This test runs another python script using the ScriptEngine
3
4
root = Core.root()
5
engine = root.create_component(
'PythonEngine'
,
'cf3.python.ScriptEngine'
);
6
7
script_file = open(sys.argv[1])
8
engine.execute_script(script_file.read())
9
10
Generated on Sun Jun 14 2015 21:20:17 for COOLFluiD by
1.8.9.1
Send comments to:
COOLFluiD Web Admin