CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   dieselEngineFoam bug - OpenFOAM-1.6-ext (

novakm July 14, 2013 11:29

dieselEngineFoam bug - OpenFOAM-1.6-ext
1 Attachment(s)
Dear FOAMers,

I have noticed a bug in OpenFOAM-1.6-ext release, that is crucial for my further work in IC-engine simulations.

I have combined the aachenBomb with kivaTest in order to create a case for dieselEngineFoam. The case solution can be obtained on static geometry with dieselFoam. However, in the case of dieselEngineFoam it crashes with


    From function janafThermo<equationOfState>::checkT(scalar& T) const
    in file /home/novakm/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/specie/lnInclude/janafThermoI.H at line 65
    attempt to use janafThermo<equationOfState> out of temperature range 200 -> 5000;  T = -100

    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/novakm/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 73
    Maximum number of iterations exceeded.  Rescue by HJ

Bug seems to be similar to 0000046: dieselFoam probölem with janafThermo

Bug reported as

The problem is reproducible with


Any ideas, experiences?
I will be glad for any suggestion. This problem drives me crazy :mad:

Best Regards


novakm December 5, 2013 14:18

Oh, my young me was so dumb. This is not a bug. It is connected with time-step in simulation. Too many droplets are moving across a cell and takes energy which results e.g. in negative temperatures. Lowering tim-step solvest the problem.


All times are GMT -4. The time now is 20:05.