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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'CloseLeakges' in fault_tolerant meshing #3811

Open
2 tasks done
millerj97 opened this issue Mar 7, 2025 · 1 comment
Open
2 tasks done

KeyError: 'CloseLeakges' in fault_tolerant meshing #3811

millerj97 opened this issue Mar 7, 2025 · 1 comment
Assignees
Labels
bug Issue, problem or error in PyFluent

Comments

@millerj97
Copy link
Collaborator

🔍 Before submitting the issue

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

🐞 Description of the bug

when using the fault tolerant workflow, describe_geometry_and_flow is giving the following error;

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 463, in __dir__
    for arg in [*self._get_camel_case_arg_keys(), *dir(self._task)]:
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 418, in _get_camel_case_arg_keys
    for arg in args().keys():
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/services/datamodel_se.py", line 984, in __call__
    return self.get_state()
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 747, in get_state
    self._task.Arguments() if explicit_only else self._task._command_arguments()
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 978, in _command_arguments
    return self._refreshed_command()
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 996, in _refreshed_command
    return self._cmd_sub_items_read_only(cmd, cmd())
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 1002, in _cmd_sub_items_read_only
    cmd, key, self._cmd_sub_items_read_only(getattr(cmd, key), value)
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/workflow.py", line 1004, in _cmd_sub_items_read_only
    setattr(cmd, key, getattr(cmd, key))
  File ".env/lib/python3.10/site-packages/ansys/fluent/core/services/datamodel_se.py", line 2253, in __getattr__
    arg = self.parent_arg["info"]["parameters"][attr]
KeyError: 'CloseLeakges'

📝 Steps to reproduce

  1. launch pyfluent meshing session
  2. setup fault-tolerant meshing
  3. read any geometry
  4. run command and see above error;
    fault_tolerant.describe_geometry_and_flow.arguments()

💻 Which operating system are you using?

Linux

📀 Which ANSYS version are you using?

v252

🐍 Which Python version are you using?

3.10

📦 Installed packages

absl-py==2.1.0
ansys-api-fluent==0.3.35
ansys-api-platform-instancemanagement==1.1.2
ansys-api-tools-filetransfer==0.1.1
ansys-fluent-core==0.29.0
ansys-fluent-visualization==0.18.0
ansys-platform-instancemanagement==1.1.2
ansys-tools-filetransfer==0.1.1
ansys-units==0.4.0
asttokens==3.0.0
astunparse==1.6.3
bcrypt==4.3.0
black==25.1.0
blinker==1.9.0
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.1
click==8.1.8
contourpy==1.3.1
cryptography==44.0.2
cycler==0.12.1
dash==2.18.2
dash-bootstrap-components==1.7.1
dash-core-components==2.0.0
dash-html-components==2.0.0
dash-table==5.0.0
decorator==5.2.1
distlib==0.3.9
docker==7.1.0
et_xmlfile==2.0.0
exceptiongroup==1.2.2
executing==2.2.0
filelock==3.17.0
flake8==7.1.2
Flask==3.0.3
flatbuffers==25.2.10
fonttools==4.56.0
gast==0.6.0
google-pasta==0.2.0
googleapis-common-protos==1.69.0
grpcio==1.70.0
grpcio-health-checking==1.62.3
grpcio-status==1.62.3
h5py==3.13.0
identify==2.6.8
idna==3.10
imageio==2.37.0
importlib_metadata==8.6.1
ipython==8.33.0
isort==6.0.1
itsdangerous==2.2.0
jedi==0.19.2
Jinja2==3.1.6
joblib==1.4.2
kaleido==0.2.1
keras==3.9.0
kiwisolver==1.4.8
libclang==18.1.1
lxml==5.3.1
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.10.1
matplotlib-inline==0.1.7
mccabe==0.7.0
mdurl==0.1.2
ml-dtypes==0.4.1
mypy-extensions==1.0.0
namex==0.0.8
narwhals==1.29.0
nest-asyncio==1.6.0
nltk==3.9.1
nodeenv==1.9.1
numpy==2.0.2
nvidia-nccl-cu12==2.25.1
openpyxl==3.1.5
opt_einsum==3.4.0
optree==0.14.1
packaging==24.2
pandas==2.2.3
paramiko==3.5.1
paramiko-expect==0.3.5
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
pillow==11.1.0
platformdirs==4.3.6
plotly==6.0.0
pooch==1.8.2
pre_commit==4.1.0
prompt_toolkit==3.0.50
protobuf==4.25.6
psutil==7.0.0
ptyprocess==0.7.0
pure_eval==0.2.3
pyansys-tools-report==0.8.2
pycodestyle==2.12.1
pycparser==2.22
pyflakes==3.2.0
Pygments==2.19.1
PyNaCl==1.5.0
pyparsing==3.2.1
PySide6==6.8.2.1
PySide6_Addons==6.8.2.1
PySide6_Essentials==6.8.2.1
python-dateutil==2.9.0.post0
python-pptx==1.0.2
pytz==2025.1
pyvista==0.44.2
pyvistaqt==0.11.2
PyYAML==6.0.2
QtPy==2.4.3
regex==2024.11.6
requests==2.32.3
retrying==1.3.4
rich==13.9.4
scikit-learn==1.6.1
scipy==1.15.2
scooby==0.10.0
seaborn==0.13.2
shiboken6==6.8.2.1
six==1.17.0
stack-data==0.6.3
tensorboard==2.18.0
tensorboard-data-server==0.7.2
tensorflow==2.18.0
tensorflow-io-gcs-filesystem==0.37.1
termcolor==2.5.0
threadpoolctl==3.5.0
tomli==2.2.1
tqdm==4.67.1
traitlets==5.14.3
typing_extensions==4.12.2
tzdata==2025.1
urllib3==2.3.0
virtualenv==20.29.2
vtk==9.3.20230807rc0
wcwidth==0.2.13
Werkzeug==3.0.6
wrapt==1.17.2
xgboost==2.1.4
XlsxWriter==3.2.2
zipp==3.21.0
@millerj97 millerj97 added the bug Issue, problem or error in PyFluent label Mar 7, 2025
@prmukherj
Copy link
Collaborator

Reported this to meshing team already. Will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue, problem or error in PyFluent
Projects
None yet
Development

No branches or pull requests

2 participants