ansys / pyfluent

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

Bug located in "solver.file.confirm_overwrite" #1905

Closed gantnera closed 1 year ago

gantnera commented 1 year ago

πŸ” Before submitting the issue

🐞 Description of the bug

I set "solver.file.confirm_overwrite = False" But when trying to write a setting file that already exists, itΒ΄s not overwritten. solver.tui.file.write_settings("mysetttings.set")

--> seems to be related with the fluent batch options --> unfortunately solver.tui.file.set_batch_options("no yes yes no") does not work

πŸ“ Steps to reproduce

"solver.file.confirm_overwrite = False" solver.tui.file.write_settings("mysetttings.set") solver.tui.file.write_settings("mysetttings.set")

-> check fluent output: settings file will only be written out once

πŸ’» Which operating system are you using?

Windows

πŸ“€ Which ANSYS version are you using?

v232

🐍 Which Python version are you using?

3.10

πŸ“¦ Installed packages

Package                               Version
------------------------------------- ---------
ansys-api-fluent                      0.3.12
ansys-api-mapdl                       0.5.1
ansys-api-mechanical                  0.1.0
ansys-api-meshing-prime               0.1.1
ansys-api-platform-instancemanagement 1.0.0b3
ansys-api-sherlock                    0.1.14
ansys-api-systemcoupling              0.1.0
ansys-dpf-composites                  0.2.0
ansys-dpf-core                        0.8.1
ansys-dpf-gate                        0.3.1
ansys-dpf-gatebin                     0.3.1
ansys-dpf-post                        0.4.0
ansys-fluent-core                     0.16.dev2
ansys-grantami-bomanalytics           1.1.3
ansys-grantami-bomanalytics-openapi   1.0.0
ansys-grantami-recordlists            1.0.0
ansys-grantami-serverapi-openapi      1.0.0
ansys-grpc-dpf                        0.7.1
ansys-mapdl-core                      0.64.1
ansys-mapdl-reader                    0.52.17
ansys-math-core                       0.1.1
ansys-mechanical-core                 0.8.0
ansys-meshing-prime                   0.3.2
ansys-motorcad-core                   0.1.3
ansys-openapi-common                  1.2.1
ansys-optislang-core                  0.2.1
ansys-platform-instancemanagement     1.1.1
ansys-pythonnet                       3.1.0rc1
ansys-seascape                        0.2.0
ansys-sherlock-core                   0.2.0
ansys-systemcoupling-core             0.1.3
appdirs                               1.4.4
cachetools                            5.3.1
certifi                               2023.5.7
cffi                                  1.15.1
charset-normalizer                    3.1.0
click                                 8.1.3
clr-loader                            0.2.5
colorama                              0.4.6
contourpy                             1.1.0
cryptography                          41.0.1
cycler                                0.11.0
fonttools                             4.40.0
google-api-core                       2.11.1
google-api-python-client              2.92.0
google-auth                           2.21.0
google-auth-httplib2                  0.1.0
googleapis-common-protos              1.59.1
grpcio                                1.56.0
grpcio-status                         1.48.2
h5py                                  3.9.0
httplib2                              0.22.0
idna                                  3.4
importlib-metadata                    6.7.0
joblib                                1.3.1
kiwisolver                            1.4.4
lxml                                  4.9.3
matplotlib                            3.7.2
numpy                                 1.25.0
packaging                             23.1
pandas                                2.0.3
Pillow                                10.0.0
pip                                   22.3.1
platformdirs                          3.8.0
plumbum                               1.8.2
pooch                                 1.7.0
protobuf                              3.20.3
protoc-gen-swagger                    0.1.0
psutil                                5.9.5
pyaedt                                0.6.76
pyansys                               2023.2.5
pyansys-tools-versioning              0.4.0
pyasn1                                0.5.0
pyasn1-modules                        0.3.0
pycparser                             2.21
pyiges                                0.3.1
pyparsing                             3.0.9
pypiwin32                             223
pyspnego                              0.9.1
python-dateutil                       2.8.2
pythonnet                             3.0.1
pytwin                                0.3.0
pytz                                  2023.3
pyvista                               0.40.0
pywin32                               306
PyYAML                                6.0
requests                              2.31.0
requests-negotiate-sspi               0.5.2
requests-ntlm                         1.2.0
rpyc                                  5.3.1
rsa                                   4.9
scikit-learn                          1.3.0
scipy                                 1.11.1
scooby                                0.7.2
setuptools                            65.5.0
six                                   1.16.0
threadpoolctl                         3.1.0
tqdm                                  4.65.0
tzdata                                2023.3
uritemplate                           4.1.1
urllib3                               1.26.16
vtk                                   9.2.6
zipp                                  3.15.0
seanpearsonuk commented 1 year ago

confirm_overwrite (no longer) in the API. No similar names either.