TAGGED: #compositematerials, usermat, workbench
-
-
September 14, 2023 at 5:48 pm
janot.lubritz
SubscriberHey guys,
I am trying to figure out how I can combine my USERMAT routine in WB (2022R1 Windows 10) with a layered section for a composite layup (or the use in ACP). Everything works with a single geometry and the material definition via APDL command in the Project tree. When I define a layered section the material that is selected in the layered section always overrides the USERMAT. Is there a trick to work around this problem? What I want to do is define a laminate with different layers where each layer has different material properties that are calculated by the usermat. (so Mat1 for layer1 and Mat2 for layer2 and so on)
Thank you in advance!
-
September 18, 2023 at 3:48 pm
David Weed
Ansys EmployeeHello Janot,
You should be able to ascribe a usermat material to layers of a composite by using an APDL command object.
The first step is to find the respective material IDs of the layers in the ds.dat file. You can write the ds.dat by issuing a solve and locating it in the Solver Files Directory (right-click on Solution and choose the option to open the directory). Alternatively, you can write the input file w/o solving by first highlighting the Analysis branch (e.g., Static Structural), then going to the Environment tab and on the far right, and clicking the button labeled "Write Input File...". Open that file in a text editor and scroll down or search for the location where the material model information is written. In the ds.dat below, I have two different material models ascribed to two layers of a shell. You can see that they have Material IDs '2' and '3':
After you have identified these material IDs, you can then use a command object to ascribe the usermat model to the bodies associated with these IDs. For instance, put a command object under the surface body and issue something like the following:
/prep7
tbdele,all,all ! delete material models initiaziled with TB command
mpdele,all,all ! delete material models initialized with MP command
tb,user,2...
tbdata...
tb,user,3...
tbdata...
and so forth.
Please let me know if 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.

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.
- Solver Pivot Warning in Beam Element Model
- Saving & sharing of Working project files in .wbpz format
- Understanding Force Convergence Solution Output
- User manual
- 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
-
7742
-
4502
-
2963
-
1449
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.