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

[Other] A New Solver for Supersonic Combustion

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2010, 14:54
Default A New Solver for Supersonic Combustion
  #1
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
Hi,
I have modifed the rhoCentralFOAM solver for viscous supersonic flows to incorporate combustion and mixing. This solver is capable of simulating supersonic combustion. The combustion code has been taken from reactingFOAM. I have named it "rhoCentralSpeciesFOAM".

I have done a test case simulation with this and it works. But there are still few issues with the solver. The solver is not very stable. It is still quite sensitive to test case setup. Although the solver works but the results are not very accurate with increase in the complexity of chemical reactions.

I request the OF community to have look at this solver. Any suggestions regarding any modifications are highly appreciated. Steps needed to integerate it with your OF have been specified in the following post.

-Nakul
Attached Files
File Type: gz rhoCentralSpeciesFoam.tar.gz (5.4 KB, 315 views)

Last edited by Tobi; October 1, 2018 at 16:11.
nakul is offline   Reply With Quote

Old   December 7, 2010, 15:05
Default Instructions to compile the solver
  #2
Senior Member
 
Nakul
Join Date: Apr 2010
Location: India
Posts: 147
Rep Power: 16
nakul is on a distinguished road
1) OF-1.7x should be used because the thermodynamics is based upon sensible enthalpy. This change has been introduced in OF-1.7x only. Hence the solver won't work on any previous versions.

2) Firstly copy the rhoCentralFOAM solver from "$OpenFOAM/applications/" folder to some other location within the OF folder,

3) Delete the "Make" folder and all other header and C- files that are there. Don't delete the BCs folder.

4) Copy the files from this solver into your folder and rename the folder to "rhoCentralSpeciesFoam".

5) Run the wmake command and the solver would compile. If you face any errors, just let me know.

-Nakul
nakul is offline   Reply With Quote

Old   December 8, 2010, 19:11
Default
  #3
New Member
 
Arvind
Join Date: Mar 2009
Posts: 13
Rep Power: 17
arvind_arya is on a distinguished road
Hi Nakul,

Can you post the case you have simulated.!!!!!

Thanks
arvind_arya is offline   Reply With Quote

Old   December 10, 2010, 08:58
Default
  #4
New Member
 
Nishit Joseph
Join Date: Nov 2010
Posts: 29
Rep Power: 16
JLight is on a distinguished road
Hi Nakul
Have worked on something similar with sonicFoam ... if anyone is interested I will upload it. Still in the process of validating the results.

As Arvind indicated it will be great if you can post your results so I can compare it with mine.

Cheers!
J
JLight is offline   Reply With Quote

Old   December 11, 2010, 00:15
Default
  #5
New Member
 
Arvind
Join Date: Mar 2009
Posts: 13
Rep Power: 17
arvind_arya is on a distinguished road
Hi Nishit,
I would like to have a look on your solver as well as your case file.....Kindly upload them.!!
arvind_arya is offline   Reply With Quote

Old   October 18, 2013, 08:10
Default
  #6
New Member
 
SC
Join Date: Mar 2011
Posts: 1
Rep Power: 0
Lella is on a distinguished road
Have you validated it?
Lella is offline   Reply With Quote

Old   March 30, 2014, 04:00
Default
  #7
New Member
 
Josue
Join Date: Mar 2014
Posts: 4
Rep Power: 12
JosueMG is on a distinguished road
Hi JLight,
I would be interested in giving a try at your solver - sonicFoam + chemistry
can you upload it? have you validated it yet? I want to simulate detonations with detailed chemistry
JosueMG is offline   Reply With Quote

Old   January 3, 2017, 10:25
Default Compilation problems
  #8
New Member
 
Join Date: Dec 2016
Posts: 5
Rep Power: 9
Iain_symthe is on a distinguished road
Quote:
Originally Posted by nakul View Post
Hi,
I have modifed the rhoCentralFOAM solver for viscous supersonic flows to incorporate combustion and mixing. This solver is capable of simulating supersonic combustion. The combustion code has been taken from reactingFOAM. I have named it "rhoCentralSpeciesFOAM".

I have done a test case simulation with this and it works. But there are still few issues with the solver. The solver is not very stable. It is still quite sensitive to test case setup. Although the solver works but the results are not very accurate with increase in the complexity of chemical reactions.

I request the OF community to have look at this solver. Any suggestions regarding any modifications are highly appreciated. Steps needed to integerate it with your OF have been specified in the following post.

-Nakul
Nakul:
When I tried to compile your solver with OF 1.7, I get an error. See attached output of ./Allwmake
Could you please let me know what I am doing wrong?

thanks
Attached Files
File Type: pdf compiler.pdf (114.8 KB, 72 views)
Iain_symthe is offline   Reply With Quote

