Difference between revisions of "Simulation/Fimmwave-Fimmprop"

From OptoelectronicsWiki
Jump to: navigation, search
(Created page with 'Scripting: There are a few steps that you need to do in order to allow scripting in python of Fimmwave. Please see the manual for step by step instructions. Once you have compl…')
 
Line 6: Line 6:
  
 
1) Open Fimmwave via the desktop shortcut for reasons described in the manual.
 
1) Open Fimmwave via the desktop shortcut for reasons described in the manual.
 +
 
2) Open LionixWG.prj
 
2) Open LionixWG.prj
 +
 
3) Open Python IDLE (or your preferred python compiler)
 
3) Open Python IDLE (or your preferred python compiler)
4) Open LionixPyScriptExampleFDM or LionixPyScriptExampleFMM
+
 
 +
4) Open [[LionixPyScriptExampleFDM.py]] or [[LionixPyScriptExampleFMM.py]]
 +
 
 
5) Modify a output file save location, else the data will simply be saved at the "C:\LionixPyScriptExampleOUTPUTFILE.dat"
 
5) Modify a output file save location, else the data will simply be saved at the "C:\LionixPyScriptExampleOUTPUTFILE.dat"
 +
 
5) Run the script from the python GUI or command line.
 
5) Run the script from the python GUI or command line.
 +
 
6) Once the script is complete the output file can be viewed. It is tab delimited and makes a nice table in excel.
 
6) Once the script is complete the output file can be viewed. It is tab delimited and makes a nice table in excel.
  
 
Have fun!!!
 
Have fun!!!

Revision as of 15:52, 5 March 2010

Scripting:

There are a few steps that you need to do in order to allow scripting in python of Fimmwave. Please see the manual for step by step instructions.

Once you have completed these preliminary steps, please feel free to take a look at this already constructed python scripting example. If you write a new and interesting example, with additional functionality please post the commented code.

1) Open Fimmwave via the desktop shortcut for reasons described in the manual.

2) Open LionixWG.prj

3) Open Python IDLE (or your preferred python compiler)

4) Open LionixPyScriptExampleFDM.py or LionixPyScriptExampleFMM.py

5) Modify a output file save location, else the data will simply be saved at the "C:\LionixPyScriptExampleOUTPUTFILE.dat"

5) Run the script from the python GUI or command line.

6) Once the script is complete the output file can be viewed. It is tab delimited and makes a nice table in excel.

Have fun!!!