abaqus系列之二维图形导出

更新时间:2023-07-15 07:17:54 阅读: 评论:0

如何通过二维odb或者inp文件网格导出二维图形,进而extrude生成三维网格。
答案:script命令:
慰问困难群众
PartFromOdb(...)
PartFromInstanceMesh(...)
Part2DGeomFrom2DMesh(...)
PartFromExtrude2DMesh(...)
PartFromSection3DMeshByPlane(...)
以下的两个py文件为abaqus 6.6版本支持的py文件
参考py文件(从odb文件中导出):
"""
Reads the output databa file and imports the deformed shape of
the billet at the end of step 1 as an orphan mesh part.  The
orphan mesh part is then ud to create a 2D solid part which
can be meshed by the ur.
"""
from abaqus import *
from abaqusConstants import *
import part
# NOTE:  USER MUST DEFINE THESE VARIABLES.
odbName = 'Job-2.odb'      # Name of output databa file.
modelName = 'Model-1'      # Model name.
orphanInstance = 'PART-1-1' # Deformed instance name.
deformedShape = DEFORMED    # Shape.可爱的睡前故事
angle = 15.0                # Feature angle.
书面沟通importStep = 2            # Step number.
# Import orphan mesh part.
orphanBillet = dels['Model-1'].PartFromOdb(fileName=odbName,
                                                name='orphanBillet',
                                                instance=orphanInstance,
                                                shape=deformedShape,
                                                step=importStep)
# Extract 2D profile and create a solid part.
newBillet = dels['Model-1'].Part2DGeomFrom2DMesh(name='newBillet',
                                                      part=orphanBillet,
                                                      featureAngle=angle)
                                                     
newBillet1 = dels['Model-1'].PartFromExtrude2DMesh(name='newBillet1',
                            depth=20,
小学二年级语文上册
                            part=orphanBillet,
                            elementSize=5)
print 'Deformed billet is now ready for rezoning.'
参考py文件(从inp文件中导出)
液状石蜡"""
Reads the output databa file and imports the deformed shape of
the billet at the end of step 1 as an orphan mesh part.  The
orphan mesh part is then ud to create a 2D solid part which席间
can be meshed by the ur.
"""
from abaqus import *
from abaqusConstants import *玩偶剧
import part
# NOTE:  USER MUST DEFINE THESE VARIABLES.
odbName = 'job0.odb'      # Name of output databa file.
modelName = 'Model-1'      # Model name.
orphanInstance = 'PART-1-1' # Deformed instance name.
deformedShape = DEFORMED    # Shape.
angle = 15.0                # Feature angle.
importStep = 0          # Step number.
point11 = (0, 0, 2)
戌时五行属什么point12 = (0, 0,  0)
point13 = (2, 2.5, 2)
mdb.ModelFromInputFile(name='Job-0', inputFileName='K:/ur/lg/Job-0.inp')
dels['Job-0'].parts['PART-1']
Billet = dels['Model-1'].PartFromSection3DMeshByPlane(name='Billet',
                              part=orphanBillet,
                              point1=point11,
                              point2=point12,
                              point3=point13)
                             
newBillet1 = dels['Model-1'].PartFromExtrude2DMesh(name='newBillet1',
                            depth=20,
                            part=Billet,
                            elementSize=5)

本文发布于:2023-07-15 07:17:54,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1082171.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:文件   导出   睡前   语文   答案
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图