TAGGED: ansys-mechanical, apdl-command
-
-
October 9, 2023 at 1:42 pm
reza.taheri
SubscriberHi fellas,
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 pm
Erik Kostson
Ansys EmployeeÂ
Hi
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
Erik
Â
Â
-
October 9, 2023 at 10:23 pm
reza.taheri
SubscriberThanks 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 am
Rohan Sharma
SubscriberHey there,
To assign materials to parts in Workbench Mechanical using APDL commands, you can indeed use theÂ
MATID
command 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_RatioReplaceÂ
Youngs_Modulus
andPoissons_Ratio
with 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!
-
January 3, 2024 at 10:24 am
Awoke Kelemu
Subscriberhow can i get user manual or help manual of ANSYS software. please support me. Thank you.
-
January 3, 2024 at 12:12 pm
Erik Kostson
Ansys EmployeeÂ
hi see this post on how to view the help manual:
/forum/forums/topic/how-to-access-the-ansys-online-help/
closing this post as it is old and not related to the question you have.
use the help link above as suggested here:
/forum/forums/topic/how-to-access-the-ansys-online-help/
Â
Â
-
-
- The topic ‘Workbench Mechanical – APDL command – matID’ is closed to new replies.
-
3492
-
1057
-
1051
-
965
-
942
© 2025 Copyright ANSYS, Inc. All rights reserved.