作者harry750265 (O咖称)
看板Cad_Cae
标题[问题] comsol 2d的范例 转成 3d去做的疑问
时间Wed Nov 18 23:38:14 2009
小弟最近从 COMSOL model library 抓了一个练习题来做
题目:
Turbulent Flow Through a shell and tube heat exchanger
设定periodic conditions求解,
怪的是依照文件设定可以做出来,
但是小弟企图把model改成3D就失败了, (文件本来设定是2D的),
求解失败的error message 如下:
Exception:
com.femlab.jni.FlNativeException:
Matrix has zero on diagonal for the SSOR update submatrix
in the Vanka algorithm
Messages:
Matrix has zero on diagonal for the SSOR update submatrix
in the Vanka algorithm
Segregated group X1
Stack trace:
at lsvanka.cpp, row 499, ()
at segregsolver.cpp, row 965, ()
at com.femlab.solver.FlSolver.femStatic(Native Method)
at com.femlab.solver.FemStatic.run(Unknown Source)
at com.femlab.server.FlRunner.run(Unknown Source)
at com.femlab.util.i.run(Unknown Source)
at com.femlab.util.ae.run(Unknown Source)
他的意思好像是说对角矩阵的值是0要update submatrix在Vanka algorithm,
但是要怎麽update or 让对角矩阵的值不是0 ?
还是小弟会错意了呢??!!
以上
烦请comsol高手神人大大下凡来解答
跪求...感谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 58.114.87.49
1F:→ airplane0525:我猜是产生零矩阵,解决方法使用不同的迭带解法 11/20 11:43
2F:→ airplane0525:或是改变网格的密度,去闪开零矩阵的产生 11/20 11:44