-
-
September 20, 2021 at 9:20 am
Amin
SubscriberHi,
I would like to ask how can I define the material properties for many elements in one apdl command in Ansys workbench.
The constructed model contains three different materials. One of them contains about 200 elements modeled using solid65 elements. These 200 elements have the same material properties. I defined the material properties (elastic modulus, Poisson's ratio, tension stress, etc.) by adding an ADPL command for each element (Image bellow), then I paste the code that contained the material properties. This operation takes a long time to define the material properties for each element (about 200 repetitions).
I would like to ask, how can I define the material properties for 200 elements in a single APDL command without doing the 200's repetition.
September 20, 2021 at 2:40 pmGovindan Nagappan
Ansys EmployeeCreate a named selection with all the bodies for which you need to assign the material
For example: named selection is called my_bodies
You can use commands similar to this under the analysis branch(static structural, modal etc)
/Prep7
cmsel,s,my_bodies
!define your material using the MP commands
emodif,all,mat,100 !where 100 is material number
allsel
/solu
For more details on these commands, check the command reference manual Command Reference (ansys.com)
-
May 23, 2023 at 7:19 pm
wancheng gao
SubscriberHello Govindan, i am facing a similar problem to define the material properties using command. May I ask what the material number 100 refers to. Is it a random number i have to assign?
Viewing 1 reply thread- The topic ‘APDL Command to define material properties’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
Top Contributors-
3862
-
1414
-
1231
-
1118
-
1015
Top Rated Tags© 2025 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.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY