32.1. Getting Started

You can access Fluent's Pythonic interface directly in the Fluent graphical user interface through a dedicated Python interpreter window. You can enable the Python interpreter by enabling the Python Console beta option in the Fluent Launcher (in the General Options tab). Once enabled, the traditional Fluent console window is replaced by a Python interpreter where you can directly enter Python commands and access Fluent functionality that is exposed through the Python interface.

Once you enable the Python console, it is available for the remainder of the Fluent session. You can still access Fluent's traditional Text User Interface (TUI) commands in the Python console through Python calls in a familiar format (for example, using the run_menu() function described in Interacting with the Python Console), otherwise the standard console window can still be accessed only after you turn off beta options and restart the Fluent session.


Note:  You can also use the -py command line argument to enable the Python console when starting Fluent through the command line interface.