Skip to content

Not all Fluent session exit on Python exit if watchdog is not used #2003

@mkundu1

Description

@mkundu1

Script to reproduce:

import ansys.fluent.core as pyfluent
solver1 = pyfluent.launch_fluent(show_gui=True, start_watchdog=False)
solver1.scheme_eval.exec(['(pp "solver1")'])
solver2 = pyfluent.launch_fluent(show_gui=True, start_watchdog=False)
solver2.scheme_eval.exec(['(pp "solver2")'])
solver3 = pyfluent.launch_fluent(show_gui=True, start_watchdog=False)
solver3.scheme_eval.exec(['(pp "solver3")'])

In my trial, the last session solver3 keeps on running. Found while investigating an asynchronous launch_fluent behaviour for #1726. I think this is an important behaviour to maintain for the correctness of session launch code.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions