-
-
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:
https://forum.ansys.com/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
SubscriberActually 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?
-
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Solver Pivot Warning in Beam Element Model
- Saving & sharing of Working project files in .wbpz format
- Understanding Force Convergence Solution Output
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- User manual
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- material damping and modal analysis
- Colors and Mesh Display
-
5268
-
3299
-
2469
-
1308
-
1000
© 2023 Copyright ANSYS, Inc. All rights reserved.