I have a model here that, in my opinion, behaves a bit strangely. To keep things simple, my model is currently just a rectangular block, meshed with C3D10 tetrahedral elements. There is a fixed constraint on both long sides, and a small surface in the middle for applying forces.
This is my solve.inp script:
*INCLUDE, INPUT=model.inp
*INCLUDE, INPUT=material.inp
*STEP, NLGEOM
*STATIC
*BOUNDARY
fixed, 0, 3, 0
*CLOAD
load, 3, -100
*NODE FILE
U
*EL FILE
S
*END STEP
The “model.inp” file contains the mesh information, including the nodes and element sets.
The “material.inp” file contains the material properties. If I assign the same material to all elements, as shown below, it works perfectly, and the model is solved in about 1–2 seconds.
*MATERIAL, NAME=P_100
*ELASTIC
210000.0, 0.3
*SOLID SECTION, ELSET=P_100, MATERIAL=P_100
In the example above, the element set P_100 contains all elements.
However, if I assign different materials to different elements, the model doesn’t produce a solution. I stopped the solver after 40 minutes. For clarification, here is a shortened version of a modified material.inp file.
*ELSET, ELSET=P_020
1, 5, 6, 14, 16, 17, 19, 22, 23, 24, 25, 29, 30, 31, 32, 38,
42, 44, 45, 48, 64, 65, 67, 68, 82, 83, 86, 91, 94, 96, 101, 104,
(...)
*MATERIAL, NAME=P_020
*ELASTIC
42000.0, 0.3
*SOLID SECTION, ELSET=P_020, MATERIAL=P_020
*ELSET, ELSET=P_040
3, 4, 7, 11, 12, 13, 20, 26, 28, 33, 34, 35, 36, 37, 39, 40,
41, 47, 49, 50, 51, 52, 53, 54, 56, 57, 59, 60, 62, 63, 66, 71,
*MATERIAL, NAME=P_040
*ELASTIC
42000.0, 0.3
*SOLID SECTION, ELSET=P_040, MATERIAL=P_040
(...)
*ELSET, ELSET=P_100
174, 210, 971, 987, 1276, 1292, 1303, 1430, 1454, 1585, 1686, 1702, 1708, 2166, 2266, 2388,
2450, 2473, 2489, 2686, 2703, 2765, 2779, 2827, 2992, 2998, 3007, 3053, 3205, 3488, 3937, 4125,
4263, 4265, 4321, 4450, 4482, 4569, 4671, 4938, 5357, 5411, 5560, 6253, 6254, 6293, 6331, 6332
*MATERIAL, NAME=P_100
*ELASTIC
210000.0, 0.3
*SOLID SECTION, ELSET=P_100, MATERIAL=P_100
I hope this snippet makes the structure clear. I’m assigning different elastic moduli to various elements. The elastic moduli range from that of steel for P_100 (210 GPa) to P_020, which has only 20% of the elastic modulus (42 GPa) of steel. The e-modules are graded in 20% increments, so I have a total of 5 levels.
The question is: Why does the model with a uniform modulus of elasticity compute in a matter of seconds, while the model with different moduli of elasticity (probably) doesn’t compute at all?
P.S.: First of all, I created 100 different materials, each with 1% increments, and ran into the same problem. So I narrowed it down to just 5 different materials because I was worried there might be an upper limit on the number of materials that can be defined. However, I couldn’t find any information on that, and the result is the same. Is there an upper limit on the number of materials that can be defined?


