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

[openSmoke] libOpenSMOKE

Register Blogs Community New Posts Updated Threads Search

Like Tree133Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 8, 2014, 10:03
Default
  #381
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Likun,

I tryed to change the files you mentioned but the flamelet thermodynamic is not compiling. I think I will reinvestigate time to make it working with 2.3 again.

Maybe you did more changes.
Regards Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 8, 2014, 11:09
Default
  #382
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

@Likun: you are right. Only the necessary lines has to be added. There are two more functions for the boundary conditions implemented in the newest version. I did not compare the results of the tutorial with measurements but it seems to be the same.

@all: flameletModel-2.3.x is available

Code:
git clone https://github.com/shor-ty/flameletModel-2.3.x.git
Enjoy
Regards

PS: BlockMesh is not working at the moment
Likun and TBO like this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 8, 2014, 11:56
Default
  #383
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

blockMesh is "working" now.
Just use blockMesh and then run the added script for changing the BC.

Regards Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 9, 2014, 15:20
Default
  #384
Member
 
Likun
Join Date: Feb 2013
Posts: 52
Rep Power: 13
Likun is on a distinguished road
Send a message via Skype™ to Likun
Hi Tobi,

Great, thanks for your wonderful work.

I am on holiday these two weeks. I will check the new code when I go back to work.

Best regards,
Likun
Likun is offline   Reply With Quote

Old   July 19, 2014, 04:56
Default
  #385
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Fellows

"Posing a point that maybe useful for others working on distinct fuels"

I have successfully used runFlameletGeneration.sh utility written by Tobi for methane and hybrid methane/hydrogen fuels. However when I tried to build PDF-Library for other fuels, The resulting PDF-Library was incapable of providing combustion. After testing Alberto 's original Look-up table tools, My PDF-Library was correct.
I have checked Tobi's code written in shell, I think its correct ( and many thanks to him), however this problem has occurred for me.

Best,

Bobi
babakflame is offline   Reply With Quote

Old   July 19, 2014, 15:41
Default
  #386
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Bobi,

Well my bash script is nothing special. It is only doing the same steps as you do in a manual way for different enthalpy defects... I use the same binary as in manual step. Did you change the kinetics in the bash script for your other calculations?