Old   January 29, 2018, 05:50
Default
  #9
Member
 
Reza khodadadi
Join Date: Apr 2011
Location: https://t.me/pump_upp
Posts: 32
Rep Power: 15
reza_65 is on a distinguished road
Send a message via ICQ to reza_65 Send a message via AIM to reza_65 Send a message via Yahoo to reza_65
Quote:
Originally Posted by Iain_symthe View Post
Nakul:
When I tried to compile your solver with OF 1.7, I get an error. See attached output of ./Allwmake
Could you please let me know what I am doing wrong?

thanks
I think you should follow these steps:
1- first check whether did you include the BCs folder from rhoCentralFoam solver?
if not include that folder in it.
2- if you have done that part, you need to be sure that you have compiled OF 1.7.1 very well in your Linux, and for this reason just try to re-compile one of the existing solver and just rename it, to see whether you do not have gcc problem, cause OF 1.7.1 use gcc 4.4 however in the latest version of Linux, you might have gcc 4.7 or 4.8 or above.
if it's the case try to use wiki website for re-compiling your OF 1.7.1

At the end, I would tell you that I tested this solver many times ago, and it has got some issues. but you can work on it to improve it. otherwise, I suggest you start from scratch and get one of the latest version of OF, and try to combine (rhoCentralFoam + reactingFoam), (which I myself have done it for my PhD).


Regards,
Reza
reza_65 is offline   Reply With Quote

Old   February 9, 2018, 17:06
Default
  #10
Member
 
sunil kumar
Join Date: May 2016
Posts: 80
Rep Power: 10
skumar112 is on a distinguished road
Could you send me the combustion solver you have created for sonicFoam to skumar3344@gmail.com

Regards
Sunil
skumar112 is offline   Reply With Quote

Old   April 24, 2018, 13:45
Default Supersonic combustion & OF
  #11
New Member
 
Join Date: Dec 2016
Posts: 5
Rep Power: 9
Iain_symthe is on a distinguished road
Quote:
Originally Posted by reza_65 View Post
I think you should follow these steps:
1- first check whether did you include the BCs folder from rhoCentralFoam solver?
if not include that folder in it.
2- if you have done that part, you need to be sure that you have compiled OF 1.7.1 very well in your Linux, and for this reason just try to re-compile one of the existing solver and just rename it, to see whether you do not have gcc problem, cause OF 1.7.1 use gcc 4.4 however in the latest version of Linux, you might have gcc 4.7 or 4.8 or above.
if it's the case try to use wiki website for re-compiling your OF 1.7.1

At the end, I would tell you that I tested this solver many times ago, and it has got some issues. but you can work on it to improve it. otherwise, I suggest you start from scratch and get one of the latest version of OF, and try to combine (rhoCentralFoam + reactingFoam), (which I myself have done it for my PhD).


Regards,
Reza
Thanks, Reza. Could you please send me a tarfile of your solver to symthe_Iain@yahoo.com? If you could also include validation cases and the set-up that would be great
Iain_symthe is offline   Reply With Quote

Old   September 25, 2018, 14:46
Default Have there been any successful cases of supersonic chemistry?
  #12
Member
 
Patti Michelle Sheaffer
Join Date: Sep 2018
Posts: 55
Rep Power: 8
pattim is on a distinguished road
Have there been any successful cases of supersonic chemistry using these solvers (sonic solvers modified to include chemistry)? If so, can these be made available online or else sent email to me? miche1@earthlink.net I'm new to OF and would appreciate any simple cases examples. Thank You!
pattim is offline   Reply With Quote

Old   October 1, 2018, 15:23
Default
  #13
Member
 
Vince
Join Date: Mar 2017
Posts: 45
Rep Power: 9
hyFoam is on a distinguished road
Hi Pattim,


Please have a look here:
https://github.com/vincentcasseau/hyStrath

Thanks,
Vincent
ghazal_1989 likes this.
hyFoam is offline   Reply With Quote

Old   October 1, 2018, 16:10
Default
  #14
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
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
I move that thread into the community contribution section
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Old   February 5, 2019, 05:12
Default
  #15
New Member
 
Join Date: Jan 2017
Posts: 13
Rep Power: 9
ghazal_1989 is on a distinguished road
Quote:
Originally Posted by hyFoam View Post
Hi Pattim,


Please have a look here:
https://github.com/vincentcasseau/hyStrath

Thanks,
Vincent





Hi Vincent,



I tried to compile the solvers of hyFoam and hy2Foam on the OpenFoam-V6 and got the following error. I was wondering if you could tell me whether these solvers can only be compiled on the OpenFOAM-V1.7x?


Best,
Ghazal


