Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two-Temperature model using NASA-9 #65

Open
grgbellasvki opened this issue Apr 1, 2019 · 9 comments
Open

Two-Temperature model using NASA-9 #65

grgbellasvki opened this issue Apr 1, 2019 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@grgbellasvki
Copy link
Collaborator

Currently, the only way to do multi-temperature models is with RRHO model. Often for increased accuracy one should use instead the NASA-9 polynomials. The aim of this issue is to extend the library to work with multi-temperature models and NASA polynomial databases.

This is an extension necessary for the coupling of Mutation++ with US3D.

Briefly, for a two temperature model the total enthalpy for heavy is computed as:
hi(T,Tv) = 5/2RT + (hi(Tv)- 5/2RiTv)
(To be checked)

@grgbellasvki grgbellasvki added the enhancement New feature or request label Apr 1, 2019
@grgbellasvki grgbellasvki self-assigned this Apr 1, 2019
@jbscoggi
Copy link
Member

jbscoggi commented Apr 1, 2019

Hey @grgbellasvki this would be great to have added. Of course, you could generalize it as a way to extend any single-temperature thermo to a two-temperature thermo. For example, you could even use a RRHO taking only a single temperature which would be useful for testing because you should retrieve the same answer as for two-temperature RRHO. Just a thought...

@lkampoli
Copy link

lkampoli commented Apr 9, 2019

Hello,
in this regards, as I understand, there is no "default" way to switch to a 2T-model, for example Park 2T for air 5, right? But, in the past several simulations were done with COOlFluiD with 2T.

Of course here the hint is that, I'm gradually moving to implement from 1T -> 2T -> STS. So, I'm interested in the topic.

Best regards,
Lorenzo

@lkampoli
Copy link

Hello,
I understand that I wrote it wrong! Of course it is possible to use a 2T model, just I would like to add our formulation.

Regards,
Lorenzo

@lkampoli
Copy link

Hello,
may I ask a typical set of database (mixture, mechanism, transfer) file set to run air 5 2T Park model with Mutation, please?

@grgbellasvki
Copy link
Collaborator Author

The mixture and mechanism files for single and multi-temperature models are identical.
What changes is that you should choose the correct StateModel,
"ChemNonEq1T" for single temperature, "ChemNonEqTTv" for Park's two temperature model.
Note that if you choose "NASA" polynomials for thermo_db the state model "ChemNonEqTTv" should be avoided; "RRHO" is the recommended option.
We want to create a new thermo_db model which is suitable for multi-temperature models using the NASA polynomials for the total energy. The idea is similar to the one presented in Candler and MacCormack 1991 paper: "Computation of Weakly Ionized Hypersonic Flows in Thermochemical Nonequilibrium", Equation (5).

Considering energy transfer terms, again the StateModel is responsible for choosing the appropriate ones. Please give a look to the ChemNonEqTTv class for what is currently implemented.

Hope I answered your question.

air5_example.zip

@lkampoli
Copy link

Hello, yes thanks. Just I was in doubts because I get some problems when I run the simulation.
Since I still get error, may I ask you whether some of you has a working testcase with air5 2T to run in COOLFluiD, please?

@jbscoggi
Copy link
Member

Hey @lkampoli, just taking a look at this conversation and wanted to make sure you realized that the mixture file for air5 was recently renamed to be air_5 in order to be consistent with other mixtures. Maybe that is the source of the error?

@lkampoli
Copy link

Hello, yes I noticed. It is not that, but thanks for the warning! Could also be something similar somewhere else ...

@jbscoggi
Copy link
Member

You can always use checkmix to make sure the mixture you want is at least loaded correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants