Skip to content

CaseReader cannot parse values which are like this '2[m/s]' #1566

@tejalprabhu01

Description

@tejalprabhu01

🔍 Before submitting the issue

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

🐞 Description of the bug

For the attached case file. numeric_value call on CaseReader object gives error
image
manifold-23r2.cas.h5.zip
@mkundu1 @seanpearsonuk

📝 Steps to reproduce

from ansys.fluent.core.filereader.casereader import CaseReader
reader = CaseReader(case_filepath=insert path to attached file)
for p in reader.input_parameters():
print(p.numeric_value)

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

2023R2

🐍 Which Python version are you using?

3.10

📦 Installed packages

ansys.fluent.core (0.13.0)
ansys.fluent.parameteric (0.7.0)

Metadata

Metadata

Assignees

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