XFEM富集域的定义如何通过python代码实现? 40

浏览:1934

Data lines for TYPE=ENRICHMENT: 

First line:

1、Element number or element set label.

2 、Relative position of the node forming the element connectivity.

3、Name of the enriched feature specified on the *ENRICHMENT option.

4、Value of first signed distance function.

5、Value of second signed distance function. Leave this entry blank if only the first signed distance function is needed.

Repeat this data line as often as necessary to define initial signed distance functions in various elements or element sets. The signed distance functions must be defined at all nodes within an element.

例:

Part-1-1.953, 1,Crack-1, 0.254286, -0.212766

Part-1-1.953, 2,Crack-1, 0.254286, 0.18617

Part-1-1.953, 3,Crack-1, -0.254286, 0.18617

Part-1-1.953, 4,Crack-1, -0.254286, -0.212766

Part-1-1.953, 5,Crack-1, 0.254286, -0.212766

Part-1-1.953, 6,Crack-1, 0.254286, 0.18617

Part-1-1.953, 7,Crack-1, -0.254286, 0.18617

Part-1-1.953, 8,Crack-1, -0.254286, -0.212766

Part-1-1.21318, 1,Crack-1, 0.254286, 0.18617

Part-1-1.21318, 2,Crack-1, 0.254286, 0.18617

Part-1-1.21318, 3,Crack-1, -0.254286, 0.18617

Part-1-1.21318, 4,Crack-1, -0.254286, 0.18617

Part-1-1.21318, 5,Crack-1, 0.254286, -0.212766

Part-1-1.21318, 6,Crack-1, 0.254286, -0.212766

Part-1-1.21318, 7,Crack-1, -0.254286, -0.212766

上面是帮助文档里的定义,在inp文件中以上的定义会针对不同单元重复上百行,如何通过python实现快捷简明的定义


邀请回答 我来回答

当前暂无回答

回答可获赠 200金币

没解决?试试专家一对一服务

换一批