找回密码
 注册
查看: 2749|回复: 3

[讨论]Error: Floating point error: invalid number.错误的原

[复制链接]
发表于 2007-6-3 20:26:23 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
大家好,我在计算的过程中,,总是出现这样的错误
Error: Floating point error: invalid number
Error Object: ()
想来想去不知道是什么原因错了??
应该不是发散?/可是是什么呢??原因是什么呢??
应该修改哪里才会改善这种情况??
请高手提点一下,,谢谢了
发表于 2007-6-3 20:53:31 | 显示全部楼层

[讨论]Error: Floating point error: invalid number.错误的原因??

我试了一天,也没有找到答案 郁闷
iter continuity x-velocity y-velocity          k    epsilon vf-phase-2     time/iter
Error: Floating point error: invalid number
Error Object: ()
发表于 2007-6-3 22:59:12 | 显示全部楼层

[讨论]Error: Floating point error: invalid number.错误的原因??

我也遇到过,还请高人分析一下
发表于 2007-6-4 10:16:25 | 显示全部楼层

[讨论]Error: Floating point error: invalid number.错误的原因??

[edit] What does "floating point error" mean? How can I avoid it?
The floating point error has been reported many times and discussed a lot. Here are some of the answers found in the Fluent Forum:
From numerical computation view point , the basic operations performed by computer are represented inside computer in what is called floating point numbers. The errors that are either because of invalid numeric computation initiated by user or limitation of machine that is used are floating point errors.
1)Invalid Operations:- Simplest example is if one uses Newton Raphson root finding method to solve f(x)=0 and for some Nth iteration if we get x = x(N) such that derivative of function f(x), f';(x(N))=0 then formula for calculating next iterate x(N+1) = x(N) - f(x(N))/f';(x(N)) requires division by f';(x(N)) which is zero. Here you get divide by zero type of floating point error.
2) Over or Underflow:- Another type is having data with either too large or too small magnitude called ';overflow'; or ';underflow'; respectively.Such data cannot be physically represented on computer for direct processing by arithmetic processing part of Processor.
3) Rounding off errors :- While rounding off a decimal number , some significant digits are lost which cannot be recovered . e.g. if we round off 0.1 to integer (not greater than it called ';floor'; of the given no.) then it is zero. If this value if further used for computation then it may lead to several errors.
SOLVER AND ITERATION -----I think if you set shorter time step, it may be good. Or changing little Under-Relaxiation-Factors, it may be good. In my experience, I set 1/3 Under-Relaxiation-Factors as default.� -----�also lower the values of under relaxation factor and use the coupled implicit solver� -----�Try to change under-relaxation factors and if it is unsteady problem maybe time step is to large.� -----�you can improve the ratio in the solve--control--limits, maybe that can help.� -----�you will need to decrease the Courant number� -----�If you still get the error, initialize the domain with nothing to ';Compute from...'; Then click ';init';. Again select the surface from which you want to compute the initial values & iterate. This should work.� -----�Another reason could be a to high courant number - that means, that the steps between two iterations are too large and the change in the results is too large as well (high residuals)�
GRID PROBLEMS -----�this error comes when I start scaling grid. in gambit, all my dimension is in mm, when in fluent i convert it in meter using buttone SCALE. after it, when i iterate, about hundred iteration, this error appeared. but when i not scale my drawing to m...and let it be as in gambit..then the iteration is success. -----�hi I think you should check your mesh grid mesh is very high. your problem solve by selection a low mesh.� -----�Your mesh is so heavy that your computers resources are not enough. try to use coarser mesh.�
BOUNDARY CONDITIONS -----�In my case I had set a wall boundary condition instead of an axis boundary condition and then FLuent refuses to calculate telling me ';floating point error';.� -----�Your Boudary Conditions do not represent real physis.� -----�wrong boundary condition definition might cause the floating point error. For example setting an internal boundary as interior� -----�Once I had the problem, simulating a 2D chamber with a symmetry BC. I set the symmetry somewhere as �axe symmetric� and the floating point error occur� -----�check the turbulence parameter you set. reduce the turbulence intensity to less that one for first, say 50 iterations.
MULTI PROCESSOR ISSUES -----"I';ve had similar problems recently with floating point errors on a multi processor simulation. The solution for my problem seems to be to run on a single processor, where it runs fine....?�
WRONG INITIATION ----- Initiating the case with wrong conditions may lead to floating point error when the iterations start.
[br][br][以下内容由 xlb 在 2007年06月04日 10:17am 时添加] [br]
我试了  还是没有解决
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表