- 1、本文档共3页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
abaqus系列之2维图形导出
如何通过二维odb或者inp文件网格导出二维图形,进而extrude生成三维网格。
答案:script命令:
PartFromOdb(...)
PartFromInstanceMesh(...)
Part2DGeomFrom2DMesh(...)
PartFromExtrude2DMesh(...)
PartFromSection3DMeshByPlane(...)
以下的两个py文件为abaqus 6.6版本支持的py文件
参考py文件(从odb文件中导出):
Reads the output database 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 used to create a 2D solid part which
can be meshed by the user.
from abaqus import *
from abaqusConstants import *
import part
# NOTE: USER MUST DEFINE THESE VARIABLES.
odbName = Job-2.odb # Name of output database 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 = mdb.models[Model-1].PartFromOdb(fileName=odbName,
name=orphanBillet,
instance=orphanInstance,
shape=deformedShape,
step=importStep)
# Extract 2D profile and create a solid part.
newBillet = mdb.models[Model-1].Part2DGeomFrom2DMesh(name=newBillet,
part=orphanBillet,
featureAngle=angle)
newBillet1 = mdb.models[Model-1].PartFromExtrude2DMesh(name=newBillet1,
depth=20,
part=orphanBillet,
elementSize=5)
print Deformed billet is now ready for rezoning.
参考py文件(从inp文件中导出)
Reads the output database 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 used to create a 2D solid part which
can be meshed by the user.
from abaqus import *
from abaqusConstants import
您可能关注的文档
- 8个月宝宝辅食添加攻略.docx
- 8个剖析心理游戏.doc
- 8个要点14个严禁.doc
- 8个与〔蛋糕)相关的习语.docx
- 8个最有效网店推广方式.doc
- 8上1词多义教师2.doc
- 8十年代1个大写的时代.doc
- 8内存引起的常见故障和解决办法.doc
- 8哥5笔打字员5笔输入法教程.docx
- 8个严禁512个不准自检报告.doc
- 《JJF 2132-2024荧光紫外灯人工气候老化试验装置校准规范:辐射照度参数》.pdf
- JJF 2120-2024轮速传感器校准规范.pdf
- 计量规程规范 JJF 2120-2024轮速传感器校准规范.pdf
- 《JJF 2129-2024钙钛矿太阳电池校准规范:光电性能参数》.pdf
- JJF 2129-2024钙钛矿太阳电池校准规范:光电性能参数.pdf
- 《JJF 2120-2024轮速传感器校准规范》.pdf
- JJF 2117-2024沥青混合料理论最大相对密度仪校准规范.pdf
- JJF 2116-2024特定蛋白分析仪校准规范.pdf
- 《JJF 2116-2024特定蛋白分析仪校准规范》.pdf
- 计量规程规范 JJF 2117-2024沥青混合料理论最大相对密度仪校准规范.pdf
文档评论(0)