Skip to content

How to execute the "execute on demand" function #4179

Open
@henguofen

Description

@henguofen

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

The code :session.tui.define.user_defined.execute_on_demand = "reload_heat_flux_data::lbetest"
However, when the case is launched, this UDF is not executed.

📝 Steps to reproduce

The UDF was compiled and loaded in advance in a case. Python was used to read the case and execute the UDF, but it was found that the UDF was not executed and no error was reported.

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2024

🐍 Which Python version are you using?

3.12

📦 Installed packages

pyfluent

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue, problem or error in PyFluent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions