|
[Sponsors] |
September 5, 2012, 22:07 |
Why simulation results showing "nan" values?
|
#1 |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Hello everyone,
I am running solidDisplacementFoam for 3D model. After simulation log file is showing "nan" values as given below: Iteration: 98 GAMG: Solving for T, Initial residual = 3.24013e-09, Final residual = 3.24013e-09, No Iterations 0 Min/Max/Ave T:-99.9999 99.9998 4.79039 GAMG: Solving for Dx, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dy, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dz, Initial residual = nan, Final residual = nan, No Iterations 1000 Min/Max/Ave DEqnnan nan nan) (nan nan nan) (nan nan nan) ExecutionTime = 19286.7 s ClockTime = 19301 s Iteration: 99 GAMG: Solving for T, Initial residual = 3.24013e-09, Final residual = 3.24013e-09, No Iterations 0 Min/Max/Ave T:-99.9999 99.9998 4.79039 GAMG: Solving for Dx, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dy, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dz, Initial residual = nan, Final residual = nan, No Iterations 1000 Min/Max/Ave DEqnnan nan nan) (nan nan nan) (nan nan nan) ExecutionTime = 19321.6 s ClockTime = 19336 s Iteration: 100 GAMG: Solving for T, Initial residual = 3.24013e-09, Final residual = 3.24013e-09, No Iterations 0 Min/Max/Ave T:-99.9999 99.9998 4.79039 GAMG: Solving for Dx, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dy, Initial residual = nan, Final residual = nan, No Iterations 1000 GAMG: Solving for Dz, Initial residual = nan, Final residual = nan, No Iterations 1000 Min/Max/Ave DEqnnan nan nan) (nan nan nan) (nan nan nan) Max sigmaEq = nan ExecutionTime = 19357.5 s ClockTime = 19372 s Does anyone have any idea why this problem is coming? Thanks, Sangeeta |
|
September 6, 2012, 15:45 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Sangeeta,
That basically means that the solver started to diverge when trying to solve Dx, Dy and Dz. You should look higher in the log file and look for where the simulation starts diverging. It can happen due to several reasons:
About keeping a log: taking as an example the tutorial "stressAnalysis/solidDisplacementFoam/plateHole", you can easily run that tutorial and clean that case by running the following commands:
Bruno
__________________
|
|
September 6, 2012, 23:06 |
|
#3 | |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Quote:
Hi Bruno, Thank you for the reply. I have generated a 3D mesh in snappyHexMesh and using this mesh for solving stress analysis by using solidDisplacementFoam solver. I have re-checked my boundary conditions, and fvSchemes (relaxation value etc.). I have used tighter tolerance and increased number of ncorrectors but still I am having same problem. I have gotten good simulation results for similar problem for 2D. Do you think that this problem is coming because of 3D geometry? Thanks in advance. Regards, Sangeeta |
||
September 8, 2012, 15:21 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Sangeeta,
OK, there are two other points you can check/test:
Bruno
__________________
|
|
September 10, 2012, 13:37 |
|
#5 | |
Member
Sangeeta
Join Date: Jul 2012
Location: Kingston, Canada
Posts: 70
Rep Power: 14 |
Quote:
Thanks a lot for the reply. I hope this will help to solve my problem. Regards, Sangeeta |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bubble Column Simulation: Different Turbulence Models different results | zobekenobe | CFX | 5 | January 28, 2013 10:02 |
Different results between 3 processors simulation and 7 processors simulation | mfmohdyasin | OpenFOAM Programming & Development | 1 | August 27, 2012 05:07 |
Simulation of a complex wing in solidworks flow simulation | niels1900 | FloEFD, FloWorks & FloTHERM | 6 | April 20, 2011 11:44 |
Gravity g's influence on Simulation Results | Colin | Main CFD Forum | 6 | November 2, 2003 15:13 |
graphical handling of simulation results | yf yap | Main CFD Forum | 3 | February 12, 2001 20:35 |