watchdog#

Module to launch the PyFluent Watchdog to monitor PyFluent and the Fluent server.

Should not be used manually, PyFluent automatically manages it. See launch_fluent() start_watchdog argument for more details.

Exceptions:

UnsuccessfulWatchdogLaunch

Raised when watchdog launch is unsuccessful.

Functions:

launch(main_pid, sv_port, sv_password[, sv_ip])

Function to launch the Watchdog.

exception ansys.fluent.core.launcher.watchdog.UnsuccessfulWatchdogLaunch#

Bases: RuntimeError

Raised when watchdog launch is unsuccessful.

ansys.fluent.core.launcher.watchdog.launch(main_pid, sv_port, sv_password, sv_ip=None)#

Function to launch the Watchdog. Automatically used and managed by PyFluent.

Parameters:
main_pidint

Process ID of the Python interpreter used to launch PyFluent and the Watchdog.

sv_portint

Fluent server port number.

sv_passwordstr

Fluent server password.

sv_ipstr, optional

Fluent server IP.

Raises:
UnsuccessfulWatchdogLaunch

If Watchdog fails to launch.