|
[Sponsors] |
October 24, 2014, 05:08 |
''nan'' problem during calcuation
|
#1 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
Dear All,
I got a problem when i running a case after 13.7s and the error message are as follow. I dont know where to address the problem since there is no such file: /processor0/system/data Anyone know the reason of the error and how to fix it? Your idea will be appreciated Regards, Yage Code:
sixDoFRigidBodyMotion constraints converged in 1 iterations GAMG: Solving for cellDisplacementx, Initial residual = 0.000596631121592, Final residual = 8.80835806891e-07, No Iterations 1 GAMG: Solving for cellDisplacementy, Initial residual = 0.00253622052072, Final residual = 3.59717966112e-06, No Iterations 1 Execution time for mesh.update() = 0.400000000001 s time step continuity errors : sum local = 4.7209126193e-05, global = -2.81590345296e-14, cumulative = 1.33428814917e-11 GAMG: Solving for pcorr, Initial residual = 1, Final residual = 8.98927227239e-08, No Iterations 31 GAMG: Solving for pcorr, Initial residual = 0.0149491885051, Final residual = 8.39185354527e-08, No Iterations 18 time step continuity errors : sum local = 4.71626629007e-05, global = 9.40722598644e-16, cumulative = 1.33438222143e-11 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497798489543 Min(alpha1) = -1.8248782399e-20 Max(alpha1) = 1 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497792870625 Min(alpha1) = -1.52706361513e-19 Max(alpha1) = 1 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497787251904 Min(alpha1) = -8.64703258312e-20 Max(alpha1) = 1 DILUPBiCG: Solving for Ux, Initial residual = 0.00392932727907, Final residual = 2.87233874218e-10, No Iterations 4 DILUPBiCG: Solving for Uy, Initial residual = 0.0108536992625, Final residual = 1.26227260124e-10, No Iterations 4 GAMG: Solving for p_rgh, Initial residual = 0.0347651461109, Final residual = 6.94583913428e-08, No Iterations 13 GAMG: Solving for p_rgh, Initial residual = 0.00045207711816, Final residual = 8.32607727393e-08, No Iterations 9 time step continuity errors : sum local = 1.05245433716e-11, global = 8.80409595103e-13, cumulative = 1.42242318094e-11 GAMG: Solving for p_rgh, Initial residual = 0.000912468782066, Final residual = 6.67286654929e-08, No Iterations 7 GAMG: Solving for p_rgh, Initial residual = 1.36334179433e-05, Final residual = 9.57980711943e-08, No Iterations 3 time step continuity errors : sum local = 1.21228692274e-11, global = -5.68176717021e-15, cumulative = 1.42185500423e-11 GAMG: Solving for p_rgh, Initial residual = 3.58461867604e-05, Final residual = 8.09445165244e-08, No Iterations 4 GAMG: Solving for p_rgh, Initial residual = 6.20619996787e-07, Final residual = 5.33814232481e-09, No Iterations 5 time step continuity errors : sum local = 6.75521153489e-13, global = -2.39156450586e-14, cumulative = 1.41946343972e-11 ExecutionTime = 9295.69 s ClockTime = 9574 s Interface Courant Number mean: 0.000264695414423 max: 0.125884296441 Courant Number mean: 0.0119652986721 max: 0.501405722438 deltaT = 0.00017060922284 Time = 13.7385806798 sixDoFRigidBodyMotion constraints converged in 1 iterations GAMG: Solving for cellDisplacementx, Initial residual = 0.000592454403998, Final residual = 8.73829434669e-07, No Iterations 1 GAMG: Solving for cellDisplacementy, Initial residual = 0.00252591413159, Final residual = 3.59621763286e-06, No Iterations 1 Execution time for mesh.update() = 0.189999999999 s time step continuity errors : sum local = 4.69013739192e-05, global = -2.37826724602e-14, cumulative = 1.41708517247e-11 GAMG: Solving for pcorr, Initial residual = 1, Final residual = 4.00242832433e-08, No Iterations 33 GAMG: Solving for pcorr, Initial residual = 0.0064818094357, Final residual = 8.86289596269e-08, No Iterations 19 time step continuity errors : sum local = 4.68144541874e-05, global = 8.26885557342e-16, cumulative = 1.41716786103e-11 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497801047471 Min(alpha1) = -1.73699833221e-19 Max(alpha1) = 1 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497795474835 Min(alpha1) = -2.43657115976e-19 Max(alpha1) = 1 MULES: Solving for alpha1 Liquid phase volume fraction = 0.497789902393 Min(alpha1) = -3.75155380006e-20 Max(alpha1) = 1 DILUPBiCG: Solving for Ux, Initial residual = 0.00392628959014, Final residual = 2.72994517484e-10, No Iterations 4 DILUPBiCG: Solving for Uy, Initial residual = 0.0108589761566, Final residual = 1.33756418069e-10, No Iterations 4 GAMG: Solving for p_rgh, Initial residual = 0.0347461863115, Final residual = 1.8200314363e+36, No Iterations 1000 GAMG: Solving for p_rgh, Initial residual = 0.905876455385, Final residual = 6.4145861131e+39, No Iterations 1000 time step continuity errors : sum local = 1.61815689411e+72, global = 6.56972143739e+67, cumulative = 6.56972143739e+67 GAMG: Solving for p_rgh, Initial residual = 1, Final residual = 8.73287810527e-08, No Iterations 21 GAMG: Solving for p_rgh, Initial residual = 0.0170331773648, Final residual = 6.86355039561e-08, No Iterations 17 time step continuity errors : sum local = 1.29814723091e+124, global = -6.41295148562e+122, cumulative = -6.41295148562e+122 GAMG: Solving for p_rgh, Initial residual = 1, Final residual = nan, No Iterations 1000 GAMG: Solving for p_rgh, Initial residual = nan, Final residual = nan, No Iterations 1000 [3] [0] [1] [1] [1] --> FOAM FATAL IO ERROR: [1] wrong token type - expected Scalar, found on line 7 the word 'nan' [1] [1] file: /home/yage/waveDyMFoam/waveDyMFlume4/processor1/system/data::solverPerformance::p_rgh at line 7[2] [0] [0] --> FOAM FATAL IO ERROR: [0] wrong token type - expected Scalar, found on line 7 the word 'nan' [0] [0] file: /home/yage/waveDyMFoam/waveDyMFlume4/processor0/system/data::solverPerformance::p_rgh at line 7. [0] [0] From function operator>>(Istream&, Scalar&) [0] in file lnInclude/Scalar.C at line 91. [0] FOAM parallel run exiting [0] . [1] [1] From function operator>>(Istream&, Scalar&) [1] in file lnInclude/Scalar.C at line 91. [1] FOAM parallel run exiting [1] [2] [2] --> FOAM FATAL IO ERROR: [2] wrong token type - expected Scalar, found on line 7 the word 'nan' [2] [2] file: /home/yage/waveDyMFoam/waveDyMFlume4/processor2/system/data::solverPerformance::p_rgh at line 7. [2] [2] From function operator>>(Istream&, Scalar&) [2] in file lnInclude/Scalar.C at line 91. [2] FOAM parallel run exiting [2] [3] [3] --> FOAM FATAL IO ERROR: [3] wrong token type - expected Scalar, found on line 7 the word 'nan' [3] [3] file: /home/yage/waveDyMFoam/waveDyMFlume4/processor3/system/data::solverPerformance::p_rgh at line 7. [3] [3] From function operator>>(Istream&, Scalar&) [3] in file lnInclude/Scalar.C at line 91. [3] FOAM parallel run exiting [3] -------------------------------------------------------------------------- MPI_ABORT was invoked on rank 1 in communicator MPI_COMM_WORLD with errorcode 1. NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on exactly when Open MPI kills them. |
|
October 24, 2014, 05:17 |
|
#2 |
Senior Member
|
Hi,
your solution is diverging: Code:
time step continuity errors : sum local = 1.61815689411e+72, global = 6.56972143739e+67, cumulative = 6.56972143739e+67 GAMG: Solving for p_rgh, Initial residual = 1, Final residual = 8.73287810527e-08, No Iterations 21 GAMG: Solving for p_rgh, Initial residual = 0.0170331773648, Final residual = 6.86355039561e-08, No Iterations 17 time step continuity errors : sum local = 1.29814723091e+124, global = -6.41295148562e+122, cumulative = -6.41295148562e+122 GAMG: Solving for p_rgh, Initial residual = 1, Final residual = nan, No Iterations 1000 GAMG: Solving for p_rgh, Initial residual = nan, Final residual = nan, No Iterations 1000 |
|
October 24, 2014, 05:38 |
|
#3 | |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
here is the CheckMesh
Quote:
|
||
October 24, 2014, 05:47 |
|
#4 |
Senior Member
|
OK, your initial mesh non-orthogonality is 0, but at 0.1 seconds it's already 0.00276820289483, do you know the value at 13.7 s? Also mesh is just one of possible reasons for solution divergence, what are your boundary conditions?
|
|
October 24, 2014, 05:49 |
|
#5 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
Hi Alexeym,
Thanks for your reply, is there any experience for the boundary condition for a floating object on surface wave? Regards, Yage |
|
October 24, 2014, 05:52 |
|
#6 | |||
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
the boundary is as followed:
alpha1: Quote:
Quote:
Quote:
|
||||
October 24, 2014, 05:58 |
|
#7 | ||
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
for pointdisplacement:
Quote:
Quote:
|
|||
October 24, 2014, 06:02 |
|
#8 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
And in addition,
the object is allowed to do heave, surge and pitch motion. |
|
October 24, 2014, 06:03 |
|
#9 |
Senior Member
|
Hi,
well, now you can also post your fvSchemes, as at 13.7 you've got rather non-orthogonal mesh. Also I can suppose that at 13.7 you've got whole domain filled with water and you've got problems at the atmosphere patch. In fact there are lots of possibilities, it'll be easier for everybody if you just describe your problem, attach archive with your case files, it'll allow people not to post questions here but look for the answer in the case files. |
|
October 24, 2014, 06:13 |
|
#10 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
Hi alexeym,
OK, the problem is a 2D case and that is a object floating on the free surface. the wave is generated by waveDyMFoam package. the scheme and solution file is attached below |
|
October 24, 2014, 06:28 |
|
#11 | ||
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
here are the fvschemes and fvsolution
Quote:
Quote:
|
|||
October 24, 2014, 06:29 |
|
#12 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
|
|
April 21, 2015, 08:20 |
|
#13 |
New Member
mohammed musthafa
Join Date: Dec 2014
Location: India
Posts: 5
Rep Power: 11 |
Mr.YageEven i face the same error. Did you solved this error?
|
|
June 1, 2016, 14:07 |
|
#14 |
Senior Member
Asmaa
Join Date: Mar 2016
Posts: 102
Rep Power: 10 |
Mr. Muth did you solved this error? because I have the same problem even everything seems OK
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with interFoam; Wave/wiggle alpha1 behavior | JonW | OpenFOAM | 10 | February 4, 2023 07:27 |
Instabilities related to high Peclet number | kooroshg1 | Main CFD Forum | 12 | November 13, 2014 11:27 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 05:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 06:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 19:13 |