Skip to main content

Abaqus part from nodes and element information

Submitted by jumar on

 

Hello

 

I am trying to create a part in ABQUS using the information from the nodes and the conectivity of the elements im using a simple code to startbut im having problems with the definition of the elements. The script code is 

 

from part import *

 

modelName = 'importmodel'

jobName = 'importmodel'

FFMModel = mdb.Model(name=modelName)

mdb.models[modelName].PartFromNodesAndElements(name='indenter',dimensionality=TWO_D_PLANAR,type=DEFORMABLE_BODY,nodes=((1,2,3,4,),((0,0,0),(1,0,0),(1,1,0),(0,1,0))),elements=(('CPE4',),(1,),((1,2,3,4),)))

 

i am getting the following messages

The model "importmodel" has been created.

Warning: Elements incorrectly defined

 

any idea to solve the problem???

 

thank you for your help, sorry for my bad english

 

Dear Jumar,

 

Try the following script:

 

from part import *
modelName = 'importmodel'
jobName = 'importmodel'
FFMModel = mdb.Model(name=modelName)
mdb.models[modelName].PartFromNodesAndElements(name='indenter',dimensionality=TWO_D_PLANAR,type=DEFORMABLE_BODY,elements=(('CPE4',(1,),((0,1,2,3),)),),nodes=(((0,1,2,3)),((0,0,0),(1,0,0),(1,1,0),(0,1,0))))


The indexing (1,2,3,4) for the element connectivity and the node labels has to be set according to python indexing convention, i.e. (0,1,2,3).

 

Best regards,

 

George

Thu, 01/05/2017 - 19:25 Permalink