[問題] comsol 2d的範例 轉成 3d去做的疑問

看板Cad_Cae作者 (O咖稱)時間14年前 (2009/11/18 23:38), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
小弟最近從 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

11/20 11:43, , 1F
我猜是產生零矩陣,解決方法使用不同的迭帶解法
11/20 11:43, 1F

11/20 11:44, , 2F
或是改變網格的密度,去閃開零矩陣的產生
11/20 11:44, 2F
文章代碼(AID): #1B11JhhH (Cad_Cae)