Hypersonic and Supersonic Flow Solvers
Dear Foamers,
This post is to let you know about the open-source release of the hyStrath GitHub repository that contains two new solvers to deal with hypersonic reacting flows and supersonic combusting flows. You will find more information here: - source code: https://github.com/vincentcasseau/hyStrath - Wiki page: https://github.com/vincentcasseau/hyStrath/wiki March 2017: Open-source release version 1.0
Available for OpenFOAM versions Pre-requirements: Good knowledge of OpenFOAM and the rhoCentralFoam solver Installation: ./install.sh Related articles to be found at: Latest conference papers:
https://github.com/vincentcasseau/hy...elliteMach.png hy2Foam is an open-source two-temperature computational fluid dynamics (CFD) solver that has been developed to tackle the highly complex flow physics of the hypersonic planetary atmospheric entry. Implemented within the OpenFOAM framework, the code has the capability to model physical phenomena relative to the high-speed chemically-reacting environment surrounding a spacecraft. The core of the solver initially relied on OpenFOAM solvers rhoCentralFoam and reactingFoam and it has been complemented with many new features, some of which are listed below * non-equilibrium Navier-Stokes-Fourier equations: Park's two-temperature CFD model is implemented and the choice of having a single vibrational energy pool and multiple vibrational energy pools is left to the user. Energy transfers between the different energy pools are + Vibrational-Translational (V-T) + Vibrational-Vibrational (V-V) + Heavy particle-electron (H-e) + Electron-Vibration energy transfer (e-V) --> available soon * addition of the electronic and electron energy modes * finite-rate chemistry * chemistry-vibration coupling: Park TTv model, coupled vibration-dissociation-vibration (CVDV) model * customizable chemistry databases (Park 1993, Park 1994, Dunn & Kang 1973, quantum-kinetics: Scanlon 2015) including dissociation, electron impact dissociation, electron impact ionization, associative ionization, exchange and charge exchange reactions * capability to handle species with several characteric vibrational temperatures (e.g., CO2) for the Mars atmospheric entry * transport models: Blottner and Eucken, power law and Eucken, Sutherland and Eucken, constant * species diffusion models: Lewis number, generalised Fick's law * mixing rules: Wilke, Armaly & Sutton * turbulence models (no change made to OF 2.3.0): laminar, k-omega SST, k-Epsilon, Spalart Allmaras * computation of the convective wall heat flux * computation of the mean-free-path and the breakdown parameter * boundary conditions: Smoluchowski temperature jump and Maxwell velocity slip BCs were adapted. Possibility to gradually increase the inlet flow velocity (rampInlet). * all dictionaries can be re-read on-the-fly: handy on a high-performance computer. https://github.com/vincentcasseau/hy...ace=Verdana%3E hyFoam is an open-source computational fluid dynamics (CFD) solver that is derived from hy2Foam. In the latter code, the trans-rotational and vibro-electronic energy modes are considered to be in thermal equilibrium at all times, thus producing a single-temperature CFD solver. hyFoam has the capability to model the high-speed chemically-reacting environment inside a scramjet. Most of hy2Foam features remain accessible and hyFoam further receives the addition of * customizable chemistry databases (Evans & Shexnayder 1980, Jachimoski 1992) * hydrogen compounds added to the thermochemical database * transport model: CEA2 (Chemical Equilibrium with Applications, NASA) > While we did our best to eliminate bugs, please do not hesitate to contact us should you find anything. Enquiries: hy2Foam@gmail.com hyStrath has been developed under the license GNU GPL-3.0 at the University of Strathclyde, Glasgow, UK. This work is funded by the Engineering and Physical Sciences Research Council (EPSRC). Thanks, Vincent |
Vincent, This is very interesting work. Thank you. I am curious - do you have any plan to move away from the Kurganov scheme that rhoCentralFoam is based? Perhaps to something a little less thermally diffusive? Or, are you happy/satisfied with the Kurganov scheme? From (brief) prior conversations I believe the OpenFOAM developers have considered other schemes previously but didn't see any obvious benefit. However, I have always thought that AUSMDV, AUSM+ or HLLC, etc are supposed to be less diffusive, if a little less computationally robust. Many thanks, Jason |
Hi Jason,
Thanks for your comment. For the reasons you mentioned, I am not satisfied in having KNP as the only scheme to choose from. Ideally, I would have wanted at least one of these three to perform comparisons with KNP in some specific areas of the flow-field. Time did not permit it so far unfortunately and funding for this project ended beginning of this year. But I believe that the implementation of AUSM+ -up in particular has already been attempted by OF users – a simple google search returns results – and this could be integrated should they want to release their code open-source. Thanks, Vincent PS: I am reposting the link to the source code, the one above is not working https://github.com/vincentcasseau/hyStrath |
Dear Vincent,
I've been running the test cases that are provided in hyStrath for hy2Foam solver. One issue we faced is regarding the test case "cylinderReactingMach20". The application runs fine in serial, but when I try to run it in parallel with Code:
$ decomposePar Code:
Could you please help me out on this issue? Thanks. Onur |
Hi Onur,
Thanks for reporting a potential issue. I have run this tutorial myself just now and it would seem to work fine in serial and in parallel. Could you please send a zip of your working folder to the gmail address provided in my GitHub page. Thanks, Vincent PS: is your constant/transportProperties dictionary up-to-date? Here's the one to be used for that case: https://github.com/vincentcasseau/hy...portProperties |
Hi Vincent,
Yes, my constant/transportProperties dictionary is up-to-date. It is the one that I cloned it from hyStrath git repo. I also just checked it now and saw that they are identical. Thanks, Onur |
Hi,
The issue is fixed (this version of GuptaD.C was pushed by mistake and was not supposed to belong to the current commit). Thanks Onur for noticing it. Please git pull the latest commit if necessary. Do not hesitate to Create an Issue directly on GitHub next time. Thanks, Vincent |
Hello Vincent
I am unable to find the hyFoam solver under the solver list could you please direct me to the solver. I was also wondering if you had updated hyFoam for OF 5.0. Regards Sunil |
Hi Sunil,
I released the upgraded version of the CFD libraries and solvers for use in OF-v1612+ today. The webpage is unchanged: https://github.com/vincentcasseau/hyStrath Thanks, Vincent |
Hi,
I am a PhD student, working on supersonic combustion.I am using OF 7.0. I wanted to use hyfoam solver. But, I am unable to find the hyfoam solver in this link: https://github.com/vincentcasseau/hy...s/compressible. Could you please tell me where can I find those files? |
Hi,
OF-7.0 is not supported, the latest version is v1706. Please see the Wiki for the naming convention of hyFoam: https://github.com/vincentcasseau/hy...al-equilibrium Thanks, Vincent |
Thank You for the information. I will go through that link.
Quote:
|
HI vincent,
I could able to run the hy2Foam and hyFoam tutorials in OpenFOAM 1706. I read the instructions as you said for the conversion of hy2Foam to hyFoam to model the supersonic combustion. I did not find the information related to turbulence chemistry interaction. Does it include turbulence chemistry interaction ? :) Thanks & Regards Pranay kumar |
Hi Pranay,
The only turbulence-chemistry interaction model available is laminar. I didn't restore the other models that can be found in src/combustionModels/ to date. Feel free to transpose the implementation to the model of your choice and submit a pull request. I'll be double-checking your implementation. Thanks, Vincent |
Thank you vincent. What I understood was that this solver calculates the reaction rates using arrhenius kinetic expression and turbulence chemistry coupling is ignored.I will be working on this turbulence chemistry coupling as a part of my phd work.
Currently, I am simulating supersonic combustion with your hyfoam solver. To know the boundary conditions, I read createFields header file.I have few doubts. I could not able find the terminology of "kappatr" and "kappave" and how to ignite the mixture ? Do I need to patch the region with high temperature as similar to the reactingFoam cases ? Do I have to give energy released per unit time (dQ) as B.C's/I.C' condition or what exactly this dQ means here? Thanks & Regards Pranay |
Hi Pranay,
Could you please open an Issue on my Github and copy-paste your post. I will answer there. Thanks, Vincent |
Quote:
Thanks & Regards Pranay |
Hi, I am very interested in hyfoam.
Can i use hyfoam to simulate detonation problem? Thanks
|
We've never used hyFoam for detonations but you may have come across a journal article from Marcantoni (https://www.sciencedirect.com/scienc...637?via%3Dihub) on that topic.His solver and mine rely on the same foundations: the rhoCentralFoam and reactingFoam solvers. You should be able to match his results with hyFoam.
Thanks, Vincent |
Validity for v1912
Dear Sir,
On your git page, (the compatibility section specifically) says that the current version is valid upto v1706. I was wondering if your solver is supported on v1912 as well. Thanks and Regards |
All times are GMT -4. The time now is 01:52. |