本期推文分享MFEAOOP V1.2的主要更新内容,对于一些功能细节可在以后推文中逐一介绍。
现将配置文件的控制选项罗列如下:
{
"name": "C3D4", //Job name
"scale": 1, // Scale factor for the model
"inpFileName" : "./input/Abaqus/C3D4.inp", // Abaqus input file location
"mesh" : {
"etype" : "C3D4" // Element type
},
"materials" : [
{
"name" : "Material-1", // Material name
"category" : "Elastic", // Material category
"data" : {
"E" : 1E6, // Young's modulus
"v" : 0.3 // Poisson's ratio
}
}
],
"bc" : [
{
"name" : "fix1", // Boundary condition name
"type": "constraint", // Boundary condition type
"direction": "xyz", // Boundary condition direction
"nset" : "Set-FIX" // Node set name
},
{
"name" : "dis1", // Boundary condition name
"type": "displacement", // Boundary condition type
"direction": "xyz", // Boundary condition direction
"nset" : "Set-FIX", // Node set name
"value" : 2 // Displacement value
},
{
"name" : "pressure1", // Boundary condition name
"type": "pressure", // Boundary condition type
"surface" : "Surf-1", // Surface name
"value" : 100 // Pressure value
},
{
"name" : "Gravity1", // Boundary condition name
"type": "gravity", // Boundary condition type
"density" : 9.8, // Density value
"gravity" : 9.8 // Gravity value
}
],
"solve" : {
"calculateStress": false, // Whether to calculate stress
"solver" : "pcg", // Solver type(direct or pcg)
"tolerance": 1e-8, // Tolerance for the pcg solver
"maxIterations": 1000 // Maximum number of iterations for the pcg solver
},
"plot" : {
"fields" : ["Umag"], // Fields to plot(Umag U1 U2 U3 RFmag RF1 RF2 RF3 S11 S22 S33 S12 S13 S23 Mises)
"average" : "volume", // Averaging method(volume or simple)
"edgeColor" : "#000080", // Edge color
"faceColor" : "#77AC30", // Face color
"alpha" : 1, // Transparency
"colorMap" : "abaqus", // Color map
"discretize" : false, // Whether to discretize the color map
"discretizeNum" : 12 // Number of discretization intervals
}
}
本次要测试的模型如下,一侧固定 XYZ 自由度方向的自由度,上表面承受表面压强荷载100,整个模型受到向下的重力荷载,密度和重力加速度均取9.8,以 C3D4、C3D10、C3D8、C3D20 单元为例,与 Abaqus 做对比验证 MFEA程序的精度。
注: 由于应力分量个数较多,一一对比时占据较多篇幅,故只取Mises应力对比分析。
场信息 | MFEA | Abaqus |
---|---|---|
Umag | ||
U1 | ||
U2 | ||
U3 | ||
RFmag | ||
RF1 | ||
RF2 | ||
RF3 | ||
Mises |
场信息 | MFEA | Abaqus |
---|---|---|
Umag | ||
U1 | ||
U2 | ||
U3 | ||
RFmag | ||
RF1 | ||
RF2 | ||
RF3 | ||
Mises |
场信息 | MFEA | Abaqus |
---|---|---|
Umag | ||
U1 | ||
U2 | ||
U3 | ||
RFmag | ||
RF1 | ||
RF2 | ||
RF3 | ||
Mises |
场信息 | MFEA | Abaqus |
---|---|---|
Umag | ||
U1 | ||
U2 | ||
U3 | ||
RFmag | ||
RF1 | ||
RF2 | ||
RF3 | ||
Mises |
如下图所示的“埃菲尔铁塔”模型,其材料属性为:弹性模量E=1.0E6,泊松比v=0.3,密度ρ=9.8,重力加速度取-9.8。现考虑自重作用下,塔结构的位移场变化,使用MFEA求解并对比Abaqus求解结果。(模型来自B站up主@MOYE_Zgc
)
以上就是整理的MFEA和Abaqus的场信息对比,除了C3D8单元之外其余单元的精度均得到很好的验证。Abaqus对C3D8单元采用BAR修正,MFEA V1.2版尚未对单元的刚度矩阵进行特殊修正, 留在V1.3版本进行修改。
除此之外,MFEA V1.3将会配合《有限元基础编程百科全书》增加更多单元类型,将为读者用户展现更多有限元编程的乐趣。