#1 Step-by-Step Guide for Professional ABAQUS-Python Scripting - Create Part

Dr.-Ing. Ronald Wagner
Dr.-Ing. Ronald Wagner
9.8 هزار بار بازدید - 4 سال پیش - from abaqus import *from abaqusConstants
from abaqus import *
from abaqusConstants import *




functions


def Create_Part_3D_Cylinder(radius,length,thickness,part,model):
   s1 = mdb.models[model].ConstrainedSketch(name='__profile__', sheetSize=200.0)
   g, v, d, c = s1.geometry, s1.vertices, s1.dimensions, s1.constraints
   s1.setPrimaryObject(option=STANDALONE)
   s1.CircleByCenterPerimeter(center=(0.0, 0.0), point1=(radius, 0.0))
   s1.CircleByCenterPerimeter(center=(0.0, 0.0), point1=(radius-thickness, 0.0))
   p = mdb.models[model].Part(name=part, dimensionality=THREE_D, type=DEFORMABLE_BODY)
   p = mdb.models[model].parts[part]
   p.BaseSolidExtrude(sketch=s1, depth=length)
   s1.unsetPrimaryObject()
   p = mdb.models[model].parts[part]
   del mdb.models[model].sketches['__profile__']






variables


myString = "Buckling_Analysis"




myRadius = 25.0
myThickness = 2.5
myLength = 526.0
myModel = mdb.Model(name=myString)
myPart = "Cylinder"




Create_Part_3D_Cylinder(myRadius,myLength,myThickness,myPart,myString)










#buckling #abaqus #abaqustutorial #hnrwagner


Researchgate Profile
https://www.researchgate.net/profile/...
Mendeley Profile
https://www.mendeley.com/profiles/ron...
Google Scholor Profile
https://scholar.google.de/citations?u...
Scopus Profile
https://www.scopus.com/authid/detail....
ORCID iD
https://orcid.org/0000-0003-2749-1455
4 سال پیش در تاریخ 1399/09/12 منتشر شده است.
9,890 بـار بازدید شده
... بیشتر