在使用PDE求解二维轴对称问题时,由于COMSOL的自定义PDE功能是基本的数学接口,软件没有任何预定义的设置,PDE模型里就缺少轴对称边界上的约束,计算时经常会出现下面的错误提示:error:Undefined value found.
- Detail: Undefined value found in the stiffness matrix.
There are 10 equations giving NaN/Inf in the matrix rows for the variable mod1.E10
at coordinates: (0.0324167,0.001), (0.0319583,0.001), (0.0318297,0.00130184), (0.0321595,0.00160369), (0.0326178,0.00160369), ...
There are 2 equations giving NaN/Inf in the matrix rows for the variable mod1.E20
at coordinates: (0.0322881,0.00130184), (0.0318297,0.00175251), ...
There are 2 equations giving NaN/Inf in the matrix rows for the variable mod1.E21
at coordinates: (0.0322881,0.00130184), (0.0318297,0.00175251), ...
and similarly for the degrees of freedom, NaN/Inf in the matrix columns