-
-
March 27, 2023 at 8:31 am
SujaanKhan
SubscriberI 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 am
Erik Kostson
Ansys EmployeeHi
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 pm
SujaanKhan
SubscriberThe 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 pm
Erik Kostson
Ansys EmployeeHi
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 pm
SujaanKhan
SubscriberÂ
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 am
SujaanKhan
SubscriberI 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.
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- APDL, memory, solid
- Convergence error in modal analysis
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Real Life Example of a non-symmetric eigenvalue problem
- Nonlinear load cases combinations
- How can the results of Pressures and Motions for all elements be obtained?
-
3862
-
1414
-
1220
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.