CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   dieselEngineFoam bug - OpenFOAM-1.6-ext (http://www.cfd-online.com/Forums/openfoam-bugs/120767-dieselenginefoam-bug-openfoam-1-6-ext.html)

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


Code:

    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
http://sourceforge.net/apps/mantisbt...view.php?id=46

Bug reported as
https://sourceforge.net/apps/mantisb...iew.php?id=180

The problem is reproducible with
Code:

blockMesh
dieselEngineFOAM

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


Best Regards

Martin

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.

Martin


All times are GMT -4. The time now is 23:54.