COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
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 
Send comments to:
COOLFluiD Web Admin