ansys / pyfluent

Pythonic interface to Ansys Fluent
https://fluent.docs.pyansys.com
MIT License
278 stars 41 forks source link

Errors while adding DP in parametric project #3280

Closed tejalprabhu01 closed 2 months ago

tejalprabhu01 commented 2 months ago

🔍 Before submitting the issue

🐞 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
prmukherj commented 2 months ago

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

prmukherj commented 2 months ago

@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.

tejalprabhu01 commented 2 months ago

@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!