creating element from orphan nodes created from a set of coordinates using python

 

 

 

Could you please find attached a Python script ( I had to attach in word format) that creates a model in Abaqus (you will need the csv attached as well). I am attempting to create a set of elements from nodes I created. These nodes were created at a set of known coordinate points. I have used the following commands to do so:

 

p.Node(coordinates1 [t])  - this is according to section 31.9.1 Node in the Abaqus scripting guide in the help files.

 

I then ran the script and queried the node label numbers in CAE using the query tool. I wanted to know how Abaqus allocated label numbers to nodes. This returned a set of node numbers along the edges of the cube I am attempting to mesh. I then used the following command line manually entering the node label numbers

 

p.Element(nodes=(5,3,7,9,4,2,6,8),elemShape = (HEX8))

 

To create a single element from the 8 node numbers. When running the script however I get an error message stating:

 

File "c:/temp/Temp/PythonMesh/tapetrial/trial.py", line 161, in

    p.Element(nodes=(5,3,7,9,4,2,6,8),elemShape = (HEX8))

TypeError: nodes[0]; found int, expecting MeshNode

 

I am not quite sure what is going on here as