I am not sure this is possible, but I want to create a mesh with user-defined elements in Abaqus/CAE using the Python scripting interface. This will consist of at least two parts on the CAE side of things: defining the nodes & connectivity, and defining the material properties.
So, for example, I'm familiar with creating a part and mesh using standard elements in a couple of different ways. A fairly readable version of which might be something like:
m = mdb.models[modelName]
newPart = m.Part(name='NewPart', dimensionality=THREE_D, type=DEFORMABLE_BODY)
for elemLabel,elemNodes in myElementDictionary.items():
nodeObjectTuple = tuple(newPart.nodes.sequenceFromLabels(elemNodes))
newPart.Element(nodes=nodeObjectTuple, elemShape=HEX8, label=elemLabel)
Will this work for user-defined elements, provided they match the element shape (e.g. HEX8)? If so, how can the user-element properties be defined? I do not see a command for that in the documentation.
EDIT: Typically, user element properties are specified via the input file (*USER ELEMENT and *UEL PROPERTY, for example). I want to know if there is a way to achieve this via the Python scripting interface without needing to edit an input file in some manner -- i.e., within the Abaqus/CAE Model Database. Also, I have have written subroutines for the actual user element definition and behavior, that is not what I'm asking about.