波动传说分享 http://blog.sciencenet.cn/u/zsunnywell 未来是非线性的高科技时代!

博文

COMSOL使用问题9:undefined value found solvermodel

已有 14169 次阅读 2011-12-11 20:25 |个人分类:应用软件|系统分类:科研笔记| comsol

---------------------------------------------------------------------
Error: 7248
Undefined value found.

Details:
Exception:
com.femlab.jni.FlNativeException: Undefined value found Solvermodel
Messages:
Undefined value found Solvermodel

Stack trace:
at solvermodel.cpp, row 1837, (Undefined value found in the equation residual vector.
There are 85 degrees of freedom giving NaN/Inf in the vector for the variable phii
at coordinates: (0.000493076,-5.8675e-005), (0.00049406,-5.80051e-005), (0.000495044,-5.73351e-005), (0.000494026,-5.58557e-005), (0.000493041,-5.65256e-005), ... 
)
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.aa.run(Unknown Source)
----------------------------------------------------------------------------

————————————————————————————————————————————————————————
发现类似undefined value found solvermodel的问题一般可能是初始值或者边界设定引起的,也有可能是网格的问题,可以尝试以下方法:
1,修改初始值,使其不为0.(需要将“求解参数管理器”中改为“使用初始值表达式”);
2,如果是修改模型尺寸引起的,可以在计算正确的一种尺寸下,使用当前解作为初始值,慢慢逼近你的目标尺寸。
3,修改网格精度。


https://wap.sciencenet.cn/blog-506324-517421.html

上一篇:COMSOL使用问题8:计算声子晶体传输系数【部分解决】
收藏 IP: 117.32.153.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (1 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-1 11:58

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部