CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[flameletFoam] flameletFoam (by Hagen Müller)

Register Blogs Community New Posts Updated Threads Search

Like Tree27Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2018, 00:52
Default
  #61
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hello All,

When I try transplant flameletFOAM to OpenFOAM 5.0, I met the following about YSLFModel.C:

+++++++++++
YSLFModel/YSLFModels.C:41:1: required from here
/home/users/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude/runTimeSelectionTables.H:72:64: error: invalid new-expression of abstract class type 'Foam::combustionModels::YSLFModel<Foam::combustio nModels::rhoThermoCombustion>'
return autoPtr<baseType>(new baseType##Type parList);
+++++++++++

Anybody also has the same issue?

Thanks.
openfoammaofnepo is offline   Reply With Quote

Old   July 14, 2018, 10:54
Default
  #62
New Member
 
Faezeh
Join Date: Oct 2011
Posts: 6
Rep Power: 15
faeze.d is on a distinguished road
Quote:
Originally Posted by Adlak View Post
hi everyone,

I want to use reaction progress variable in place of scalar dissipation rate for non-premixed combustion in flameletfoam. Can anyone suggest me how to do that???

Thanks
Hi Adlak
did you change the flameletFoam to use the code with progress variable?
faeze.d is offline   Reply With Quote

Old   February 4, 2019, 04:15
Default concerning enrergy conservation
  #63
New Member
 
Join Date: May 2013
Posts: 3
Rep Power: 13
Pravendra kumar is on a distinguished road
Dear author, thanks for the solver flameletFoam. I would like to know "how energy is being conserved" since, there is no EEqn.H in solver. I found there is table called " he_table" in the constant folder. Is this the sensible enthalpy which is defined under thermophysical model and supplying it using table, and remaining thermodynamical properties are being calculated ? I would be appreciated for your comment on it.

Thanks
Pravendra kumar is offline   Reply With Quote

Old   March 31, 2019, 13:10
Default canteraTOFoam wont make
  #64
New Member
 
Mohammad
Join Date: Mar 2019
Posts: 2
Rep Power: 0
mohmmad994 is on a distinguished road
Hello, Thank you for making such a strong solver and sharing it with everyone Dr.Muller, i am trying to install flameletFoam2.3.x in ubuntu 18.04, i have installed version 2.3.x openFoam and it works properly. my Problem is in making the flameletFoam, every part make without problem except canteraToFoam utility, the error which its given me is this:
Code:
Make/linux64GccDPOpt/canteraScanner.o:(.data.rel.ro._ZTV11xxFlexLexer[_ZTV11xxFlexLexer]+0x68): undefined reference to `xxFlexLexer::yywrap()'
collect2: error: ld returned 1 exit status
/home/mohammad/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:149: recipe for target '/home/mohammad/OpenFOAM/mohammad-2.3.x/platforms/linux64GccDPOpt/bin/canteraToFoam' failed
Thank you for your time
Mohammad
mohmmad994 is offline   Reply With Quote

Old   June 18, 2019, 05:34
Default
  #65
New Member
 
Timo ZHANG
Join Date: Aug 2016
Posts: 27
Rep Power: 10
ztnuaa is on a distinguished road
Quote:
Originally Posted by mohmmad994 View Post
Hello, Thank you for making such a strong solver and sharing it with everyone Dr.Muller, i am trying to install flameletFoam2.3.x in ubuntu 18.04, i have installed version 2.3.x openFoam and it works properly. my Problem is in making the flameletFoam, every part make without problem except canteraToFoam utility, the error which its given me is this:
Code:
Make/linux64GccDPOpt/canteraScanner.o:(.data.rel.ro._ZTV11xxFlexLexer[_ZTV11xxFlexLexer]+0x68): undefined reference to `xxFlexLexer::yywrap()'
collect2: error: ld returned 1 exit status
/home/mohammad/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:149: recipe for target '/home/mohammad/OpenFOAM/mohammad-2.3.x/platforms/linux64GccDPOpt/bin/canteraToFoam' failed
Thank you for your time
Mohammad
Hello, Mohammad
It's been a few months since you posted, I dont know whether you solved it. Here is a solution.
This problem may be caused by flex version check. Solution is modify the canteraScanner.L file(located at flameletFoam/applications/utilities/preProcessing/canteraToFoam), change the line 43
Code:
#if YY_FLEX_SUBMINOR_VERSION < 34
to:
Code:
#if YY_FLEX_SUBMINOR_VERSION < 34 && YY_FLEX_MINOR_VERSION < 6
Check these threads:
https://medium.com/@syoukera/flamele...B-899b74ba6c8b
Installation issues with flex 2.6.0 and inelegant solution
Timo
wenxu and ShaneheSSSS like this.
ztnuaa is offline   Reply With Quote

Old   December 25, 2019, 09:19
Default flameletFoam and libOpenSMOKE
  #66
Senior Member
 
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 10
cryabroad is on a distinguished road
As I looked through the forum (and google), there are currently two versions of flamelet models in OpenFOAM--The libOpenSMOKE from Cuoci and Tobi, and flameletFoam from Muller. Does anybody happen to know the differences between the base solvers that these solvers are derived from? The libOpenSMOKE seems to be derived from rhoPimpleFoam and the flameletFoam is derived from rhoReactingFoam from its description. Their pressure equations seem to be very different! What's interesting is, starting from OpenFOAM-5.x, the rhoReactingFoam solver is using the same pressure equation as that in the rhoPimpleFoam solver. But in previous versions, which are the versions that the two flamelet solvers were developed, they are different.

Thanks,
Ruiyan
cryabroad is offline   Reply With Quote

Old   March 29, 2020, 00:46
Default create the library for bluff body combustor using the code
  #67
New Member
 
Join Date: Mar 2020
Posts: 4
Rep Power: 6
Justin_li is on a distinguished road
Dear all

Thanks for the model first! i've tested the sandia flame successfully!

now, i want to calculate the bluff body burner using your model. so,first of all, i need to create a library for the reactants, which is half CH4 and half H2 mixture for the fuel. and the stoichiometric mixture fraction Zst is 0.05. i have set these in the input text.

Then actually, we don't have any initial solutions for this case right? So,i should choose 0 for first choice and then it asked me the equivalence ratio(0-1),which i am not sure about it.

Furthermore, they let me choose the fuel from CH4 and H2(which i found in the flamelet.cpp file,they don't exist such composition,so i add such composition in it,but it still didn't work.) Then i realized it's just for the initial solution,if there is a mixture of fuel then just take one of them for the choice right? So i try to just set CH4 or H2 for the fuel choice, but both didn't reach a convergence even i try to reduce the mass flow in the input file.

So, i just wonder if anybody could give me some hints on how to solve it? lot thanks in advance!

**********************************************
Boundary conditions: Left side
Mass Flux: 0.005 kg/m^2/s
Temperature: 294 K
Mass Fractions:
H2 0.1116
CH4 0.8883
AR 4.424e-05

Boundary conditions: Right side
Mass Flux: 0.005 kg/m^2/s
Temperature: 294 K
Mass Fractions:
O2 0.2329
N2 0.7671

Do you want to use the initial solution from file? Type 1 for yes or 0 to no:
0
An equilibrium solution will be used as initial guess
Please enter a value for the equivalence ratio phi (0 - 1):
1
Please enter the name of the Fuel (CH4, H2):
H2
Please enter the name of the Oxidizer (O2, air):
air
***********************************************


Justin

Last edited by Justin_li; April 28, 2020 at 01:36. Reason: solved the problem of sandia flame
Justin_li is offline   Reply With Quote

Old   April 25, 2020, 16:22
Default canteraToFoam running error
  #68
New Member
 
Sandeep
Join Date: Apr 2017
Location: IIT Delhi, New Delhi, India
Posts: 13
Rep Power: 9
Sandeep lamba is on a distinguished road
Thanks everyone on the thread for the help in compiling the flameletFoam and special thanks to Hagen Müller for providing the solver.


though I could compile this code with of-2.3.1, while trying to run the tutorial provided I am facing an error (when running canteraToFoam utility after blockMesh). Mesh was successfully generated with blockMesh.



the error read as:



Create mesh for time = 0

Creating thermodynamics model

Selecting combustion model YSLFModel<rhoThermoCombustion>
Selecting thermodynamics package
{
type heRhoThermo;
mixture reactingMixture;
transport sutherland;
thermo janaf;
energy sensibleEnthalpy;
equationOfState perfectGas;
specie specie;
}

Selecting chemistryReader chemkinReader
Reading: "tables/Table_0.csv"
#0 Foam::error:: printStack(Foam::Ostream&) at ??:?
#1 Foam::sigSegv::sigHandler(int) at ??:?
#2 in "/lib/x86_64-linux-gnu/libc.so.6"
#3 cfree in "/lib/x86_64-linux-gnu/libc.so.6"
#4 in "/home/sandeep/OpenFOAM/sandeep-2.3.1/platforms/linux64GccDPOpt/bin/canteraToFoam"
#5 in "/home/sandeep/OpenFOAM/sandeep-2.3.1/platforms/linux64GccDPOpt/bin/canteraToFoam"
#6 in "/home/sandeep/OpenFOAM/sandeep-2.3.1/platforms/linux64GccDPOpt/bin/canteraToFoam"
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 in "/home/sandeep/OpenFOAM/sandeep-2.3.1/platforms/linux64GccDPOpt/bin/canteraToFoam"
Segmentation fault (core dumped)



Any help regarding would be highly appreciated. Thanks in advance!
Sandeep lamba is offline   Reply With Quote

Old   October 26, 2020, 07:02
Default
  #69
New Member
 
Join Date: Sep 2020
Posts: 11
Rep Power: 6
fluid2020 is on a distinguished road
Quote:
Originally Posted by Jaspreet Singh View Post
Hi,
I have installed Cantera 2.0.0 in OpenFoam 2.3.0.

While running the 'make' to make executable file (.exe), I am getting an error-

g++ flamelet.o StFlow_2.o TransportFactory_2.o Lewis1Transport.o -lf2c -pthread -L/opt/cantera/lib -lcantera -lsundials_cvodes -lsundials_ida -lsundials_nvecserial -lblas -llapack -o flamelet
/opt/cantera/lib/libcantera.a(funcs.os): In function `Cantera:: polyfit(int, double*, double*, double*, int, int&, double, double*)':
/home/jaspreet/Downloads/cantera-2.0.0/src/numerics/funcs.cpp:151: undefined reference to `dpolft_'
/home/jaspreet/Downloads/cantera-2.0.0/src/numerics/funcs.cpp:157: undefined reference to `dpcoef_'
collect2: ld returned 1 exit status
make: *** [flamelet] Error 1

Thanks in advance



Anyone knows how to solve this problem? I encountered the same problem.
fluid2020 is offline   Reply With Quote

Old   May 22, 2021, 02:52
Default Modify flameletFoam for supersonic combustion
  #70
New Member
 
Join Date: Mar 2021
Posts: 7
Rep Power: 5
ShaneheSSSS is on a distinguished road
have you implement the export command?

hello,everybody

I‘m recently working on the flameletFoam modification (methods proposed by

Oevermann) for supersonic combustion, and I'm failed. Is there anyone have

the experience?
ShaneheSSSS is offline   Reply With Quote

Old   June 3, 2021, 23:48
Default Real-gas Flamelet Model
  #71
Member
 
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13
niyas is on a distinguished road
Dear all,


Recently I started reading about flameletFoam and tried it. It works great..!!


I was wondering, if there is any real-gas flamelet solver readily available ?



Or what would be the best way to develop one ?



Thank you all.....
__________________
Regards,
Niyas
niyas is offline   Reply With Quote

Old   June 6, 2021, 17:26
Default
  #72
Senior Member
 
Domenico Lahaye
Join Date: Dec 2013
Posts: 802
Blog Entries: 1
Rep Power: 19
dlahaye is on a distinguished road
Does this help?

tutorial by students of Hakan Nillson: FGM Foam by Chalmers University:

http://www.tfd.chalmers.se/~hani/kur...rt_FGMFoam.pdf
dlahaye is offline   Reply With Quote

Old   June 6, 2021, 23:33
Default
  #73
Member
 
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13
niyas is on a distinguished road
Hi Domenico,
Thanks for your reply.

FGMFoam is also based on ideal gas Equation of State (EOS).
But I am trying to develop a real-gas EOS based Flamelet solver in OpenFoam.

If you find any materials related to real-gas based flamelet model in the future.
Please share..!!

Thanks again..!!!!
m.omair likes this.
__________________
Regards,
Niyas
niyas is offline   Reply With Quote

Old   June 18, 2021, 04:15
Default How to calculate the heat release
  #74
New Member
 
Join Date: Mar 2021
Posts: 7
Rep Power: 5
ShaneheSSSS is on a distinguished road
Quote:
Originally Posted by dlahaye View Post
Does this help?

tutorial by students of Hakan Nillson: FGM Foam by Chalmers University:

http://www.tfd.chalmers.se/~hani/kur...rt_FGMFoam.pdf
hello dlahaye,

Do you know how to calculate the heat release due to combustion in the enthalpy equation under flamelet supersonic modification? namely, reaction->Sh() in openfoam 2.3.0? I tried the flamemaster, which could generate heat release along with the mixture fraction, temperature and so on. But I am not sure it's right, because I do not succeed in modifying.

Thanks!
ShaneheSSSS is offline   Reply With Quote

Old   June 30, 2021, 05:42
Default FlameletFoam and FGMFoam
  #75
Member
 
Niyas
Join Date: Apr 2013
Posts: 45
Rep Power: 13
niyas is on a distinguished road
Hello Foamers,

Has anybody tried FGMFoam ?

I tried FGMFoam and it works well. I have also tried FlameletFoam.

My question is what is the main difference between the two ?

I can understand a little bit but still need an expert answer on this.
__________________
Regards,
Niyas
niyas is offline   Reply With Quote

Old   August 11, 2021, 22:12
Default unexpected result of Sandia flame D using flameletFoam-2.3.0!
  #76
New Member
 
Nam Danh Nguyen
Join Date: Feb 2020
Location: UNIST-Ulsan-Korea
Posts: 29
Rep Power: 6
danhnam is on a distinguished road
I am using flameletFoam-2.3.0 to reproduce Sandia flame D simulation.
But I can not reproduce the result as Mueller (Author of this flameletFoam) showed in his paper (H. Mueller, F. Ferraro, M. Pfitzner, 8th international OpenFOAM workshop, Jeju, Korea, June 11-14, 2013). The mesh dependency was not a reason (I have tested with refine mesh).

I attach my test case file and some figures here to show the comparison between my results among experimental data, Mueller’s work (8th OFWS 2013), and data of reactingFoam with EDC combustion model (in OpenFOAM-6).

Notice that in this test case I did not use the configuration of computational domain as same as the test case provided for reactingFoam tutorial with Sandia flame D in OpenFoam-6 because I did try but I the simulation looks weird.

Is there anyone, who experienced to reproduce Sandia flame D using this version of flameletFoam, tell me what wrong with the configuration, initial and boundary conditions that I used in this simulation?

Thank you in advance.

My test case file: https://drive.google.com/file/d/1_UJ...ew?usp=sharing
Attached Images
File Type: jpg T.jpg (69.3 KB, 33 views)
File Type: jpg T_xD_15_30_45.jpg (98.9 KB, 29 views)
File Type: jpg mesh.jpg (65.0 KB, 26 views)
File Type: jpg T_centerLine.jpg (62.3 KB, 27 views)

Last edited by danhnam; August 11, 2021 at 22:21. Reason: adding one more figure.
danhnam is offline   Reply With Quote

Old   October 12, 2021, 23:45
Default
  #77
New Member
 
Omair
Join Date: May 2017
Posts: 9
Rep Power: 9
m.omair is on a distinguished road
Quote:
Originally Posted by openfoammaofnepo View Post
Hello All,

When I try transplant flameletFOAM to OpenFOAM 5.0, I met the following about YSLFModel.C:

+++++++++++
YSLFModel/YSLFModels.C:41:1: required from here
/home/users/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude/runTimeSelectionTables.H:72:64: error: invalid new-expression of abstract class type 'Foam::combustionModels::YSLFModel<Foam::combustio nModels::rhoThermoCombustion>'
return autoPtr<baseType>(new baseType##Type parList);
+++++++++++

Anybody also has the same issue?

Thanks.
Did you solve this issue?. I am getting the same error.
m.omair is offline   Reply With Quote

Reply


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
[flameletFoam] new flameletFoam for OpenFoam-2.3.0 Likun OpenFOAM Community Contributions 25 April 10, 2017 04:05
[flameletFoam] Issue: Installation of flameletfoam Raghuveera OpenFOAM Community Contributions 2 April 12, 2016 23:59
FlameletFoam tables and OpenFOAM-2.3.x Look-Up-Tables Sermengi OpenFOAM 2 December 19, 2014 07:10
flameletFoam for mutiphase Combustion wenxu OpenFOAM 0 December 10, 2014 09:14
data on flow Hagen Poisseuis kostas FLUENT 0 August 6, 2003 18:37


All times are GMT -4. The time now is 07:15.