|
[Sponsors] |
ReactingFoam - maximum number of iterations exceeded |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 5, 2013, 08:22 |
ReactingFoam - maximum number of iterations exceeded
|
#1 |
New Member
Jacopo
Join Date: Mar 2013
Location: Italy
Posts: 18
Rep Power: 13 |
Hi All,
I am trying to run reactingfoam ( a bit modified - with moving mesh). I try to change the reaction scheme from single stage to multi-stage adding chemikin database to the calculations. Everything goes fine until around 0.035 sek when the temperature reach around 1030 K, than the simulation crashes giving the following error massage : --> FOAM FATAL ERROR: Maximum number of iterations exceeded From function specieThermo<Thermo>::T(scalar f, scalar T0, scalar (specieThermo<Thermo>::*F)(const scalar) const, scalar (specieThermo<Thermo>::*dFdT)(const scalar) const) const in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 69. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::specieThermo<Foam::janafThermo<Foam:erfect Gas> >::T(double, double, double (Foam::specieThermo<Foam::janafThermo<Foam:erfec tGas> >::*)(double) const, double (Foam::specieThermo<Foam::janafThermo<Foam:erfec tGas> >::*)(double) const, double (Foam::specieThermo<Foam::janafThermo<Foam:erfec tGas> >::*)(double) const) const at ??:? #3 Foam::ODEChemistryModel<Foam:siChemistryModel, Foam::sutherlandTransport<Foam::specieThermo<Foam: :janafThermo<Foam:erfectGas> > > >::solve(double, double) at ??:? #4 Foam::combustionModels::PaSR<Foam::combustionModel s:siChemistryCombustionModel>::correct() at ??:? #5 at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 at ??:? I tired to increase the number of allowed iterations in specieThermo.C and even decrease the tolerance limit (to 1e-3) no results. Does anyone have idea how to deal with this problem? |
|
February 9, 2016, 13:03 |
|
#2 |
New Member
Max T
Join Date: Feb 2015
Posts: 8
Rep Power: 11 |
Hi,
did you finally find a solution for your problem? I get the same error. I am using a custom solver with implemented YEqn and EEqn of the reactingFoam Solver of Version 2.2, based on the PaSR Concept. The Setup is a closed volume with a primixed air - fuel mixture using a quasi-global mechanism (12 species). Turbulence is calculated using the oneEqEddy LES Model. The mixture is ignited using a scalarSemiImplicitSource (fvOptions). It works fine, and suddenly: --> FOAM FATAL ERROR: Maximum number of iterations exceeded From function thermo<Thermo, Type>::T(scalar f, scalar T0, scalar (thermo<Thermo, Type>::*F)(const scalar) const, scalar (thermo<Thermo, Type>::*dFdT)(const scalar) const, scalar (thermo<Thermo, Type>::*limit)(const scalar) const) const in file /home/openfoam/OpenFOAM/OpenFOAM-2.4.0/src/thermophysicalModels/specie/lnInclude/thermoI.H at line 76. FOAM aborting Thanks for your help! |
|
July 4, 2016, 06:33 |
|
#3 |
New Member
Moritz
Join Date: Nov 2015
Posts: 16
Rep Power: 10 |
Hey max,
I'm having exactly the same problem with PaSR model and trying to simulate combustion with ignition. Did you finally solve the problem??? Would be so helpful for me! Thanks and cheers Moritz |
|
July 6, 2016, 07:50 |
|
#4 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
Maybe you can post a logFile which will let us to see what is exactly happening.
This is a problem i have faced many times but there is a lot of possible causes... |
|
July 6, 2016, 08:06 |
|
#5 |
New Member
Moritz
Join Date: Nov 2015
Posts: 16
Rep Power: 10 |
Hey laurentD,
enclosed the logFile of my case. Please not that I use the standard aachenBomb geometry so far. I validated the thermophysical data of my gases. Would be awesome if you could provide some hints where to look for the bug in my simulation. Thanks mate Moritz |
|
July 7, 2016, 09:59 |
|
#6 |
Senior Member
Laurent DASTUGUE
Join Date: May 2014
Location: Chartres, France
Posts: 122
Rep Power: 12 |
It's not sure but whan i look your logFile, i am curious about your boundary conditions ;-)
|
|
July 7, 2016, 11:33 |
|
#7 |
New Member
Henry
Join Date: May 2016
Posts: 15
Rep Power: 10 |
Hi laurentD,
I've been getting the same max number of iteration exceeded problem too with rhoCentralFoam I think my boundary conditions are set correctly, but here's a dropbox link to my whole case post run. my log file is log.rho and is where im getting the error. Edit: It's been solved - my units for specific heat were off by a magnitude of 1000. A stupid error, actually. thanks, henry Last edited by hbrist7; July 11, 2016 at 09:22. |
|
July 11, 2016, 07:33 |
BC's
|
#8 |
New Member
Moritz
Join Date: Nov 2015
Posts: 16
Rep Power: 10 |
Hey Laurent,
I am simulating the injection, evaporation and combustion of an isobutane/Propylene mixture in a one stroke gas engine under ambient pressure. BC are only walls like in the aachenBomb tutorial. Just tried to get all the thermodynamics working so far. Cheers Moe |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | Alan | OpenFOAM Running, Solving & CFD | 11 | July 1, 2021 22:51 |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
DecomposePar unequal number of shared faces | maka | OpenFOAM Pre-Processing | 6 | August 12, 2010 10:01 |
Unknown error | sivakumar | OpenFOAM Pre-Processing | 9 | September 9, 2008 13:53 |