CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [Other] A New Solver for Supersonic Combustion (https://www.cfd-online.com/Forums/openfoam-community-contributions/82851-new-solver-supersonic-combustion.html)

nakul December 7, 2010 13:54

A New Solver for Supersonic Combustion
 
1 Attachment(s)
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 December 7, 2010 14:05

Instructions to compile the solver
 
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

arvind_arya December 8, 2010 18:11

Hi Nakul,

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

Thanks

JLight December 10, 2010 07:58

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

arvind_arya December 10, 2010 23:15

Hi Nishit,
I would like to have a look on your solver as well as your case file.....Kindly upload them.!!

Lella October 18, 2013 07:10

Have you validated it?

JosueMG March 30, 2014 03:00

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

Iain_symthe January 3, 2017 09:25

Compilation problems
 
1 Attachment(s)
Quote:

Originally Posted by nakul (Post 286410)
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

reza_65 January 29, 2018 04:50

Quote:

Originally Posted by Iain_symthe (Post 631883)
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

skumar112 February 9, 2018 16:06

Could you send me the combustion solver you have created for sonicFoam to skumar3344@gmail.com

Regards
Sunil

Iain_symthe April 24, 2018 12:45

Supersonic combustion & OF
 
Quote:

Originally Posted by reza_65 (Post 679727)
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

pattim September 25, 2018 13:46

Have there been any successful cases of supersonic chemistry?
 
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!

hyFoam October 1, 2018 14:23

Hi Pattim,


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

Thanks,
Vincent

Tobi October 1, 2018 15:10

I move that thread into the community contribution section :)

ghazal_1989 February 5, 2019 04:12

Quote:

Originally Posted by hyFoam (Post 708471)
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

Daniel_Khazaei February 5, 2019 10:47

Quote:

Originally Posted by ghazal_1989 (Post 723802)
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.

hyFoam February 5, 2019 11:51

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

ghazal_1989 February 17, 2019 07:57

Quote:

Originally Posted by hyFoam (Post 723879)
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

hyFoam February 17, 2019 10:13

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

ghazal_1989 February 22, 2019 08:04

Quote:

Originally Posted by hyFoam (Post 725011)
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


All times are GMT -4. The time now is 16:35.