Unknown assembly set MASTER_NODE1
最近在学abaqus的二次开发,我先通过GUI操作生成rpy文件,然后把它改成.py文件(有删减部分命令行),然后导入abaqus运行,现在遇到一个问题:
in keyword *EQUATION, file "Job-Testscript.inp", line 75: Unknown assembly set MASTER_NODE1
in keyword *EQUATION, file "Job-Testscript.inp", line 75: Unknown assembly set MASTER_NODE0
in keyword *EQUATION, file "Job-Testscript.inp", line 81: Unknown assembly set MASTER_NODE1
in keyword *EQUATION, file "Job-Testscript.inp", line 81: Unknown assembly set MASTER_NODE0
in keyword *EQUATION, file "Job-Testscript.inp", line 86: Unknown assembly set MASTER_NODE2
in keyword *EQUATION, file "Job-Testscript.inp", line 86: Unknown assembly set MASTER_NODE0
Analysis Input File Processor exited with an error.
就是我明明定义了点集,但是在GUI界面上却没有生成(如图),.py文件,inp文件如附件,求大神指导!
(PS:我通过GUI操作得到的结果是没问题的)
a = mdb.models['Model-1'].rootAssembly p = mdb.models['Model-1'].parts['Plane'] a.Instance(name='Plane-1', part=p, dependent=ON) #### n1 = a.instances['Plane-1'].nodes nodes1 = n1[19:20] a.Set(nodes=nodes1, name='yz0_node1') #: The set 'yz0_node1' has been created (1 node). nodes2 = n1[14:15] a.Set(nodes=nodes1, name='yz0_node2') #: The set 'yz0_node2' has been created (1 node). nodes3 = n1[9:10] a.Set(nodes=nodes1, name='yz0_node3') #: The set 'yz0_node3' has been created (1 node). nodes4 = n1[15:16] a.Set(nodes=nodes1, name='yz1_node1') #: The set 'yz1_node1' has been created (1 node). nodes5 = n1[10:11] a.Set(nodes=nodes1, name='yz1_node2') #: The set 'yz1_node2' has been created (1 node). nodes6 = n1[5:6] a.Set(nodes=nodes1, name='yz1_node3') #: The set 'yz1_node3' has been created (1 node). nodes7 = n1[23:24] a.Set(nodes=nodes1, name='xz0_node1') #: The set 'xz0_node1' has been created (1 node). nodes8 = n1[22:23] a.Set(nodes=nodes1, name='xz0_node2') #: The set 'xz0_node2' has been created (1 node). nodes9 = n1[21:22] a.Set(nodes=nodes1, name='xz0_node3') #: The set 'xz0_node3' has been created (1 node). nodes10 = n1[3:4] a.Set(nodes=nodes1, name='xz1_node1') #: The set 'xz1_node1' has been created (1 node). nodes11 = n1[2:3] a.Set(nodes=nodes1, name='xz1_node2') #: The set 'xz1_node2' has been created (1 node). nodes12 = n1[1:2] a.Set(nodes=nodes1, name='xz1_node3') #: The set 'xz1_node3' has been created (1 node). nodes13 = n1[24:25] a.Set(nodes=nodes1, name='master_node0') #: The set 'master_node0' has been created (1 node). nodes14 = n1[20:21] a.Set(nodes=nodes1, name='master_node1') #: The set 'master_node2' has been created (1 node). nodes15 = n1[0:1] a.Set(nodes=nodes1, name='master_node2') #: The set 'master_node3' has been created (1 node). nodes16 = n1[4:5] a.Set(nodes=nodes1, name='master_node3') #: The set 'master_node4' has been created (1 node). d11 = a.datums a.ReferencePoint(point=d11[1].origin) r1 = a.referencePoints refPoints1=(r1[20], ) a.Set(referencePoints=refPoints1, name='RP') #: The set 'RP' has been created (1 reference point).