-
-
March 1, 2023 at 9:40 am
Naeel D
SubscriberHi all, I'm in need of assistance writing/understanding the code as a rookie for the Element Birth & Death technique for my model that I want to simulate additive manufacturing (Laser cladding). What should my approach be and how is it done?
The following is what I have been able to muster together without a good understanding (specifically for ANSYS mechanical APDL:
-
March 2, 2023 at 1:53 pm
Chandra Sekaran
Ansys EmployeeDefine Transient Analysis
NROPT, FULL
!Select all nodes
!Select all elements attached to the nodes
EKILL, ALL
!Plot ‘live elements’ (to check whether the Ekill command is executed, you may need to turn off the PowerGraphics
!Select EVERYTHING (Selects all activated and deactivated elements)
- constrain the deactivated elements if you want them to be born in the current configuration
- solve load step with killed elements
- If you now want to make the killed elements alive in next load step use EALIVE (???)
- remove constraints on dead elements as appropriate.
- solve
-
March 4, 2023 at 7:05 pm
Naeel D
SubscriberThank you Chandra Sekaran,
In relation to my updated message in this thread below, this is the single-element group that has undergone 'Birth/Death' and with Thermal loads applied:
What would be the fastest way to use 'birth/death' for all elements of my model and apply the thermal loads? Could it be a LOOP command?
-
March 2, 2023 at 2:08 pm
John Doyle
Ansys EmployeeWhile it is true that you can simulate a basic Additive Manufacturing process using EKILL and EALIVE strategically, with select logic, I would not recommend this approach.
I would refer you, instead, to the MAPDL commands listed below. You need an Additive Suite License to use these commands; but, if you are serious about AM simulation in MAPDL, this is the way to go.
AMBUILD
AMENV
AMMAT
AMPOWDER
AMSTEP
AMSUPPORTS
AMTYPE
I would also refer you to the AM course material on the Ansys Learning Hub Ansys Mechanical Workbench Additive.
There is a chapter in this course entitled 'Mechanical APDL for Additive' that takes a deeper dive into the use of the above MAPDL commands.
-
March 4, 2023 at 6:59 pm
Naeel D
SubscriberThank you all for the responses. Due to time constraints, learning Ansys Additive/MAPDL codes may be difficult to complete in time. Therefore I have simplified my model (to a quarter of the original model above) and progresses with the following steps/code:
My issue now is it will be unrealistic to select each individual volume of ELEMENTS and apply the thermal loads to each one (as the code above implies). That would be a painstaking process! I believe it would be best to use ‘LOOP’ the command, however, I am stuck with how to use this line of code for my situation. Any advice?
Thank you
-
- 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
-
3820
-
2607
-
1853
-
1244
-
600
© 2023 Copyright ANSYS, Inc. All rights reserved.