当前位置:网站首页>标准化钢箱梁abaqus模型建立,使用RSG的插件二次开发
标准化钢箱梁abaqus模型建立,使用RSG的插件二次开发
2022-04-22 12:28:00 【安设一声77】
所以我们通过实际建模来获得完整的代码命令
1.是使用python reader 直接读取显示(之前有过介绍,读者可以去前面的博客中下载)
再python中用 def function(x,y) :定义函数
#附上函数代码
from abaqus import *
from abaqusConstants import *
import math
def createPlateFunction(SB1, SB2, H):
s = mdb.models['Model-1'].ConstrainedSketch(name='__profile__',
sheetSize=10000.0)
g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
s.setPrimaryObject(option=STANDALONE)
s.rectangle(point1=(0.0, 0.0), point2=(SB2, H))
s.Line(point1=(0.0, H), point2=(-SB1, H))
s.HorizontalConstraint(entity=g[6], addUndoState=False)
s.PerpendicularConstraint(entity1=g[2], entity2=g[6], addUndoState=False)
s.Line(point1=(-SB1, H), point2=(-SB1, (H - 500)))
s.VerticalConstraint(entity=g[7], addUndoState=False)
s.PerpendicularConstraint(entity1=g[6], entity2=g[7], addUndoState=False)
s.Line(point1=(-SB1, (H - 500)), point2=(0.0, (H - 750)))
p = mdb.models['Model-1'].Part(name='Part-1', dimensionality=THREE_D,
type=DEFORMABLE_BODY)
p = mdb.models['Model-1'].parts['Part-1']
p.BaseShellExtrude(sketch=s, depth=5000.0)
s.unsetPrimaryObject()
p = mdb.models['Model-1'].parts['Part-1']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Model-1'].sketches['__profile__']
plug就是插头的意思,一会生成的插件也会出现在这里。
然后在kernel中导入保存好的py文件,就是上面出现的那个函数文件
版权声明
本文为[安设一声77]所创,转载请带上原文链接,感谢
https://blog.csdn.net/cywtiancai/article/details/80553599
边栏推荐
- STM32F429BIT6 SD卡模拟U盘
- [concurrent programming 052] talk about double check lock and its advantages?
- Base64 encryption, decryption and JSON processing
- 4.21学习记录 DP记录路径(LCS)树上背包(选课)一般树形DP(没有上司的舞会)
- 低频(LF)RFID 智能终端
- [in depth understanding of tcallusdb technology] description of data interface for batch deletion of specified location in list - [list table]
- Take you to Huawei cloud Conference [play with Huawei cloud]
- Pytorch processes RNN input variable length sequence padding
- Express Can‘t set headers after they are sent. problem
- 带你详细入门华为云会议【玩转华为云】
猜你喜欢
随机推荐
Efr32 crystal calibration guide
JS基础11
Cas 4 - 1.7: transfert de fichiers (et recherche d'ensembles)
【深入理解TcaplusDB技术】删除列表所有数据接口说明——[List表]
[concurrent programming 054] multithreading status and transition process?
Partagez quelques conseils pratiques que vous avez accumulés sur un projet mobile récemment écrit
Concept and operation of stack
案例4-1.7:文件傳輸(並查集)
base64加密解密和json处理
Read attention concatenation volume for accurate and efficient stereo matching
About the case of server URL
ROS2学习笔记(八)从turtlesim学习ROS2的启动文件
ROS2学习笔记(七)从turtlesim学习ROS2的工具
[concurrent programming 047] cache locking performance is better than bus locking. Why not eliminate bus locking?
【深入理解TcaplusDB技术】扫描数据接口说明——[List表]
【并发编程055】如下守护线程是否会执行finally模块中的代码?
Share some practical skills accumulated in a recent mobile terminal project
CPU和GPU有什么区别?
What is the lifecycle of automated testing?
【并发编程050】内存屏障的种类以及说明?









![【深入理解TcaplusDB技术】将数据插入到列表指定位置接口说明——[List表]](/img/ed/cccd5dee09d2f0a3e6c788bd265b36.png)