|
[Sponsors] |
August 13, 2024, 13:39 |
GriMech integration
|
#1 |
New Member
Join Date: Feb 2024
Posts: 12
Rep Power: 2 |
Hello,
I'm currently trying to find out how GriMech is used inside Openfoam to calculate combustion processes. For this purpose, i debugged the foamRun.C for the SandiaD_LTS Tutorial. But I can't find any references or classes that links to the mechanism. I would be glad if somebody could help me. |
|
August 13, 2024, 16:00 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
If you actually opened the tutorial and looked in Allrun you would find that the very first application is
Code:
runApplication chemkinToFoam \ chemkin/grimech30.dat chemkin/thermo30.dat chemkin/transportProperties \ constant/reactionsGRI constant/thermo.compressibleGasGRI It's all there, plain as day. How did you miss it!? |
|
August 13, 2024, 16:50 |
|
#3 |
New Member
Join Date: Feb 2024
Posts: 12
Rep Power: 2 |
I apologize if my initial question wasn't clear.
I'm working on understanding combustion models in openfoam. A essential part are the transport equations for each component. To solve these equations, it's necessary to calculate the reaction rate on the (RHS). For instance, in the SandiaD tutorial case, the Eddy Dissipation Concept is used to calculate the reaction rate, but this method also requires to calculate the mean density, kinematic viscosity, and other parameters. As I understand it, the density and kinematic viscosity are computed based on the coefficients provided in the GRI-Mech table. However, while debugging in OpenFOAM, it seems that the program never steps into the functions where these calculations should occur. |
|
August 13, 2024, 22:55 |
|
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
have a look at the thermophysicalProperties dict in constant
consult the Thermophysical models section of your user's guide btw debugging is only debugging if the code is not working as intended. You are playing in the sandbox |
|
Tags |
debugging, edc, grimech, sandiad |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
unsteady dpm integration time step | Raymond_1981 | Fluent Multiphase | 6 | June 4, 2020 16:05 |
How are the integration constants for the JANAFthermo class derived? | tomf | OpenFOAM Running, Solving & CFD | 2 | May 15, 2015 08:47 |
Fluent Integration Numerics | RodriguezFatz | FLUENT | 11 | February 21, 2013 07:35 |
About Aspen and Fluent Integration! | xfish | FLUENT | 0 | March 24, 2005 22:51 |
Any numerical triple integration program is available in Fortran? | Radhakrishnan | Main CFD Forum | 3 | March 4, 1999 02:03 |