-
-
March 27, 2023 at 8:31 amSujaanKhanSubscriber
I tried to use Command(APDL) Scripting in Workbench which includes iterative heat load using *do loop. I want to extract the temperature in /POST1 during each iteration and use it to update input under /SOLU. However, a single *do loop cannot take /SOLU and /POST1 together in workbench. But this flexiblity is there in APDL(classic). I cannot put /SOLU and /POST separately, as I want to update input load based on postprocessing data. Is there is any way to solve this kind of problem. I am using 2022 R2 enterprise version.
The Error screenshot is:
-
March 27, 2023 at 9:12 amErik KostsonAnsys Employee
Hi
Perhaps this helps
To have a temp. dependent heat generation use this:
/forum/forums/topic/internal-heat-generation-depending-on-temperature/
Â
-
March 27, 2023 at 12:00 pmSujaanKhanSubscriber
The link is not much helpful. There has to be some method for Command(APDL) in workbench to combine /SOLU and /POST1 in single *Do loop.
-
-
March 27, 2023 at 12:07 pmErik KostsonAnsys Employee
Hi
You said: 'I tried to use Command(APDL) Scripting in Workbench which includes iterative heat load using *do loop. I want to extract the temperature in /POST1 during each iteration and use it to update input under /SOLU.'
Â
So what do you want to get from POST1 - is it temperature?
And what do you want to update (BFE,,HGEN?) using the post1 results above in your input?
Â
Yes there are some ways, but the way you do it is wrong as you can see from the error message (BFE is a /PREP7 or /SOLU not /POST1 command), and it is outside what we (Ansys employees) can help with here as it requires extensive apdl scripting - perhaps some other users can help, but if you answer in detail my questions, there might be an easier way of doing what you want.
Thank you
Erik
Â
-
March 27, 2023 at 12:18 pmSujaanKhanSubscriber
Â
Actually I am updating HGEN with each iteration under /SOLU, this will provide some Tmax in /POST1. I wanted to get different Tmax based on each HGEN applied. It is true that /SOLU is not updating based on any data from /POST1. But why cannot I iterate and get Tmax for each HGEN. The other way can be manually give HGEN and record Tmax. But I wanted to automate the process. The same thing can be easily done in APDL(classic), so why can’t we do it with Command(APDL) in Workbench.
Â
-
March 28, 2023 at 8:35 amSujaanKhanSubscriber
I just want to know, where I am committing mistakes. Is there any way to this analysis using Command(APDL) in Workbench?
-
-
- The topic ‘Command(APDL) Scripting in Workbench for solution and postprocessing’ 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
- Frictional No separation contact
- Elastic limit load, Elastic-plastic limit load
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.