/usr/bin/ld: cannot find -lstrathReactionThermophysicalModels
/usr/bin/ld: cannot find -lstrathSpecie
collect2: error: ld returned 1 exit status
/opt/openfoam6/wmake/makefiles/general:167: recipe for target '/home/ghazal/OpenFOAM/root-6/platforms/linux64GccDPInt32Opt/lib/libhyTwoFoam.so' failed
make: *** [/home/ghazal/OpenFOAM/root-6/platforms/linux64GccDPInt32Opt/lib/libhyTwoFoam.so] Error 1
ghazal_1989 is offline   Reply With Quote

Old   February 5, 2019, 11:47
Default
  #16
Senior Member
 
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21
Daniel_Khazaei will become famous soon enough
Quote:
Originally Posted by ghazal_1989 View Post
Hi Vincent,

I tried to compile the solvers of hyFoam and hy2Foam on the OpenFoam-V6 and got the following error. I was wondering if you could tell me whether these solvers can only be compiled on the OpenFOAM-V1.7x?

Best,
Ghazal

/usr/bin/ld: cannot find -lstrathReactionThermophysicalModels
/usr/bin/ld: cannot find -lstrathSpecie
collect2: error: ld returned 1 exit status
/opt/openfoam6/wmake/makefiles/general:167: recipe for target '/home/ghazal/OpenFOAM/root-6/platforms/linux64GccDPInt32Opt/lib/libhyTwoFoam.so' failed
make: *** [/home/ghazal/OpenFOAM/root-6/platforms/linux64GccDPInt32Opt/lib/libhyTwoFoam.so] Error 1
Hi,

These errors you have posted don't reveal the exact cause of the compilation failure.
It can only be understood that none of the two necessary libraries have been compiled correctly and consequently the main lib itself failed due to the missing libraries.
The real error is way above this line and sending the complete log probably helps identifying the problem.
ghazal_1989 likes this.
Daniel_Khazaei is offline   Reply With Quote

Old   February 5, 2019, 12:51
Default
  #17
Member
 
Vince
Join Date: Mar 2017
Posts: 45
Rep Power: 9
hyFoam is on a distinguished road
Hi,


The correct OF version is OF-v1706 for the Master branch, that is ESI branch of OpenFOAM(.com).
Please read the step by step Installation guidelines in the hyStrath/Wiki



Thanks
hyFoam is offline   Reply With Quote

Old   February 17, 2019, 08:57
Default
  #18
New Member
 
Join Date: Jan 2017
Posts: 13
Rep Power: 9
ghazal_1989 is on a distinguished road
Quote:
Originally Posted by hyFoam View Post
Hi,


The correct OF version is OF-v1706 for the Master branch, that is ESI branch of OpenFOAM(.com).
Please read the step by step Installation guidelines in the hyStrath/Wiki



Thanks

Hi Vince,
Many thanks for your reply. Unfortunately, I was unable to install OF-V1706 on my linux 16.04 LTS. I could only find the installation's comments for the OpenFoam-V1812. I would appreciate if could help me on this.

Best, Ghazal
ghazal_1989 is offline   Reply With Quote

Old   February 17, 2019, 11:13
Default
  #19
Member
 
Vince
Join Date: Mar 2017
Posts: 45
Rep Power: 9
hyFoam is on a distinguished road
Hi,


Source files - please pick v1706:

https://www.openfoam.com/download/release-history.php


System requirements:

https://www.openfoam.com/documentati...quirements.php


If that's what you've done, please give more details as to what is not working. Also, this might not be the right thread to talk about installation issues given an Ubuntu version.



Thanks,
Vincent
hyFoam is offline   Reply With Quote

Old   February 22, 2019, 09:04
Default
  #20
New Member
 
Join Date: Jan 2017
Posts: 13
Rep Power: 9
ghazal_1989 is on a distinguished road
Quote:
Originally Posted by hyFoam View Post
Hi,


Source files - please pick v1706:

https://www.openfoam.com/download/release-history.php


System requirements:

https://www.openfoam.com/documentati...quirements.php


If that's what you've done, please give more details as to what is not working. Also, this might not be the right thread to talk about installation issues given an Ubuntu version.



Thanks,
Vincent
Hi,

Thank you so much. I've finally installed OF-v1706 sucessfully and also compile hyStrath-master on my system. However, hyFoam CFD solver (supersonic combusting flows) has not been compiled and only hy2Foam and hy2MhdFoam solver can be used. I would appreciate if you could help me on this.


Best,

Ghazaleh
ghazal_1989 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
Modelling Combustion in Porous Zone tanjinjack FLUENT 2 September 26, 2016 05:10
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
premixed combustion - parallel solver error Craig FLUENT 0 October 14, 2008 16:07
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08
Need Similar Combustion Tutorial as my model Arnab Siemens 0 May 24, 2005 19:23


All times are GMT -4. The time now is 02:00.