TAGGED: ansys-thermal, mechanical
-
-
April 15, 2024 at 10:29 amthermalsr71Subscriber
Hello,
Following my last week's post (Export temperature data with Python code object (ansys.com)), I have a fully automated thermal analysis procedure allowing me to get the desired results by launching a batch instance of mAPDL, as it is the only way I found of doing that kind of thing in ANSYS Mechanical. In my analysis, I use already existing ANSYS databases. My question is, would it be possible to include the creation of a Python Code object for post-processing tasks inside an APDL command sheet? The command sheet would potentially be included inside the ANSYS database to be used for my analysis.
Â
I am used to creating temperature result objects inside these command sheets, but do not know if it is possible to creataae Python Code objects as well.
Â
I hope someone is familiar with such a topic and can give me a hand. Thank you all for your attention.
-
April 16, 2024 at 3:06 pmmrifeAnsys Employee
Hi thermalsr71
No, not yet. At the current release this capability is in the 'alpha' stage. That is still in development and not yet available. Check the Release Notes when the new releases come out. When it is moved to 'beta' stage it will be noted; then when generally available will be in the 'new commands' section of the release notes.
MIke
-
April 17, 2024 at 7:54 amthermalsr71Subscriber
Alright, thanks. I'll check the release notes. Alternatively, is there a way of exporting temperature result data into files using APDL commands?
-
-
April 17, 2024 at 2:02 pmmrifeAnsys Employee
Yes; generally speaking we usually gather the result to an array (*VGET); open a file for writing (*CFOPEN); write the array to the file with a format of your choice (*VWRITE); then close the file (*CFCLOS).Â
-
- You must be logged in to reply to this topic.
-
441
-
199
-
194
-
162
-
142
© 2024 Copyright ANSYS, Inc. All rights reserved.