TAGGED: /post1, apdl, apdl-code-in-workbench, restart
-
-
February 15, 2023 at 12:43 pm
John Miller
SubscriberHello,
I'm facing some troubles with a AM simulation.
The Modell is shown below and consists of a heated base plate and a circular extruded volume
The script of the AM process with ekill and subsequent ealive so that a volume is constantly generated is not difficult. My problem is an embedded restart analysis. I have to enter /post1 in every substep and create a component that includes all contact elements (targe169-conta178) for further processing.
The component should be used to apply convection bc the nodes on the base plate are not covered by extruded material.
The APDL snippet is this:
tintp,,,,1.0
lnsrch,on
nropt,full
thopt,full...
*do,i,1,k,1
/GOPR
rescontrol,define,2,k
cmsel,s,path,node
cm,Tload,node
ddele,Tload,temp
esel,...
cm,alive,elem
ealive,alive
cmsel,s,path,node
nsel,...
cm,load,nodeD,load,temp,TL
nsel,...
cmsel,...
cmsel,...
cm,external,node
sfdele,external,conv
*DIM,Rad_Conv,TABLE,7,15,1,,,,11
...
sf,external,conv,%Rad_Conv%,Talpha
allsel,all
outres,all,allTime,...
solvefinish
/post1
/GOPR
set,lastesel,s,enam,,169,178
nsle,s,active
!etab,contact_elem,nmis,41
cm,interface_nodes_bed_contact,nodefinish
/solu
/GOPR
nropt,full
thopt,full
antype,,restnsel,...
cmsel,...
cmsel,...
cm,bed_ring_nodes_conv,nodesfdele,bed_ring_nodes_conv,conv
sf,bed_ring_nodes_conv,conv,hc,Talpha
*enddoUnfortunately, the simulation is crashing in the first substep of the 2nd load step (1st load step is only for bed heating). The script without /post1 and restart is working just fine.
The sig$segv is crashing the simulation.
I guess it has something do to with the database because of all elements of the AM path death and subsequently activated (via ealive).
Some information is missing regarding the active elements.
Maybe someone has a clue about how to fix this problem
With Best Regards
John Miller
-
February 20, 2023 at 12:26 pm
Ashish Khemka
Ansys EmployeeHi John,
SIG$SEGV is short for signal segment violation. Technically, it is described as an incorrect use of pointer or a buffer overflow (memory problems). It is a bug, whenever it happens, but it is difficult to relate the cause to any one particular issue. Based on previous call records, it has happened in the past with distributed solver and rezoning, but is not limited to these applications.
If you are using a distributed solver then please uncheck that option and then run the analysis.
Regards,
Ashish Khemka
-
February 22, 2023 at 5:34 pm
John Miller
SubscriberHello Ashish,
I was able to get rid of the sig$segv error via removal of the thopt,full line.
! tintp,,,,1.0
!lnsrch,on
!nropt,full
!thopt,full…
*do,i,1,k,1
/GOPR
rescontrol,define,2,kThe command rescontrol is generating the necessary .rnnn file, but I’m not able to generate the .rdb file within the script. In thermal analysis “restart control” isn’t available via GUI (only in mechanical).
Below is the error message attached
Is there a way to perform a restart analysis in thermal transient (with script based .rdb file generation)?
Best regards
John
-
-
February 20, 2023 at 5:46 pm
John Miller
SubscriberHi Ashish,
Unfortunately, I knew the issues of distributed solver and tried to run the simulation with only one core aka undistributed solver. The issue is not caused by solver distribution.
I guess the reason is the element status at the beginning of the first substep of the second step. During the first, heating step, the workpiece elements are all deactivated (via ekill at the beginning of the first load step). In the second load step, the former deactivated elements are activated via ealive.
finish
/post1
/GOPR
set,lastesel,s,enam,,169,178
nsle,s,active
!etab,contact_elem,nmis,41
cm,interface_nodes_bed_contact,nodefinish
/solu
/GOPR
nropt,full
thopt,full
antype,,restnsel,...
cmsel,...
cmsel,...
cm,bed_ring_nodes_conv,nodesfdele,bed_ring_nodes_conv,conv
sf,bed_ring_nodes_conv,conv,hc,TalphaUnfortunately, the simulation is not running anymore without the /post1 trip in every substep (on Ansys WB R2021 R2 Teaching) a few weeks before the model without /post1 script was running just fine.
Other simulations are running without error.
I don't understand whats happening here, seems the file is corrupted.
Best Regards
John
-
February 22, 2023 at 5:31 pm
John Miller
SubscriberHello together,
I was able to get rid of the sig$segv error via removal of the thopt,full line.
! tintp,,,,1.0
!lnsrch,on
!nropt,full
!thopt,full…
*do,i,1,k,1
/GOPR
rescontrol,define,2,kThe command rescontrol is generating the necessary .rnnn file, but I’m not able to generate the .rdb file within the script. In thermal analysis “restart control” isn’t available via GUI (only in mechanical).
Below is the error message attached
Is there a way to perform a restart analysis in thermal transient (with script based .rdb file generation)?
Best regards
John
-
- 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.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- 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
- whether have the difference between using contact and target bodies
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- User manual
- Colors and Mesh Display
- material damping and modal analysis
-
3740
-
2570
-
1785
-
1236
-
594
© 2023 Copyright ANSYS, Inc. All rights reserved.