CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

ODE Solver: Seulex

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By comingdaytime

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 24, 2014, 18:50
Default ODE Solver: Seulex
  #1
New Member
 
Josh Dawson
Join Date: Oct 2014
Location: Justin, TX
Posts: 19
Rep Power: 12
JMDag2004 is on a distinguished road
Hello everyone, I am using the seulex ode solver for a hydrogen /air combustion scenario. I received a run time warning:

FOAM Warning :
From function seulex::solve(scalar& x, scalarField& y, stepState&
in file ODESolvers/seulex/seulex.C at line 255
step size underflow :2.64698e-23.

I've searched the internet and the blogs here on this site and I haven't found anything that addresses the cause of this warning. I feel like it is rooted in the concentration gradients or potentially the pressure or temperature which are used to calculate reaction equilibrium rates because it's crashed the simulation due to a floating point exception. Or I should say the warning is expressed rapidly just before the simulation fails. Can anyone help me understand what causes this error please? I would really appreciate the help! I can post any of my files if necessary.
JMDag2004 is offline   Reply With Quote

Old   December 27, 2014, 13:58
Default
  #2
New Member
 
Josh Dawson
Join Date: Oct 2014
Location: Justin, TX
Posts: 19
Rep Power: 12
JMDag2004 is on a distinguished road
I guess no one knows?
JMDag2004 is offline   Reply With Quote

Old   December 27, 2014, 14:49
Default
  #3
New Member
 
Dmitry
Join Date: Dec 2014
Posts: 8
Rep Power: 12
dimaCFD is on a distinguished road
hi,

Did you try other ODE solvers? The usual, I use RADAU5 for this staff =)


Thx, Dmitry
dimaCFD is offline   Reply With Quote

Old   December 27, 2014, 14:52
Default
  #4
New Member
 
Josh Dawson
Join Date: Oct 2014
Location: Justin, TX
Posts: 19
Rep Power: 12
JMDag2004 is on a distinguished road
Thank you Dmitry for your response, I've been searching high and low for information on the ODE solvers within OpenFOAM and there just isn't much information available. It's a fairly stiff system and the only information I was able to find suggested using the Seulex solver for stiff systems.
JMDag2004 is offline   Reply With Quote

Old   December 27, 2014, 14:58
Default
  #5
New Member
 
Dmitry
Join Date: Dec 2014
Posts: 8
Rep Power: 12
dimaCFD is on a distinguished road
I could suggest to try my solver edcPisoFoam =) which is based on rhoReactingFoam and incorporates the Eddy Dissipation Concept with a detailed chemistry approach for the turbulence-chemistry interaction. I have finished my PhD related to OpenFOAM and turbulent combustion modeling with OpenFOAM this year using this solver, so it has good validation and references =)

edcPisoFoam utilizes the RADAU5 algorithm which is implicit 5th order RK method for stiff chemistry kinetics.

You can download it for free from: http://www.edcpisofoam.decgroup.org/
dimaCFD is offline   Reply With Quote

Old   December 29, 2014, 13:41
Default
  #6
New Member
 
Josh Dawson
Join Date: Oct 2014
Location: Justin, TX
Posts: 19
Rep Power: 12
JMDag2004 is on a distinguished road
Thank you very much for your suggestions as well as your offer to use the solver you developed. I just downloaded the solver and will probably spend the next week or so going though it. I like the challenge of creating my own but look forward to learning from the construction of yours. Very much appreciated!

Regards
Josh
JMDag2004 is offline   Reply With Quote

Old   March 2, 2016, 17:52
Default
  #7
New Member
 
TN
Join Date: Nov 2015
Location: TN, USA
Posts: 9
Rep Power: 11
demolaoye is on a distinguished road
Hello, JMDag2004.

Did you get a solution to your problem? If yes, I do have the same problem and would appreciate your help.

Thank you!
demolaoye is offline   Reply With Quote

Old   November 25, 2016, 10:41
Default
  #8
Member
 
Zhiyi Li
Join Date: Mar 2015
Location: Germany
Posts: 43
Rep Power: 11
comingdaytime is on a distinguished road
Have you tried to decrease the relative tolerance. I decreased from 0.01 to 0.0001. That warning message doesn't appear then.
Kummi, Dequan and wsp like this.
comingdaytime is offline   Reply With Quote

Old   January 13, 2017, 04:40
Default
  #9
Senior Member
 
zhangyan's Avatar
 
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12
zhangyan is on a distinguished road
Hi Dmitry,
I cannot dowload the code of edcPisoFoam from www.edcpisofoam.decgroup.org.
can you send me a copy of it?
my email: zytju@tju.edu.cn
Thank you!
zhangyan is offline   Reply With Quote

Old   May 3, 2020, 14:55
Default
  #10
New Member
 
Jiaui Zhang
Join Date: Aug 2018
Location: Changsha, China
Posts: 17
Rep Power: 8
charryzzz is on a distinguished road
I have the same warning, but luckily my case does not crash, I just wonder what case this warning and does this warning affect the result?
charryzzz is offline   Reply With Quote

Old   August 31, 2021, 06:12
Default
  #11
New Member
 
sanjeev adhikari
Join Date: May 2018
Posts: 13
Rep Power: 8
sanjeev_adhikari is on a distinguished road
Quote:
Originally Posted by dimaCFD View Post
I could suggest to try my solver edcPisoFoam =) which is based on rhoReactingFoam and incorporates the Eddy Dissipation Concept with a detailed chemistry approach for the turbulence-chemistry interaction. I have finished my PhD related to OpenFOAM and turbulent combustion modeling with OpenFOAM this year using this solver, so it has good validation and references =)

edcPisoFoam utilizes the RADAU5 algorithm which is implicit 5th order RK method for stiff chemistry kinetics.

You can download it for free from: http://www.edcpisofoam.decgroup.org/

webpage is not available to download can you email it ? I am having similar issues with stiff ODE problem. i am looking for RADAU5 email: 071bme435sanjeev@ioe.edu.np
sanjeev_adhikari is offline   Reply With Quote

Old   October 31, 2022, 22:29
Default
  #12
New Member
 
BISSAI NKAA
Join Date: Feb 2022
Posts: 16
Rep Power: 4
sante_junior is on a distinguished road
Hi Dmitry,
I can't download the edcPisoFoam code from www.edcpisofoam.decgroup.org . Can you send me a copy?
My email is: santelima8@gmail
Thanks!
sante_junior is offline   Reply With Quote

Reply

Tags
combustion, ode, ode solver, reaction, seulex


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
ODE solver coefficients mrangitschdowcom OpenFOAM Running, Solving & CFD 2 August 18, 2013 23:16
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
Problem implementing CVODE ODE solver markusrehm OpenFOAM 20 October 13, 2010 18:02
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM 0 April 4, 2010 19:06
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 14:31.