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[, ...])

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, allow_remote_host=None, certificates_folder=None, insecure_mode=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.

allow_remote_host: bool, optional

Whether to allow remote hosts to connect to the Fluent server.

certificates_folderstr, optional

Path to the folder containing gRPC certificates.

insecure_modebool, optional

Whether to use insecure gRPC mode.

Raises:
UnsuccessfulWatchdogLaunch

If Watchdog fails to launch.