-
-
February 6, 2021 at 12:05 pm
ANSYS_FEM_Guy
SubscriberHello,
I'm trying to implement Element kill in my analysis.
It's a simple simulation with a moving vomumetric heat source.
February 8, 2021 at 7:35 am1shan
Ansys Employee,nPlease check this link https://simutechgroup.com/performing-ekill-element-death-in-ansys-workbench-mechanical-mdoel/ and let me know if it helps.nnRegards,nIshan.nFebruary 10, 2021 at 8:43 amANSYS_FEM_Guy
SubscriberHello @1shan,nthank you for your answer. I tried to implement the ekill snippet in my apdl block, but it's not working.nCMSEL,ALLn*GET,EMAX,ELEM,,NUM,MAX n*GET,EMIN,ELEM,,NUM,MIN nALLSELQ=4e06 nPI=acos(-1)nd=0.02nr_spot=0.020time_weld=20 ntime_inc=1 ntime_steps=time_weld/time_inc nVEL=0.01 *DO,i,1,time_steps,1 nWTIME=(i*time_inc)nTIME,WTIME *DO,jj,EMIN,EMAX,1 nX=CENTRX(jj) nY=CENTRY(jj) nZ=CENTRZ(jj) CSI_Z=-Z-WTIME*VELnCSI_X=XnCSI_Y=Ynr=sqrt((CSI_X)**2+(CSI_Y)**2)dT=CSI_Z+d*IF,Z,LT,CSI_Z,THENnQU=0n*ELSEIF,Z,GT,dT,THENnQU=0n*ELSEIF,r,GT,r_spot,THENnQU=0n*ELSEnQU=Q/(r_spot**2+PI*d)n*ENDIFn nBFE,jj,HGEN,,QU n*ENDDOnSOLVEn*ENDDOCMSEL,ALL nBFEDELE,ALL,ALL nALLSEL/com,n/com, n*get,myncmls,active,,solu,ncmls ! cumulative number of load stepsn*if,myncmls,gt,0,then ! if this is after the firstncmsel,s,elem_to_kill_body ! ELEMENT component to be checkednnsle ! nodes on these elementsnSELTOL,1.0e-12 ! stay within range belownnsel,r,bf,temp,50 ! re-select nodes with results above a value <<I apply the load within one step.n
I'm not sure how to implement the ekill properly in a way that's compatible with my code.nnBest regardsnSam Donell
February 10, 2021 at 8:52 amANSYS_FEM_Guy
SubscriberHello ,nthank you for the answer. I implemented the ekill snippet in my code but it's still not working.nCMSEL,ALLn*GET,EMAX,ELEM,,NUM,MAX n*GET,EMIN,ELEM,,NUM,MIN nALLSELQ=4e06 nPI=acos(-1)nd=0.02nr_spot=0.020time_weld=20 ntime_inc=1 ntime_steps=time_weld/time_inc nVEL=0.01 *DO,i,1,time_steps,1 nWTIME=(i*time_inc)nTIME,WTIME *DO,jj,EMIN,EMAX,1 nX=CENTRX(jj) nY=CENTRY(jj) nZ=CENTRZ(jj) CSI_Z=-Z-WTIME*VELnCSI_X=XnCSI_Y=Ynr=sqrt((CSI_X)**2+(CSI_Y)**2)dT=CSI_Z+d*IF,Z,LT,CSI_Z,THENnQU=0n*ELSEIF,Z,GT,dT,THENnQU=0n*ELSEIF,r,GT,r_spot,THENnQU=0n*ELSEnQU=Q/(r_spot**2+PI*d)n*ENDIFn nBFE,jj,HGEN,,QU n*ENDDOnSOLVEn*ENDDOCMSEL,ALL nBFEDELE,ALL,ALL nALLSEL/com,n/com, n*get,myncmls,active,,solu,ncmls ! cumulative number of load stepsn*if,myncmls,gt,0,then ! if this is after the firstncmsel,s,elem_to_kill_body ! ELEMENT component to be checkednnsle ! nodes on these elementsnSELTOL,1.0e-12 ! stay within range belownnsel,r,bf,temp,50 ! re-select nodes with results above a value <<Best regards nSam Donellnn
Viewing 3 reply threads- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost 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.
Trending discussions- 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
Top Contributors-
5258
-
3299
-
2469
-
1308
-
998
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-