|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 5 ![]() |
hi, I need to use FGM combustion model to simulate swirl combustion in gas turbine burner, but openfoam does not have this model.
does anyone have implemented FGMFoam combustion model in openfoam? could you give me some suggestions , or share your code? thank you ver much. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 5 ![]() |
does anyone have experience with implementation of FGMfoam combustion model in openfoam
|
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 5 ![]() |
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Qiuxiao Wang
Join Date: Mar 2022
Posts: 11
Rep Power: 5 ![]() |
does anyone have experience with implementation of FGMfoam combustion model in openfoam
|
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
|
- flamelet based solver; https://openfoamwiki.net/index.php/E...n/flameletFoam
- tutorial by students of Hakan Nillson: FGM Foam by Chalmers University: http://www.tfd.chalmers.se/~hani/kur...rt_FGMFoam.pdf - beta-PDF is defined in term of the Gamma function boost library: #include <boost/math/special_functions/gamma.hpp> see https://www.boost.org/doc/libs/1_73_...ma/tgamma.html - beta-PDF integration: https://github.com/flameletFoam/flam...anteraReader.C |
|
![]() |
![]() |
![]() |
![]() |
#6 | |
New Member
serg
Join Date: Dec 2015
Posts: 29
Rep Power: 11 ![]() |
Quote:
Thanks! |
||
![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
|
The first link works fine for me. What is your issue exactly?
FGM in OpenFoam is used various groups. Given the nature of the code and the research, the code is possibly still considered in stage of development. |
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
serg
Join Date: Dec 2015
Posts: 29
Rep Power: 11 ![]() |
I’m sorry, I meant the second link from Chalmers university. As I downloaded the files and put them in correct folders, while running Allwmake script, It throws an error saying that the file ‘reactionThermo’ does not exist. And couple of other compilation errors follow after.
|
|
![]() |
![]() |
![]() |
![]() |
#9 |
Senior Member
|
This confirms that a public domain variant of an FGM in OpenFOAM is still in development.
It might be valuable to distinguish between compilation and runtime error. The file constant/reactionThermo can probably copied from another tutorial. |
|
![]() |
![]() |
![]() |
![]() |
#10 |
New Member
serg
Join Date: Dec 2015
Posts: 29
Rep Power: 11 ![]() |
I made it work, however, as I was going over the code, realized that (If not mistaken) It does not solve for variances of the progress variable/mixture fraction, although it says otherwise...
|
|
![]() |
![]() |
![]() |
![]() |
#11 | |
New Member
Han Yu
Join Date: Nov 2023
Posts: 8
Rep Power: 3 ![]() |
Quote:
Sorry for the interruption. It is mentioned on page 12 of the Chalmers University documentation that FGMModel needs to be downloaded from the course homepage. Could you please provide a download link? Thank you so much. Best regards, Han Yu |
||
![]() |
![]() |
![]() |
![]() |
#12 |
Senior Member
|
1/ We would need to ask Prof. Hakan Nilsson at Chalmers University for the code.
2/ Alternatively, there is flameletFoam at https://openfoamwiki.net/index.php/E...n/flameletFoam with discussion in this forum on how to bring it to more recent OpenFoam versions. |
|
![]() |
![]() |
![]() |
![]() |
#13 |
New Member
Sandeep
Join Date: Apr 2017
Location: IIT Delhi, New Delhi, India
Posts: 13
Rep Power: 10 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#14 |
Senior Member
|
Thx for the input.
The beta-PDF in boost might not required in case processing of flamelets is performed outside of the OpenFoam environment. More importantly, I find a good documentation on how to implement an FGM method in OpenFoam to be missing. I made a start in Section 20 of https://github.com/ziolai/software I am happy to extend it with input provided. |
|
![]() |
![]() |
![]() |
![]() |
#15 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 17
Rep Power: 4 ![]() |
Don't know if this is a correct a place to ask this and if this is not then please redirect me to correct forum.
I am trying to compile FGMFoam on my machine but I am getting errors. Any idea on how to resolve this. The log file when I am following direction given in report is attached with name log_Allwmake_tutorial and the log file when I try to compile case files which comes with tutorial is attached with name log_Allwmake_base. log_Allwmake_tutorial.txt log_Allwmake_base.txt I am running OpenFOAMv2406 on WSL. |
|
![]() |
![]() |
![]() |
![]() |
#16 |
New Member
Colin Bissonnette-Campeau
Join Date: Feb 2023
Posts: 1
Rep Power: 0 ![]() |
Hi,
I recently worked on getting FGMFoam to work on v2312 and managed to make it run. The compiling issues come from FGMFoam being made for an older version on a different branch (v7). I still had one error in FGMFoamPost.C where it reads if useProgressVariableVariance is true (around line 120). Since the current model doesn't seem to solve for the variances anyway, as mentioned in a previous post, I commented the problematic section and it's working fine for the test case. If you want to solve the variances as intended in Likun Ma's thesis, you'll need to add the equations to the solver and uncomment/solve the problematic section in FGMFoamPost.C. Before compiling, it is necessary to source bashrc in /src. Also, after running FGMFoam and FGMFoamPost, I get the following message : "[stack trace] ============= #1 Foam::sigSegv::sigHandler(int)malloc_consolidate() : unaligned fastbin chunk detected Abandon " It doesn't stop the simulation and the results of the test case look fine, so I am not sure what this message is about. Please let me know if you have an idea. Link to repository : https://github.com/ColinBCampeau/FGMFoam-v2312.git |
|
![]() |
![]() |
![]() |
![]() |
#17 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 17
Rep Power: 4 ![]() |
Hi Collin,
I have recently compiled FGMFoam solver. The way I resolved this issue by modifying library name in src folder. I will advise you to run valgrind command to check if there are any classes which have same name as original classes. |
|
![]() |
![]() |
![]() |
![]() |
#19 |
New Member
Killua Zoldyck
Join Date: Apr 2023
Posts: 17
Rep Power: 4 ![]() |
Yes, I can run the solver for SandiaD Flame tutorial. Right now, I am using FGM table provided in tutorial by Michael Bertsch. I am looking into how can I create FGM table for my own reactions.
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swakExpression not writing to log | alexfells | OpenFOAM Community Contributions | 3 | March 16, 2020 18:19 |
OpenFOAM 5.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 11 | June 5, 2018 23:48 |
Which Combustion Model should be used? | ahmadijaz | FLUENT | 0 | August 23, 2017 15:16 |
OpenFoam combustion model | yaqb | OpenFOAM Running, Solving & CFD | 1 | November 19, 2014 12:19 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |