Closed hauke2007 closed 1 year ago
general issue or case specific?
As far as I can see it it is case specific
Given the same Fluent state:
thanks the file seems to be fine before. Somewhere during the setup, something has happened which destroy the case without creating an error I will try to identify the particular script part and come back to you
the case is broken after the following command. solver.tui.mesh.modify_zones.make_periodic(peri_interface, bz_interfaces_periodic_names.get(peri_interface), 'yes', 'yes')
Can you break it just the same if the above Python call is just a TUI invocation like /mesh/modify-zones/... etc
? Trying to dig into whether there is something special about PyFluent here. Also, does bz_interfaces_periodic_names.get(peri_interface)
provide data in the right format - that's something you could check.
Hello Sean, after some further debugging we found out that an invalid expression caused the crash after setting up the periodic boundary conditions. Strange is that the periodic boundary conditions and with it the crash is effect by an invalid expression. Overall I think it is not an python issue anymore but really hard to debug. Sorry for bothering
invalid boundary condition yields to the strange behavior but it is a general issue.
Hello Sean, after some further debugging we found out that an invalid expression caused the crash after setting up the periodic boundary conditions. Strange is that the periodic boundary conditions and with it the crash is effect by an invalid expression. Overall I think it is not an python issue anymore but really hard to debug. Sorry for bothering
no problem!
π Before submitting the issue
π Description of the bug
I am using Pyfluent in Fluent 23.2. After setting up a case. I am writing the cas and dat out. During the runtime I do not receive any issues or error messages, but after reading the cas into the exiting or new fluent session fluent crashes.
solver.file.write(file_type = "case-data", file_name = caseFilename)
π Steps to reproduce
cannot upload the files because they are not supported
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
Version 23.2 Build ID 176
π Which Python version are you using?
3.11
π¦ Installed packages