CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

dieselEngineFoam bug - OpenFOAM-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By novakm

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 14, 2013, 11:29
Default dieselEngineFoam bug - OpenFOAM-1.6-ext
  #1
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
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


Best Regards

Martin
Attached Files
File Type: gz dieselEngineFOAM_bug.tar.gz (85.7 KB, 20 views)
novakm is offline   Reply With Quote

Old   December 5, 2013, 13:18
Default
  #2
Member
 
Martin Novák
Join Date: Dec 2012
Location: Prague
Posts: 70
Rep Power: 13
novakm is on a distinguished road
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
wyldckat and ayhan515 like this.
novakm is offline   Reply With Quote

Reply

Tags
bug, diesel engine, engine simulation, extended


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FSI solver for openFoam 1.6 ext Whyman OpenFOAM 4 October 26, 2013 06:11
OF 1.6 ext on Ubuntu 12.10 (64 bit) compilation errors dreamilam OpenFOAM Installation 7 April 21, 2013 05:43
Solver Compiling error - OF 1.6 ext. raditz OpenFOAM Programming & Development 8 November 4, 2012 09:53
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 09:38
Installing OpenFOAM 1.6 on Ubuntu 10.4 sda OpenFOAM Installation 5 May 27, 2010 20:19


All times are GMT -4. The time now is 18:45.