作者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