October 9, 2023 at 1:42 pmReza TaheriSubscriber
I have several material defined in Engineering Data. In workbench Mechanical, how can I assign material to parts using APDL commands instead of choosing from the material section? I assume I have to insert a command under the geometry and use matID, but don't know how to write the command. Any help is appriciated :)
October 9, 2023 at 2:35 pmErik KostsonAnsys Employee
The commands to look at are, MP, etc.
So to define material properties needed for structural analysis we need at least the three commands, that can be added in a command snippet under a part:
MP,EX,MATID,200E9 ! Define Elasticity Modulus
MP,NUXY,MATID,0.3 ! Define Poisson’s ratio
MP,DENS,MATID,7800 ! Density
All the best
October 9, 2023 at 10:23 pmReza TaheriSubscriber
Thanks Erik. Is there a way to only link the part with the material definition in Engineering Data rather than defining individual properties? As in like assign 'material 2' definition to 'geometry 1' using commands?
October 11, 2023 at 5:23 amRohan SharmaSubscriber
To assign materials to parts in Workbench Mechanical using APDL commands, you can indeed use the
MATIDcommand under the geometry. Here's an example command:
! Assuming your material ID is 1 and part number is 2
MP, EX, 1, 2, Youngs_Modulus, Poissons_Ratio
Poissons_Ratiowith the appropriate numerical values for your material. This command sets the material properties (Young's Modulus and Poisson's Ratio) for material ID 1 assigned to part 2.
Remember to replace the placeholder values with your specific material properties and devops course part numbers.
Hope this helps!
- 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.
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
- 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
- Defining rigid body and contact
- Colors and Mesh Display
- A solver pivot warning or error has been detected
© 2023 Copyright ANSYS, Inc. All rights reserved.