haiiliin / abqpy

Type Hints for Abaqus/Python Scripting
https://haiiliin.github.io/abqpy/
MIT License
195 stars 34 forks source link

Help on using side1Faces or side2Faces #1402

Closed QiangF closed 2 years ago

QiangF commented 2 years ago

I am trying to model the rolling of metal bars with different groove shapes. The model has contact between roll surface and billet surface. In the snippet below, sometimes the roll surface is side1Face, sometimes is side2Face, how to know in advance which type of surface to select?

f = roll.faces
if groove_type == 'ovp':
    roll.Surface(side1Faces=f, name='ROLL')
else:
    roll.Surface(side2Faces=f, name='ROLL')
haiiliin commented 2 years ago

I am not really familar with your condition, but you may check some information on Part.Surface().

haiiliin commented 2 years ago

I have no idea of a Surface having two sides, in my own experience, I always use the side1Faces.

haiiliin commented 2 years ago

I am trying to model the rolling of metal bars with different groove shapes. The model has contact between roll surface and billet surface. In the snippet below, sometimes the roll surface is side1Face, sometimes is side2Face, how to know in advance which type of surface to select?

f = roll.faces
if groove_type == 'ovp':
    roll.Surface(side1Faces=f, name='ROLL')
else:
    roll.Surface(side2Faces=f, name='ROLL')

What is the difference in the created abaqus model using the two different arguments?

QiangF commented 2 years ago

These two options result in surface selection on the opposite side of the shell of the roll. img_2022_09_15__22_03_36

haiiliin commented 2 years ago

Maybe here is some information you can refer to: https://help.3ds.com/2021/english/dssimulia_established/simacaecaerefmap/simacae-c-picconcside.htm?contextscope=cloud.

haiiliin commented 2 years ago

It seems that whether it is side1Faces or side2Faces depends on the previous selections, if you use side2Faces to create a Surface once, the next time if you still use side2Faces to create the surface, the created surface will be the opposite surface.

haiiliin commented 2 years ago

It seems that whether it is side1Faces or side2Faces depends on the previous selections, if you use side2Faces to create a Surface once, the next time if you still use side2Faces to create the surface, the created surface will be the opposite surface.

Sorry, this maybe not correct.

haiiliin commented 2 years ago

Close this since it is off the topic.