Hello, I'm writing some codes in DPF in a python result inside my modal analysis, so I need to read the rst file with the dataSource accessed with the "dpf.DataSources(analysis.ResultFileName)
" command.
My code works well, but when I want to resolve my modal analysis, it shows this error :
An unexpected error occurred : ansys failed saving the rst file to the working directory path because rst file is used by another program.
I guess that ansys opened the rst file in the dpf to read some results, but the rst file is still opened and not close when we perform the solve. How can I somehow "close" the rst file at the end of my python result ?
Thanks for help,
Adrien