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).Â
-
- The topic ‘Insert Python Code object through APDL command sheet for batch automation’ is closed to new replies.
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- How to apply Compression-only Support?
- Geometric stiffness matrix for solid elements
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- SMART crack under fatigue conditions, different crack sizes can’t growth
- Frictional No separation contact
-
1281
-
591
-
544
-
524
-
366
© 2024 Copyright ANSYS, Inc. All rights reserved.