If the manuel steps work, then the bash script should work too (:

@all followers: I started my project for the flamelet constructor. This project is a own and personality project. I dont know if that flamelet generator will be helpful for anybody ... If it is ready and able to create flamelets I keep you posted.

If some one want to be with me and help me, let me know.

Regards
Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 20, 2014, 01:44
Default
  #387
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings Tobi

I used the same kinetic (PolimiC1C3) , Just wanted to have combustion for propane/hydrogen as fuel. However, the process of making PDF-Library was suspiciously fast. (Maximum Temperature was 292 for all chi values). With alberto old code, I got combustion for chi values lower than quenching. (Really Don't Know why this happens)

Best

Bobi
babakflame is offline   Reply With Quote

Old   July 20, 2014, 03:39
Default
  #388
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Bobi,

Is it possible to send me that two cases? I want to have a look at these phenomena.

Regards Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 22, 2014, 04:56
Default runFlameletGeneration.sh
  #389
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear all and Bobi,

I had a look at my script and the problems you told. I found the problem and it is a mistake of input data. You started with an scalar dissipation rate of 0.0001 in with my flamelet script. Therefor no combustion start and all flamelets are "cold". If you set 1e-6 to the first scalar dissipation rate in "Data/Input.inp" then everything is fine. I think in the other case, when you build step by step not using my script, you have a scalar dissipationrate less than 0.0001 at the beginning. Otherwise it should not work.

Regards
Tobi
babakflame likes this.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   July 22, 2014, 05:39
Default
  #390
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings Tobi

I remember that some times ago I could make PDF-Libraries with your bash script code, so that was the problem

You mean that it has been fixed in alberto's binary code that initial chi must be lower that 1e-04?

Best,

Bobi
babakflame is offline   Reply With Quote

Old   July 22, 2014, 07:33
Default
  #391
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

if you have to high dissipation rate for the beginning then there is no time for reaction (chi = dissipation rate [1/s] = inverse of time) In some literature you find that chi means the time which species have for reaction. Very low chi means a lot of time for chemical reaction, high chi means short time for chemical reaction. In other literature you find a definition of energy transfer out of a cell. That means with low chi you have less energy transport out of the cell and vice versa.

So if you start building flamelets with too high chi, then there is no ignition.

I can not tell you how that code is working and how the flamelets are generated. So that are only things that I can imagine due to the fact that we only use the binarys and are not able to get into the code

Regards Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   August 19, 2014, 16:50
Default Error on combustion model modification.
  #392
New Member
 
Guilherme Sempionato
Join Date: Aug 2011
Posts: 12
Rep Power: 14
sempionato is on a distinguished road
Hi friends,

Does anyone here have already tried to insert a lagrangian momentun source term inside a governing equation of this flamelet PDF solver? I have tryed insert a reactingparcelfoam parcel in the flamelet solver.

I'm asking this because there is a SLGThermo error in the execution. Part of the log file of this error is:

Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.47;
C2 1.92;
C3 -0.33;
alphah 1;
alphak 1;
alphaEps 0.76923;
muLimiter on;
Lsgs 0.0002;
sigmak 1;
sigmaEps 1.3;
Prt 1;
}

Creating field dpdt

Creating field kinetic energy K

Reading flameletProperties dictionary

Preparing field Qrad (radiative heat transfer)


Constructing reacting cloud
Constructing particle forces
Selecting particle force sphereDrag
Selecting particle force gravity
Constructing cloud functions
none
Constructing particle injection models
Creating injector: model1
Selecting injection model manualInjection
Constructing 2-D injection
Selecting distribution model uniform
Selecting dispersion model none
Selecting patch interaction model standardWallInteraction
Selecting surface film model none
Selecting U integration scheme Euler
Selecting heat transfer model RanzMarshall
Selecting T integration scheme Euler


--> FOAM FATAL ERROR:
carrier requested, but object is not allocated

From function const Foam::basicMultiComponentMixture& Foam::SLGThermo::carrier() const
in file SLGThermo/SLGThermo.C at line 116.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::SLGThermo::carrier() const in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libSLGThermo.so"
#3
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#4
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#5
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
Aborted (core dumped)
ghsss@Ares:~/OpenFOAM/ghsss-2.2.2/run/flameletTutorials/sprayFlameletPisoFoam/Sandia_COH2N2$ sprayFlameletPisoFoam > log


--> FOAM FATAL ERROR:
carrier requested, but object is not allocated

From function const Foam::basicMultiComponentMixture& Foam::SLGThermo::carrier() const
in file SLGThermo/SLGThermo.C at line 116.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::SLGThermo::carrier() const in "/opt/openfoam222/platforms/linux64GccDPOpt/lib/libSLGThermo.so"
#3
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#4
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#5
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7
in "/home/ghsss/OpenFOAM/ghsss-2.2.2/platforms/linux64GccDPOpt/bin/sprayFlameletPisoFoam"
Aborted (core dumped)
ghsss@Ares:~/OpenFOAM/ghsss-2.2.2/run/flameletTutorials/sprayFlameletPisoFoam/Sandia_COH2N2$ ^C
ghsss@Ares:~/OpenFOAM/ghsss-2.2.2/run/flameletTutorials/sprayFlameletPisoFoam/Sandia_COH2N2$ ^C
ghsss@Ares:~/OpenFOAM/ghsss-2.2.2/run/flameletTutorials/sprayFlameletPisoFoam/Sandia_COH2N2$ ^C
ghsss@Ares:~/OpenFOAM/ghsss-2.2.2/run/flameletTutorials/sprayFlameletPisoFoam/Sandia_COH2N2$
sempionato is offline   Reply With Quote

Old   August 20, 2014, 02:47
Default
  #393
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

I am not familiar with parcel solvers and this question does not really belong to that thread but as you see your solver requests a field/scalar/what ever called carrier which does not exist. So please be sure that you implemented your particels as well as in parcel solvers. Maybe you have to make changes in the thermodynamics of the flamelet lib but I dont know due to the fact that I am not sure how that implementation is working


__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   August 20, 2014, 15:55
Default
  #394
New Member
 
Guilherme Sempionato
Join Date: Aug 2011
Posts: 12
Rep Power: 14
sempionato is on a distinguished road
Thanks Tobias, I will try to review my thermodynamics implementation.
sempionato is offline   Reply With Quote

Old   September 9, 2014, 11:14
Default
  #395
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Bobi,

I read that you are validating LES model in the hagens code. Can you make a comparison between the alberto thermodynamic and hagens thermodynamic code with some example -- maybe Sandy flame?
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 9, 2014, 11:17
Default
  #396
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Dear Tobi

I will put some comparisons as soon as I got some time (probably next week).


Best,
Bobi
Tobi likes this.
babakflame is offline   Reply With Quote

Old   September 9, 2014, 11:39
Default
  #397
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Normally it should be the same!
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   September 10, 2014, 03:30
Default
  #398
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Bobi,

you build a LES model for the old flameletPisoFoam solver I created. Yesterday I had some time to check out some interessting things and build a pimple foam flamelet solver based on the cuoci code. Is is possible to send me your LES case that I can check out and/or modify the pimple solver for LES simulations too?

Thanks in advance
Kind regards
Tobi
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   October 3, 2014, 11:39
Default
  #399
Senior Member
 
Bobby
Join Date: Oct 2012
Location: Michigan
Posts: 454
Rep Power: 15
babakflame is on a distinguished road
Greetings All

Has anybody ever tried to map the results (no matter LES or URAS) from flameletFoam (Hagen Code) onto a finer grid?

I think (due to construction of Look-up tables on grid points) this is impossible.

Any hint or comment is appreciated.

Best
Bobi
babakflame is offline   Reply With Quote

Old   October 5, 2014, 16:46
Default
  #400
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Bobi, that should be possible. That's not a problem of look up tables or do I misunderstand you?
__________________
Keep foaming,
Tobias Holzmann
Tobi 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
Numerical treatment of the source term in combustion equations Tobi Main CFD Forum 37 September 15, 2020 13:42
[openSmoke] flameletSmoke + new ODESolver (by Alberto Cuoci) Tobi OpenFOAM Community Contributions 1 November 21, 2017 18:24
Unsteady solver with Flamelet Model (libOpenSMOKE) francesco_capuano OpenFOAM Running, Solving & CFD 11 November 26, 2013 04:50
LibOpenSmoke, getting the species in ParaFoam Christoph_84 OpenFOAM 1 May 31, 2012 14:42


All times are GMT -4. The time now is 03:37.