abaqus采用python对模型进行几何操作

几何特征包括cell、face、edge和Vertex等。

有getSize(...)、getFaces()、getEdges()、getVertices()、getAdjacentCells()、 getNodes()、getElements()等函数对对象的信息进行提取。成员中包括index、isReferenceRep、pointOn、featureName、instanceName。

2、CellArray object可以通过findAt()、 getSequenceFromMask(...)、getMask()、getByBoundingBox(...)、getByBoundingCylinder(...)、getByBoundingSphere(...)、getBoundingBox()等函数获取对象。该对象无menbers。
3、Edge object
有getCurvature()、getFaces()、getAdjacentEdges()、 getEdgesByEdgeAngle(...)、 getNodes()、getElements()、getRadius()、getSize(...)、getVertices()等函数对对象的信息进行提取。

成员中包括index、isReferenceRep、pointOn、featureName、instanceName。

p = mdb.models[modelName].parts['NewSET']
Edges = p.edges#整个part的edges
es=Edges[i].getEdgesByEdgeAngle(5)

4、EdgeArray object

可以通过findAt()、 getClosest(...)、getSequenceFromMask(...)、getMask()、getByBoundingBox(...)、getByBoundingCylinder(...)、getByBoundingSphere(...)、getBoundingBox()等函数获取对象。该对象无menbers。

5、Face object
有getCentroid()、getCurvature()、getElements()、getElementFaces()、getNodes()、getNormal()、getFaces()、getSize(...)、getEdges()、getVertices()、getCell()、getAdjacentFaces()、 getFacesByFaceAngle(...)、 getFacesByCurvature()、 isNormalFlipped()等函数对对象的信息进行提取。

成员中包括index、isReferenceRep、pointOn、featureName、instanceName。

6、FaceArray object

可以通过findAt()、 getClosest(...)、getSequenceFromMask(...)、getMask()、getByBoundingBox(...)、getByBoundingCylinder(...)、getByBoundingSphere(...)、getBoundingBox()等函数获取对象。该对象无menbers。

7、Vertex object
有getEdges()、getNodes()、getElements()等函数对对象的信息进行提取。

成员中包括index、isReferenceRep、pointOn、featureName、instanceName。

8、VertexArray object

可以通过findAt()、 getClosest(...)、getSequenceFromMask(...)、getMask()、getByBoundingBox(...)、getByBoundingCylinder(...)、getByBoundingSphere(...)、getBoundingBox()等函数获取对象。该对象无menbers。总结:在几何特征的查找中,除了通过findAt精确查找外,还可以通过给定范围查找(分别为矩形、圆柱形以及球形范围)。

参考:

1、http://news.geeksci.cn/?p=2381

2、Abaqus官方文档

你可能感兴趣的:(数学建模)