Python with the FEFLOW Command-line Version
The FEFLOW console version can be called in Python interpreter mode by using the command switch “-python”:
"C:\Program Files\DHI\2023\FEFLOW 8.0\bin64\feflow80c.exe" -python |
Python 2.7.7 (default, Jun 17 2014, 08:55:38) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> |
Using the FEFLOW console version in Python mode starts a Python 2.7 environment and adds the FEFLOW kernel as Python module (called “ifm”). Required initialization is performed automatically, so that the kernel is ready to use right away.
Note: Arguments specified before the “-python” argument are handled by FEFLOW, while all arguments following the “-python” argument are passed to the Python console:
"C:\Program Files\DHI\2023\FEFLOW 8.0\bin64\feflow80c.exe" -demo -python -v |
This command starts the FEFLOW Python console with demo license and in Python verbose mode.