nikulauz
Structural
- Apr 10, 2016
- 1
Dear collegues,
I am currently working on a small project and my task is to create Python- scripts for Abaqus that will improve the efficiency of our analysis.
I was wondering if any of You could help me understand what stands behind the following lines:
1: s = mdb.models['Model-1']
1.1: s.setPrimaryObject(option=STANDALONE)
2: g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
3: s.Line(.......)
4: s.HorizontalConstraint(entity=g[2], addUndoState=False)
4.1: p = mdb.models['Model-1'].Part(name='Konsole', dimensionality=TWO_D_PLANAR, type=DEFORMABLE_BODY)
5: p = mdb.models['Model-1'].parts['Konsole'] f = p.faces
6: mdb.models['Model-1'].HomogeneousSolidSection(.......)
7: p = mdb.models['Model-1'].parts['Konsole']
8: faces = f.getSequenceFromMask(mask=('[#1 ]', ), )
9: a = mdb.models['Model-1'].rootAssembly
10: e1 = a.instances['Konsole-1'].edges
11: v11 = a.instances['Konsole-1'].vertices
12: elemType1 = mesh.ElemType(elemCode=CPS8R, elemLibrary=STANDARD)
These are taken from a complete (running) script. I am new to the forum and I don't know how to upload the ".py"- file. Excuse me for this. I will put a link to Dropbox with the file!
Link
Your help will be very appreciated!
Regards,
Nicco
I am currently working on a small project and my task is to create Python- scripts for Abaqus that will improve the efficiency of our analysis.
I was wondering if any of You could help me understand what stands behind the following lines:
1: s = mdb.models['Model-1']
1.1: s.setPrimaryObject(option=STANDALONE)
2: g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
3: s.Line(.......)
4: s.HorizontalConstraint(entity=g[2], addUndoState=False)
4.1: p = mdb.models['Model-1'].Part(name='Konsole', dimensionality=TWO_D_PLANAR, type=DEFORMABLE_BODY)
5: p = mdb.models['Model-1'].parts['Konsole'] f = p.faces
6: mdb.models['Model-1'].HomogeneousSolidSection(.......)
7: p = mdb.models['Model-1'].parts['Konsole']
8: faces = f.getSequenceFromMask(mask=('[#1 ]', ), )
9: a = mdb.models['Model-1'].rootAssembly
10: e1 = a.instances['Konsole-1'].edges
11: v11 = a.instances['Konsole-1'].vertices
12: elemType1 = mesh.ElemType(elemCode=CPS8R, elemLibrary=STANDARD)
These are taken from a complete (running) script. I am new to the forum and I don't know how to upload the ".py"- file. Excuse me for this. I will put a link to Dropbox with the file!
Link
Your help will be very appreciated!
Regards,
Nicco