运行出错
-
运行的时候一直出错,有没有大神可以帮忙看一下是什么问题啊
#0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:? #4 Foam::GaussSeidelSmoother::smooth(Foam::Field<double>&, Foam::Field<double> const&, unsigned char, int) const at ??:? #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #6 Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:? #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:? #8 Foam::fvMatrix<double>::solve() at ??:? #9 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<double> > const&) at ??:? #10 Foam::kOmegaSST<Foam::eddyViscosity<Foam::RASModel<Foam::IncompressibleTurbulenceModel<Foam::transportModel> > >, Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() at ??:? #11 ? at ??:? #12 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #13 ? at ??:? 浮点数例外 (核心已转储)
-
只不过是发散了,很多原因导致,无法判断出具体原因。
-
@赵一铭 那么请问,导致发散的原因有哪些呢?怎么进行进一步的判断?
-
@lv1995 你好,我也遇到了这种情况,请问你算的是什么?你的time step continuity errors怎么样?我是算压缩机,我的time step continuity errors特别大。
-
我算的是风力机,我的time step continuity errors还好,但是NO iteration特别大,改了一下以后好像可以算了
这个是找到的发散的原因 http://blog.sina.com.cn/s/blog_5fdfa7e601010rkx.html -
@lv1995 根据你给的链接,发现我的问题出在非正交修正。我的网格正交性较差,修改了非正交修正次数后,计算就不发散了,得到了结果。十分感谢!
-
@Izumi 我的网格也不是正交的,你用的什么网格?非正交修正次数改的多少呢?
-
@lv1995 网格这块我不太懂,应该是六面体网格。checkMesh检查出来的非正交性大概50-60,我把非正交修正次数从“0”改为“1”就不发散了,没试过更大的非正交修正系数。看教程上也说一般设置为“0”或“1”。
论坛登录问题反馈可联系 li.dy@dyfluid.com