CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

GriMech integration

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2024, 12:39
Default GriMech integration
  #1
New Member
 
Join Date: Feb 2024
Posts: 12
Rep Power: 2
Lizz4rd is on a distinguished road
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.
Lizz4rd is offline   Reply With Quote

Old   August 13, 2024, 15:00
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,735
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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!?
LuckyTran is offline   Reply With Quote

Old   August 13, 2024, 15:50
Default
  #3
New Member
 
Join Date: Feb 2024
Posts: 12
Rep Power: 2
Lizz4rd is on a distinguished road
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.
Lizz4rd is offline   Reply With Quote

Old   August 13, 2024, 21:55
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,735
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
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
LuckyTran is offline   Reply With Quote

Reply

Tags
debugging, edc, grimech, sandiad


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
unsteady dpm integration time step Raymond_1981 Fluent Multiphase 6 June 4, 2020 15:05
How are the integration constants for the JANAFthermo class derived? tomf OpenFOAM Running, Solving & CFD 2 May 15, 2015 07:47
Fluent Integration Numerics RodriguezFatz FLUENT 11 February 21, 2013 06:35
About Aspen and Fluent Integration! xfish FLUENT 0 March 24, 2005 21:51
Any numerical triple integration program is available in Fortran? Radhakrishnan Main CFD Forum 3 March 4, 1999 01:03


All times are GMT -4. The time now is 16:30.