a = mdb.models['Model-1'].rootAssembly
a.regenerate()
p = mdb.models['Model-1'].parts['UDcomp']
p.seedPart(size=1.0, deviationFactor=0.1, minSizeFactor=0.1)
p.generateMesh()
暂时没有
暂时没有
p = mdb.models['Model-1'].parts['UDcomp']
p.seedPart(size=1.0, deviationFactor=0.1, minSizeFactor=0.1)
c = p.cells
pickedRegions = c.getSequenceFromMask(mask=('[#ffffffff:3 #3fffff ]', ), )
p.setMeshControls(regions=pickedRegions, elemShape=HEX_DOMINATED)
p.generateMesh()
p = mdb.models['Model-1'].parts['UDcomp']
p.seedPart(size=1.0, deviationFactor=0.1, minSizeFactor=0.1)
c = p.cells
pickedRegions = c.getSequenceFromMask(mask=('[#ffffffff #3fffffff ]', ), )
p.setMeshControls(regions=pickedRegions, elemShape=WEDGE)
p.generateMesh()
有的时候EasyPBC会报错,就改成下面这样子
p = mdb.models['Model-1'].parts['UDcomp']
p.seedPart(size=1.0, deviationFactor=0.1, minSizeFactor=0.1)
c = p.cells
pickedRegions = c.getSequenceFromMask(mask=('[#ffffffff:4 #7fffff ]', ), )
p.setMeshControls(regions=pickedRegions, elemShape=WEDGE)
p = mdb.models['Model-1'].parts['UDcomp']
p.generateMesh()
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删