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

OpenFOAM chemistry solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 27, 2017, 15:15
Default OpenFOAM chemistry solver
  #1
New Member
 
Ali Charchi
Join Date: Oct 2013
Location: South Carolina, USA
Posts: 8
Rep Power: 8
alicharchi is on a distinguished road
I am working on reactive flow and I do not understand the way reactingFOAM solves the Yi equations.

To be more specific, the question is how the source terms (reaction->R(Yi)) are discretized? I am quite sure that the Ode solver is used to calculate that term in reaction->correct() member function while the temporal term (fvm::ddt(rho, Yi)) is discretized by Euler ddt scheme.

I have noticed the R member function returns a pointer of type fvScalarMatrix.
Can anyone give some insight into the procedure of discretizing the source term?

Note that I am using OF 2.3.1.

Thanks
alicharchi is offline   Reply With Quote

Old   September 2, 2019, 04:44
Post Reacting Flow Chemistry
  #2
New Member
 
Karthik Thyagarjan
Join Date: Jul 2019
Posts: 3
Rep Power: 2
kbeat is on a distinguished road
step 1 The reaction-> correct() actually solves the stiff chemical ode to get R[i]
(order of integration is 10e-9 integrated upto ~ deltaT)

step 2 the species equation is solved based normal implicit scheme

Since the implementation allows interchangeable use of fvScalarMatric and volScalarField( difference being the boundary)

kbeat is offline   Reply With Quote

Reply

Tags
chemistry model, ode solver, reactingfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
How to rewrite a standard OpenFOAM solver as a C++ class cfbaptista OpenFOAM Programming & Development 7 March 23, 2016 05:50
Can't get data from OpenFoam to external solver using externalCoupled perry OpenFOAM Running, Solving & CFD 4 May 26, 2014 09:09
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
CH4 gas-phase reaction and stiff chemistry solver sonosun FLUENT 0 April 15, 2010 22:01


All times are GMT -4. The time now is 21:22.