Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to intialize reader for parametric project #2114

Closed
1 of 2 tasks
tejalprabhu01 opened this issue Oct 9, 2023 · 6 comments 路 Fixed by #2113
Closed
1 of 2 tasks

Unable to intialize reader for parametric project #2114

tejalprabhu01 opened this issue Oct 9, 2023 · 6 comments 路 Fixed by #2113
Assignees

Comments

@tejalprabhu01
Copy link
Contributor

tejalprabhu01 commented Oct 9, 2023

馃攳 Before submitting the issue

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

馃悶 Description of the bug

Following screenshot shows the error :

image

I am attaching only flprj here since the cffdb is too large. If that is required please contact me
24R1_mixer-ran.zip

@seanpearsonuk @mkundu1

馃摑 Steps to reproduce

>>> from ansys.fluent.core.filereader.casereader import CaseReader
>>> reader = CaseReader(project_filepath=r"24R1_mixer-ran.flprj")

馃捇 Which operating system are you using?

Windows

馃搥 Which ANSYS version are you using?

2024R1

馃悕 Which Python version are you using?

3.10

馃摝 Installed packages

ansys-api-fluent==0.3.17
ansys-api-platform-instancemanagement==1.0.0
ansys-fluent-core==0.17.1
ansys-fluent-parametric==0.8.1
ansys-platform-instancemanagement==1.1.2
@tejalprabhu01 tejalprabhu01 added the bug Something isn't working label Oct 9, 2023
@seanpearsonuk
Copy link
Collaborator

@prmukherj @tejalprabhu01

Do we know where this file came from? I'm not expert on this file format, but looking inside I noted that it seemed inconsistent. I can get PyFluent to read the file if I adjust it to be consistent.

I updated line 12 as follows:

<CurrentSimulation class="string" value="LINK:_24R1_mixer-ran-Solve/"/>

@tejalprabhu01
Copy link
Contributor Author

@prmukherj @tejalprabhu01

Do we know where this file came from? I'm not expert on this file format, but looking inside I noted that it seemed inconsistent. I can get PyFluent to read the file if I adjust it to be consistent.

I updated line 12 as follows:

<CurrentSimulation class="string" value="LINK:_24R1_mixer-ran-Solve/"/>

24R1_mixer-ran.cas.h5.zip

@seanpearsonuk this file was from one of our ACE colleagues. He just created the Parametric study from case. Here is the case file for your reference.

@seanpearsonuk
Copy link
Collaborator

Hi @tejalprabhu01 this might be something about how the project file is being generated by Fluent - the file does not seem internally consistent. Hence I modified it to get it to work. I will follow up on the Fluent side.

@seanpearsonuk
Copy link
Collaborator

Hi @tejalprabhu01 please request the ACE engineer to provide relevant Fluent team with the defect report. Essentially, his workflow needs to show how to get Fluent to generate the internally inconsistent project file. I was not able to reproduce the same issue in Fluent by initializing a new project.

@seanpearsonuk seanpearsonuk removed the bug Something isn't working label Oct 9, 2023
@tejalprabhu01
Copy link
Contributor Author

ok. Thanks for looking into it. Thanks @seanpearsonuk

@prmukherj
Copy link
Collaborator

Thank you @seanpearsonuk

@seanpearsonuk seanpearsonuk transferred this issue from ansys/pyfluent-parametric Oct 10, 2023
@seanpearsonuk seanpearsonuk linked a pull request Oct 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants