ansys/pyfluent

Errors while adding DP in parametric project

Closed this issue ยท 3 comments

๐Ÿ” Before submitting the issue

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

๐Ÿž Description of the bug

Following error is seen while adding Design Point in a parametric project:
image

This is reproduced only on some user systems.
Find attached project with which the issue was reproduced:
Design0001.zip

@seanpearsonuk @mkundu1 @prmukherj

๐Ÿ“ Steps to reproduce

import ansys.fluent.core as pyfluent
session = pyfluent.launch_Fluent(start_watchdog=True)
study_name = session.settings.current_parametric_study()
study = session.settings.parametric_studies[study_name]
dp_names = set([*study.design_points.keys()])
study.design_points.create()
dp_name = set([*study.design_points.keys()]).difference(dp_names).pop()
design_point = study.design_points[dp_name]
design_point.input_parameters[name] = value

๐Ÿ’ป Which operating system are you using?

Windows

๐Ÿ“€ Which ANSYS version are you using?

2025R1

๐Ÿ Which Python version are you using?

3.10

๐Ÿ“ฆ Installed packages

ansys-fluent-core v0.22dev0

@tejalprabhu01, could you please confirm if this issue is reproducible in the latest 25R1 fluent image?
Thank you

@tejalprabhu01, this was a temporary issue I think with a particular fluent build due to which the PyFluent nightly tests were also failing with the same error. I think it is no longer reproducible. Please let us know if you find otherwise. Thank you.

@prmukherj tested this with Fluent Build Time: Sep 12 2024 02:54:13 EST Build Id: 155 Revision: ff7ada14bc Branch: develop and pyfluent v0.24.1. The issue is fixed! Thanks for the assistance!