[英]Python Script for reference node in abaqus
I want to create a reference node using python for abaqus. 我想使用python为abaqus创建参考节点。 In the input file, I can easily do it, as below: *Node 1, x,y,z *Nset, nset=SET-1 1,
在输入文件中,我可以很容易地做到这一点,如下所示:* Node 1,x,y,z * Nset,nset = SET-1 1,
But I am struggling to do it by scripting it. 但是我很难通过编写脚本来做到这一点。 I have an orphan mesh, so I don't have a part.
我有一个孤立的网格,所以没有任何部分。 Could someone provide some insight into this problem?
有人可以对此问题提供一些见识吗? Thanks.
谢谢。
If you mean a reference point (which seems to be the case from the informations you provided), you can just use (for example in the python console in CAE) 如果您指的是参考点 (从您提供的信息来看似乎是这种情况),则可以使用(例如在CAE的python控制台中)
# Assign the rootAssembly to a (just to shorten a little bit the next command)
a = mdb.models['Your model'].rootAssembly
# Create a reference point at (x,y,z)
a.ReferencePoint(point=(x, y, z))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.