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
Four-Temperature model (for air5) #73
Comments
Just quick thoughts: Maybe overload the "enthalpy" function in the thermo_db with an ArrayXd for the associated temperature. In the base class point it to an error. Then overload the speciesHOverRT exactly as you say. Inside the function, Map the pointer to an ArrayXd. Maybe this is inefficient, but might avoid memory errors. What I have never worked and might be tricky is which temperatures the state model will return for use to kinetics and transport. |
@grgbellasvki Thanks, it helped! Thanks, |
Ok, for temperatures, I added a function in |
@lkampoli We could provide more help if we could see your code. |
Hello, yes I plan to do it within this week. I would like to finish to add diss/rec, VT and VV, so that you can see all processes. Regards, |
Hello,
I'm wondering how to implement a 4-T model for air 5: N O N2 O2 NO.
In principle, it seems quite straightforward but I have some questions. I'd do the following:
StateModel.h
corresponding to Tv_N2, Tv_O2, Tv_NO.ChemNonEqTTvStateModel.cpp
ChemNonEqT3TvStateModel.cpp.
Then, I need to modify some functions, like
getEnergiesMass
,getEnthalpiesMass,
getCpsMass,
and so on ... they callspeciesHOverRT
whose signature contains all temperatures associated to all energy modes but only one entry is present for the vibrational one.So, here is the question: how should I introduce the 3 vibrational temperatures corresponding to the 3 molecular species in air 5 in
speciesHOverRT
and other functions which make use of them?Maybe to change double Tv into double * Tv[nenergy] ?
Thank you,
Lorenzo
The text was updated successfully, but these errors were encountered: