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:
Raised when watchdog launch is unsuccessful. |
Functions:
|
Function to launch the Watchdog. |
- exception ansys.fluent.core.launcher.watchdog.UnsuccessfulWatchdogLaunch#
Bases:
RuntimeErrorRaised 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_pid
int Process ID of the Python interpreter used to launch PyFluent and the Watchdog.
- sv_port
int Fluent server port number.
- sv_password
str Fluent server password.
- sv_ip
str,optional Fluent server IP.
- allow_remote_host: bool, optional
Whether to allow remote hosts to connect to the Fluent server.
- certificates_folder
str,optional Path to the folder containing gRPC certificates.
- insecure_modebool,
optional Whether to use insecure gRPC mode.
- main_pid
- Raises:
UnsuccessfulWatchdogLaunchIf Watchdog fails to launch.