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

New solver: ddtFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree20Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2014, 14:01
Default
  #21
New Member
 
Join Date: May 2011
Posts: 28
Rep Power: 14
dowlee is on a distinguished road
Hi Florian Ettner
Sorry for my poor case description. In my case, the supersonic flow enters the detonation tube from the open end of the tube, and formulates strong shock near the close end of the tube. The strong shock is reflected from the close end. The detonation is generated by the automatic ignition which happens in the event of shock-induced heat release near the close end. I should emphasize that there isn`t a deflagration-to-detonation transition, but a direct automatic ignition. So you think the solver should work fine for my problem in this case, and I can just set up the case like the tutorial provided by you.

Thanks very much.


Quote:
Originally Posted by dohnie View Post
Dear Dowlee,
I don't understand from your description HOW the mixture close to the end wall is heated up, but I assume it is done by a shock, as you mention a reflected shock wave later on.
I think the solver should work fine for your problem!
dowlee is offline   Reply With Quote

Old   December 16, 2014, 08:39
Default
  #22
New Member
 
Guillaume
Join Date: Nov 2012
Posts: 10
Rep Power: 13
Gloq is on a distinguished road
Hi Florian,

I recently tried to download the ddtfoam files to perform a few tests.

While unzipping the package, it appeared some files were password protected.

Why ?
I think without these files it is not possible to compile the code.

Thank in advance !
Gloq is offline   Reply With Quote

Old   December 28, 2014, 11:50
Default
  #23
Member
 
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 14
ecbmxer is on a distinguished road
Hi guys,

I'm very interested in this solver for modeling some detonation wave combustion systems. I'm getting some errors when trying to install on OF 2.3.0 related to an issue with "fluidThermo.H". From what I saw doing some searches, there might be differences in the thermo libraries between OF 2.1 and 2.3?

Anyone installed this on 2.3?

Thanks!

-Clint
ecbmxer is offline   Reply With Quote

Old   January 13, 2015, 05:18
Default
  #24
New Member
 
Guillaume
Join Date: Nov 2012
Posts: 10
Rep Power: 13
Gloq is on a distinguished road
"Mea culpa", I unzipped the package with Windows and got the error messages.
If I do it with Linux, there is no problem.

Clint, I have the same problem as you.
I checked the routines of ddtfoam and plenty of them are different from the thermo routines of OF 2.3.0.
The best solution, to me, is to use a previous version of OF to test ddtfoam.
Gloq is offline   Reply With Quote

Old   January 13, 2015, 15:24
Default
  #25
Member
 
Clint Bedick
Join Date: May 2011
Posts: 43
Rep Power: 14
ecbmxer is on a distinguished road
Gloq, that is exactly what I did. I installed OF 2.1.1 in parallel with 2.3 and created aliases to switch between the two. Surprisingly, it worked out perfectly and I can run all of the ddt routines. The parafoam integration isn't perfect between the two versions, but I just use regular paraview with 2.1.1

Last edited by ecbmxer; February 4, 2015 at 11:40.
ecbmxer is offline   Reply With Quote

Old   March 21, 2015, 13:47
Default
  #26
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Florian: I've created a basic wiki page to help getting your solver ddtFoam known to the community that uses OpenFOAM technology: http://openfoamwiki.net/index.php/Contrib/ddtFoam

May you or anyone else feel free to update that wiki page!

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 23, 2015, 11:21
Default
  #27
New Member
 
ZaidDulaimi
Join Date: Mar 2015
Posts: 3
Rep Power: 11
ZaidDulaimi is on a distinguished road
Hi every one
I am trying to run the code but I am facing some problems as this is my first time using OpenFOAM.
I'll appreciate if any one explain to me how to run this tutorial and which word is used to run it.
Thank you
ZaidDulaimi is offline   Reply With Quote

Old   April 16, 2015, 02:40
Default Problem with the tutorial
  #28
New Member
 
Londo
Join Date: Feb 2015
Posts: 14
Rep Power: 11
Londo is on a distinguished road
First of all, this looks like a great solver. Thank you for sharing.

Secondly, I am trying to run the tutorial. When I reach the part of running ddtFoam, I just don't have the file. It does copy the 0.008000000 folder, but I can't find ddtFoam anywhere in the system. Are there any suggestions?

Edit: after I finish running pddtFoam, after it outputs "End" I also get the following error:

*** Error in `pddtFoam': corrupted double-linked list: 0x000000000209d9b0 ***
Aborted (core dumped)
Londo is offline   Reply With Quote

Old   May 4, 2015, 16:29
Default
  #29
New Member
 
ZaidDulaimi
Join Date: Mar 2015
Posts: 3
Rep Power: 11
ZaidDulaimi is on a distinguished road
Quote:
Originally Posted by panda1100 View Post
Dear dohnie,

Thank you for sharing this great work

Is there any information about how to change H2+air to Diesel mixture?
And If its possible, Can you share your utility codes?
for example,
  • loolupIgn_06.m
  • automaticSetFields_tfc_zu_Grad3s_03.c etc
