|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 9 ![]() |
How to implement mixture fraction formulation in reactingFoam?
|
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
I calculate mixture fraction using Bilger's formula in OpenFOAM 2.3.x, as here:
https://github.com/adhiraj-dasgupta/...ixtureFraction Maybe you can use this utility as a guide? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 9 ![]() |
Dear Adhiraj
First of all thanks for the reply and the code. I have implemented the mixture fraction formulation onto OpenFOAM code. But now I want to add the conserved equation of the mixture fraction in the code, can you help me for that? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
It should be easy top add an equation for mixture fraction (just a passive scalar), unless I am missing something.
Can you provide more details about what you are trying to implement, and if you are running into any errors? |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 9 ![]() |
I want to add this particular conserved mixture fraction equation (without closing term) by replacing the species conservation equation.
https://drive.google.com/file/d/1BON...Q4Zyrtvff/view |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
This looks straightforward to implement. What errors did you get?
|
|
![]() |
![]() |
![]() |
![]() |
#7 | |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 9 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
There are tutorials available to add an equation for a scalar in OpenFOAM. For example, see here:
https://openfoamwiki.net/index.php/H...perature_field Study this and then adapt it to your needs. |
|
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 9 ![]() |
I will try
Thanks. |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
Join Date: Jan 2017
Posts: 6
Rep Power: 10 ![]() |
Hi Adhiraj
Thank you for your utility. I adapted your code for OF-5.x, as attached. What if I am considering premixed ch4/air combustion? How must the fuel and oxidizer species be set in the dictionary? Thanks, Aurore |
|
![]() |
![]() |
![]() |
![]() |
#11 |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
Does mixture fraction make sense for premixed flames?
|
|
![]() |
![]() |
![]() |
![]() |
#12 |
Member
Utkan Caliskan
Join Date: Aug 2014
Posts: 43
Rep Power: 12 ![]() |
There is a patch contribution of mixture fraction functionObject by a user in the issue tracking system of openfoam.org.
https://bugs.openfoam.org/view.php?id=3411 |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Join Date: Jan 2017
Posts: 6
Rep Power: 10 ![]() |
My initial idea was to qualitatively visualize the phase boundary between unburnt and burnt gaseous phase by the mixture fraction, as you proposed.
As expected, the utility calculates a more less uniform distribution in the combustion chamber. Anyway, using the simple relationship Zst = 1/(1+phi) (phi denotes a local equivalence ratio) provided a proper estimation. Thanks. Aurore. |
|
![]() |
![]() |
![]() |
![]() |
#14 | |
Senior Member
Adhiraj
Join Date: Sep 2010
Location: Karnataka, India
Posts: 187
Rep Power: 16 ![]() |
Quote:
Also, how can mixture fraction determine whether the point is on the burnt-gas side or the fresh gas side? Isn't that the role of progress variable? |
||
![]() |
![]() |
![]() |
![]() |
#15 | |
New Member
Join Date: Jan 2017
Posts: 6
Rep Power: 10 ![]() |
Quote:
Progress variable is a good spot. |
||
![]() |
![]() |
![]() |
![]() |
#16 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 ![]() |
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem of simulating of small droplet with radius of 2mm | liguifan | OpenFOAM Running, Solving & CFD | 5 | June 3, 2014 02:53 |
Water subcooled boiling | Attesz | CFX | 7 | January 5, 2013 03:32 |
On the damBreak4phaseFine cases | paean | OpenFOAM Running, Solving & CFD | 0 | November 14, 2008 21:14 |
CFX Solver Memory Error | mike | CFX | 1 | March 19, 2008 07:22 |
mixture fraction | Sheng Chen | Main CFD Forum | 0 | October 6, 2004 01:33 |