|
[Sponsors] |
Problem solving chemical reactions in OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 13, 2017, 17:23 |
Problem solving chemical reactions in OpenFOAM
|
#1 |
Member
Allan Walsh
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
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? |
|
|
|
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 |