I want to try this solver with another type of gas.
(I tried your tutorial and that works pretty good.)

Any information you can provide me would be greatly appreciated.
I wish I could read German...
panda1100
Hi Dohnie,Yoshiaki
Thank you for this great work
I am trying to work on different kind of fuel, would you help me by sharing the utility codes?
Thank you in advance

Zaid
ZaidDulaimi is offline   Reply With Quote

Old   June 1, 2015, 10:11
Default
  #30
Member
 
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11
Howard is on a distinguished road
Quote:
Originally Posted by dohnie View Post
Dear Foamers,
I developed an OpenFOAM solver for the simulation of the deflagration-to-detonation transition in gases.
Some features:
  • accurate shock capturing with a density based solver (largely based on Oliver Borm's development densityBasedTurbo)
  • deflagration modelling via a reaction progress variable (based on XiFoam)
  • auto-ignition sub-grid model separating each computational cell into a "shocked" and an "unshocked" part
  • auto-ignition from tabulated ignition delay times, gained from a detailed chemical mechanism
  • low computational cost due to applicability to coarse grids and usage of pre-tabulated chemistry
Even if you're not interested in detonations/combustiHion, it might be a nice alternative to existing OpenFOAM solvers when it comes to shock resolution in transonic flows.

The code incl. a short documentation and tutorials can be downloaded from
http://sourceforge.net/projects/ddtfoam/
Hi, friend, Could I ask that if this ddtFoam can work for ordinary combustion simulation? Because I want to use detailed chemistry using XiFOAM method.
Howard is offline   Reply With Quote

Old   August 27, 2015, 04:24
Default please helps
  #31
New Member
 
nguyen van bo
Join Date: Aug 2015
Posts: 1
Rep Power: 0
nguyenvanbo is on a distinguished road
Quote:
Originally Posted by panda1100 View Post
Dear dohnie,

Thank you for sharing this great work

Is there any information about how to change H2+air to Diesel mixture?
And If its possible, Can you share your utility codes?
for example,
  • loolupIgn_06.m
  • automaticSetFields_tfc_zu_Grad3s_03.c etc
I want to try this solver with another type of gas.
(I tried your tutorial and that works pretty good.)

Any information you can provide me would be greatly appreciated.
I wish I could read German...
panda1100
Dear Dohnie and Yoshiaki,
I have downloaded the ddtfoam solver, it works perfectly for the H2-Air as shown in tutorial. it also work well for the homogeneous fuel (H2/Air) as well as different geometry.
However, when i try with hydrocarbon fuels it does not work. I though i may come from the way H2 ignite that differs from hydrocarbon.
Me too, i cannot read the your thesis in German so it hard for me to understand. So, if it is possible could you please share the utility codes to me? or some tips that i can run as well as understand.
Thank you very much for you kind,

Regards,
NGUYEN VAN BO
p/s: my email address is: tslngvb@nus.edu.sg
nguyenvanbo is offline   Reply With Quote

Old   March 24, 2016, 11:16
Default
  #32
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 10
vanbonguyen is on a distinguished road
Hi Florian Ettner and others,

I am doing simulation for the DDT process for JET-A fuel. I have tried your tutorial for H2/Air mixture, it works perfectly. However, when i move to JET-A fuel, it seems that i need the Cantera to generate cTable_fpT_07.csv file and LOG_tignTable_fpT_09.csv to get mass fraction of species from progress variable "c", and ignition delay time as well. In fact, i don't really understand these files and the way you generated them. So, could you please give me your suggestion or Cantera files that i can use to modify for the JET-A fuel.
Thank you very much for your kind and helps,
Regards,
NGUYEN VAN BO
vanbonguyen is offline   Reply With Quote

Old   March 28, 2016, 15:04
Default Files for table generation
  #33
Member
 
Florian Ettner
Join Date: Mar 2009
Location: Munich, Germany
Posts: 41
Rep Power: 17
dohnie is on a distinguished road
Dear Nguyen van Bo,
you can download the following files for generating theses tables:
https://sourceforge.net/projects/ddt..._06.m/download
https://sourceforge.net/projects/ddt..._05.m/download

The "tign" Matlab file generates the tabulated ignition delay times as function of pressure, temperature and fuel content of hydrogen-air mixtures (the file "LOG_tignTable_fpT_09.csv" in the ddtFoam tutorials). The command explosion(...) (line 64) works only if you install Cantera and the Detonation Toolbox for Matlab, see
http://shepherd.caltech.edu/EDL/publ...ml/SD_Toolbox/

The second file generates the cTable_fpT_07.csv in a similar manner. This table is used to get the gas composition as function of the reaction progress variable c.

I hope this helps.
Kind regards,
Florian
wyldckat, zhouxj and vanbonguyen like this.

Last edited by dohnie; March 28, 2016 at 15:22. Reason: corrected link to Shock and Detonation Toolbox
dohnie is offline   Reply With Quote

Old   April 12, 2016, 01:52
Default
  #34
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 10
vanbonguyen is on a distinguished road
Dear Florian,
Thank you very much for shareing the files. This help me a lot.
Regards,
NGUYEN
vanbonguyen is offline   Reply With Quote

Old   April 13, 2016, 03:15
Default
  #35
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 10
vanbonguyen is on a distinguished road
When we apply the provided code of ddtFoam for other fuel, we need to carefully consider some polynomials, which are special developed for Hydrogen/air. Such as, SL0 = function(fH), alphaUnburned = function(fH), and muUnburned = function(fH). it seems that Florian extract it from experimental data. Correct me if i am wrong! So, could you please give us the reference(s) of this data?
Thank you very much!
vanbonguyen is offline   Reply With Quote

Old   April 23, 2016, 22:00
Default please helps
  #36
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 10
vanbonguyen is on a distinguished road
Hi all,
I am working with the provided ddt code for Jet-A fuel. I work perfectly with pddtFoam, all variables look quite right. However, when i move to ddtFoam solver the results still look right until the velocity approaching a value of about 700 m/s, then it is going to strange as the whole domain is burn immediately. Please see the results enclosed. Pictures for time at 0.011 seconds and at 0.111 seconds. I really do appreciate if anyone can give me your comment or suggestion! Thanksat_time_0.011_seconds.jpg

at_time_0.0111_second.jpg
vanbonguyen is offline   Reply With Quote

Old   May 11, 2016, 05:10
Default I have fixed this problem.
  #37
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 10
vanbonguyen is on a distinguished road
Quote:
Originally Posted by vanbonguyen View Post
Hi all,
I am working with the provided ddt code for Jet-A fuel. I work perfectly with pddtFoam, all variables look quite right. However, when i move to ddtFoam solver the results still look right until the velocity approaching a value of about 700 m/s, then it is going to strange as the whole domain is burn immediately. Please see the results enclosed. Pictures for time at 0.011 seconds and at 0.111 seconds. I really do appreciate if anyone can give me your comment or suggestion! ThanksAttachment 46921

Attachment 46922
I have fixed this problem. The error comes from the ignition time. To fix it i need to open the file explosion(...) in the SDT toolbax and modified the tel=0-0.001 (old) to 0-1.0 (modification). Then, we can generate the ignition time table.So it work.
vanbonguyen is offline   Reply With Quote

Old   October 3, 2016, 22:28
Default Segmentation faults in tutorial cases
  #38
New Member
 
Join Date: Oct 2016
Posts: 1
Rep Power: 0
Alvin is on a distinguished road
Hello, I installed ddtFoam onto OpenFoam 2.1.1 (The recommended version) in a SUSE Linux environment and trying to run the tutorial cases, but segmentation faults shows up and it stopped computing. (Attached picture. This is an error for the shocktube tutorial.)
According to the previous posts in this thread, it looks like everyone is using without any issues. Is there anyone had the same issues as mine? If you had and solved it, could you share how to fix it? Any information you can provide me would be greatly appreciated.
Attached Images
File Type: jpg ddtFoam.jpg (104.1 KB, 30 views)
Alvin is offline   Reply With Quote

Old   December 15, 2016, 10:13
Default
  #39
New Member
 
Mr.liu
Join Date: Sep 2012
Posts: 27
Rep Power: 13
lx882211 is on a distinguished road
Quote:
Originally Posted by vanbonguyen View Post
Hi all,
I am working with the provided ddt code for Jet-A fuel. I work perfectly with pddtFoam, all variables look quite right. However, when i move to ddtFoam solver the results still look right until the velocity approaching a value of about 700 m/s, then it is going to strange as the whole domain is burn immediately. Please see the results enclosed. Pictures for time at 0.011 seconds and at 0.111 seconds. I really do appreciate if anyone can give me your comment or suggestion! ThanksAttachment 46921

Attachment 46922
i am very interested in DDT, i want to simulated this amazing phenomenon, compared with a C3H8 fuel. However, i don't know how to generate the ignition delay and other information used during the simulation. Could you tell the method or some tips about that?

Thank you very much
Best Regards
lx882211 is offline   Reply With Quote

Old   December 15, 2016, 10:36
Default
  #40
New Member
 
Mr.liu
Join Date: Sep 2012
Posts: 27
Rep Power: 13
lx882211 is on a distinguished road
Quote:
Originally Posted by ZaidDulaimi View Post
Hi Dohnie,Yoshiaki
Thank you for this great work
I am trying to work on different kind of fuel, would you help me by sharing the utility codes?
Thank you in advance

Zaid
Have you got the utilities? can you share the utility codes with me,thank you very much.
lx882211 is offline   Reply With Quote

Reply

Tags
combustion, compressible, density based, detonation, transonic


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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 08:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 09:52
Divergence problem Smaras FLUENT 13 February 21, 2013 05:03
3d vof Smaras FLUENT 2 February 19, 2013 06:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 14:08


All times are GMT -4. The time now is 17:24.