-
Couldn't load subscription status.
- Fork 56
Description
🔍 Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
🐞 Description of the bug
when there are more than one case files in the directory where flprj exists, user gets following error while reading a parametric project using casereader
ERROR: Reading the project file failed with following error: More than one case file is present in: D:\Working_Dir Traceback (most recent call last):
File "D:\ANSYSInstallation\ANSYS Inc\v232\optiSLang\lib\python3.7\lib\site-packages\ansys\fluent\core\filereader\casereader.py", line 89, in init
case_filepath = _get_case_filepath(dirname(project_filepath))
File "D:\ANSYSInstallation\ANSYS Inc\v232\optiSLang\lib\python3.7\lib\site-packages\ansys\fluent\core\filereader\casereader.py", line 209, in _get_case_filepath
raise RuntimeError(f"More than one case file is present in: {project_dir_path}")
RuntimeError: More than one case file is present in: D:\Working_Dir
📝 Steps to reproduce
from ansys.fluent.core.filereader.casereader import CaseReader
reader = CaseReader(project_filepath=project_filepath)
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2023R2
🐍 Which Python version are you using?
3.7
📦 Installed packages
pyfluent
pyfluent-parametricMetadata
Metadata
Assignees
Labels
Type
Projects
Status