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

Problem solving chemical reactions in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2017, 17:23
Default Problem solving chemical reactions in OpenFOAM
  #1
Member
 
Allan Walsh
Join Date: Mar 2009
Posts: 56
Rep Power: 17
Allan Walsh is on a distinguished road
I'm trying to use OpenFOAM to solve a fairly simple reacting system that has been reported in the literature and that works fine in Fluent using the eddy dissipation model. If I set this up with my reaction kinetics and run it with chemFoam (single box, time dependent) it works fine. In reactingFoam the reaction is too slow and the reaction rates are about 10 times smaller than expected. Since this will be part of combustion system, I've tried the PaSR model and kappa is always essentially 1.
When I try to dig deeper, i.e. print statements in chemistryModel.C, I can recompile and link to the new .so file but it doesn't recognize my changes. I'm working with version 5 compiled in debug mode. If I compile my own version of reactingFoam and use Visual Studio Code in debugger mode, it only gives me access the variables in the included C code, i.e. not chemistryModel.C.
Any suggestions on how to troubleshoot these types of problems?
Allan Walsh is offline   Reply With Quote

Reply


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
problem with Min/max rho tH3f0rC3 OpenFOAM 8 July 31, 2019 10:48
Wrong fluctuation of pressure in transient simulation caitao OpenFOAM Running, Solving & CFD 2 March 5, 2015 22:33
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 19:17
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Error while running rhoPisoFoam.. nileshjrane OpenFOAM Running, Solving & CFD 8 August 26, 2010 13:50


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