×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Is it possible to generate mesh based surfaces in Abaqus using python scripting?

Is it possible to generate mesh based surfaces in Abaqus using python scripting?

Is it possible to generate mesh based surfaces in Abaqus using python scripting?

(OP)
I am trying to generate an element based surface in Abaqus using python scripts. I need to create this surface in order to create an offset layer of solid elements using the offset mesh method in the edit mesh dialogue. It is not possible to use this feature using geometry based surfaces. The surface that I would like to generate is not all in one plane, I think this may add to my difficulty. If I were able to generate an element based surface from a geometry based surface this would also work for me.

The only difference between surfaces defined based on geometry versus those based on based elements are the sides defined per:
mdb.models['Model-1'].parts['Part-1'].allSurfaces['Surf-1'].sides
For geometry based surfaces, geometric surfaces are defined here; for element based surfaces, element faces are defined. However, these sides have no further properties, i.e.
mdb.models['Model-1'].parts['Part-1'].allSurfaces['Surf-1'].sides[0] = SIDE1 #(geometry based surface)
mdb.models['Model-1'].parts['Part-1'].allSurfaces['Surf-2'].sides[0] = FACE1 #(mesh based surface)

Element based surfaces are defined using the following commands:
p = mdb.models['Model-1'].parts['Part-1']
f = p.elements
face1Elements = f[140:160]+f[172:192]+f[212:232]+...
face2Elements = f[0:20]+f[60:80]+f[736:756]+...
face4Elements = f[163:164]+...
face5Elements = f[15:20]+f[35:40]+f[55:60]+...
face6Elements = f[1176:1177]+f[1180:1181]+...
p.Surface(face1Elements=face1Elements, face2Elements=face2Elements,
face4Elements=face4Elements, face5Elements=face5Elements,
face6Elements=face6Elements, name='Surf-2')
#: The surface 'Surf-2' has been created (1272 mesh faces).

I am able to identify the relevant elements; however, I do not know how to identify which of the element faces lies on the desired surface in order to define the surface correctly.

Can anyone tell me how define a surface based on elements as described using python?? Maybe I'm going about this in completely the wrong way. It would be of massive help. Images of the relevent surface attached.

http://files.engineering.com/getfile.aspx?folder=a...
http://files.engineering.com/getfile.aspx?folder=d...
http://files.engineering.com/getfile.aspx?folder=f...

Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources