I'm trying to create a mass-spring system attached to a plate with element type COMBIN14
for the spring and MASS21
for the mass.
I have created the nodes needed to attach the mass and the spring. I have used this command to create the element type COMBIN14
:
mapdl.et(2)
mapdl.real(2)
for j in range(1, 10):
mapdl.e(node_number_i[j-1], node_number_j[j-1])
But when i run this command i am getting the following error:
*** ERROR *** CP = 15.156 TIME= 11:38:07
Element 1001 does not have all of its required nodes defined. The E
command is aborted.
*** ERROR
Could anyone tell me what is the problem here?
I have checked the vectors, node_number_i
and node_number_j
, the node number listed are valid and correct.
I suppose that you selected the wrong element type for creating COMBIN14 elements with two nodes. I was able to reproduce this problem by using the following code:
To resolve this problem make sure that you have selected the proper element type by using
TYPE
(in my example useTYPE,2
). In PyANSYS the command looks likeMapdl.type(2)
. Here is the working code:Just rewrite it to PyANSYS and it should work properly.