|
[Sponsors] |
November 14, 2017, 07:17 |
Another 'Time step continuity error' thread
|
#1 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Hello,
Can someone please help me with the time step continuity error I'm getting? I'm using simpleFoam and this is what I get when I run the case Code:
#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::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? Code:
Time = 8 DILUPBiCG: Solving for Ux, Initial residual = 0.954901, Final residual = 0.072332, No Iterations 71 DILUPBiCG: Solving for Uy, Initial residual = 0.94901, Final residual = 0.0562591, No Iterations 68 DICPCG: Solving for p, Initial residual = 0.999999, Final residual = 0.0958529, No Iterations 293 time step continuity errors : sum local = 3.77895e+12, global = -1.04947e+10, cumulative = -1.04947e+10 ExecutionTime = 0.53 s ClockTime = 1 s Time = 9 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.0892879, No Iterations 261 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.0170661, No Iterations 132 DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0934216, No Iterations 192 time step continuity errors : sum local = 6.39919e+21, global = 5.204e+20, cumulative = 5.204e+20 ExecutionTime = 0.79 s ClockTime = 1 s Time = 10 DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.0895149, No Iterations 116 DILUPBiCG: Solving for Uy, Initial residual = 1, Final residual = 0.0685429, No Iterations 109 I toyed around the relTol as mentioned in threads like this: Time step continuity But these are errors are very small in magnitude, whereas mine are on the other end of the spectrum. What should be the source of these errors? |
|
November 14, 2017, 07:19 |
|
#2 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
This is my choice of p and U solvers in the fvSolutions
Code:
solvers { p { solver PCG; preconditioner DIC; tolerance 1e-07; relTol 0.1; // smoother GaussSeidel; } U { solver PBiCG; preconditioner DILU; tolerance 1e-07; relTol 0.1; } } SIMPLE { // nUCorrectors 2; nNonOrthogonalCorrectors 0; residualControl { p 1e-6; U 1e-6; } pRefCell 0; pRefValue 0; } relaxationFactors { fields { p 0.2; U 0.9; // k 0.9; // epsilon 0.9; } } Is the error related to any of these parameters ? |
|
November 14, 2017, 11:22 |
Update
|
#3 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Update: Decreasing relaxation factors did not help as per this thread here: simpleFoam time step continuity errors
I changed it to 0.5 for U and same (0.2) for p in fvsolution The boundary conditions seem to be okay for this case. Nothing has changed in the output. I don't see how this error can be resolved. Can anyone please help? |
|
November 16, 2017, 10:04 |
|
#4 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Anyone at all ? Still stuck here..
|
|
November 16, 2017, 11:44 |
|
#5 | |
Member
Ricky
Join Date: Jul 2014
Location: Germany
Posts: 78
Rep Power: 11 |
Hallo!
There are still other stuff which may lead to this error: 1) Have you checked the quality of your mesh? 2) The boundary conditions at the inlet and outlet for U and p? Regards, Ricky Quote:
__________________
If it is easy, then something is fishy! |
||
November 16, 2017, 11:56 |
|
#6 | |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Quote:
1) Yes, with checkMesh. Also visually in paraview. Mesh is fine. 2) As suggested in the tutorial (image attached) |
||
November 16, 2017, 16:20 |
|
#7 | |
Member
Jaydeep
Join Date: Jun 2015
Posts: 34
Rep Power: 10 |
Quote:
Please post your case for more details |
||
November 17, 2017, 07:07 |
|
#8 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
I did. But I don't see how that should cause something like this. At max it would need more number of iterations to converge. Am I right?
|
|
November 17, 2017, 07:08 |
|
#9 |
Senior Member
Deep
Join Date: Oct 2017
Posts: 180
Rep Power: 8 |
Inch to metre..hmm maybe. Those are inconsistent units.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
courant number increases to rather large values | 6863523 | OpenFOAM Running, Solving & CFD | 22 | July 5, 2023 23:48 |
Transient simulation not converging | skabilan | OpenFOAM Running, Solving & CFD | 14 | December 16, 2019 23:12 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 11:08 |
Help for the small implementation in turbulence model | shipman | OpenFOAM Programming & Development | 25 | March 19, 2014 10:08 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 15:33 |