antioch-0.4.0
|
#include "antioch/vector_utils_decl.h"
#include "antioch/physical_constants.h"
#include "antioch/reaction_set.h"
#include "antioch/chemical_species.h"
#include "antioch/chemical_mixture.h"
#include "antioch/read_reaction_set_data.h"
#include "antioch/units.h"
#include "antioch/vector_utils.h"
#include <cmath>
#include <limits>
Go to the source code of this file.
Functions | |
template<typename Scalar > | |
Scalar | HE (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &Tf=1.L) |
template<typename Scalar > | |
Scalar | Arrh (const Scalar &T, const Scalar &Cf, const Scalar &Ea) |
template<typename Scalar > | |
Scalar | Kooij (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &Ea, const Scalar &Tf=1.L) |
template<typename Scalar > | |
Scalar | FcentTroe (const Scalar &T, const Scalar &alpha, const Scalar &T3, const Scalar &T1, const Scalar &T2=-1.L) |
template<typename Scalar > | |
Scalar | coeffTroe (const Scalar &coef1, const Scalar &coef2, const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | cTroe (const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | nTroe (const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | FTroe (const Scalar &Fcent, const Scalar &Pr) |
template<typename VectorScalar > | |
Antioch::value_type < VectorScalar >::type | k_photo (const VectorScalar &solar_lambda, const VectorScalar &solar_irr, const VectorScalar &sigma_lambda, const VectorScalar &sigma_sigma) |
template<typename Scalar > | |
int | tester (const std::string &root_name) |
int | main (int argc, char *argv[]) |
Scalar Arrh | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | Ea | ||
) |
Definition at line 50 of file parsing_chemkin.C.
Referenced by tester().
Scalar coeffTroe | ( | const Scalar & | coef1, |
const Scalar & | coef2, | ||
const Scalar & | Fcent | ||
) |
Definition at line 69 of file parsing_chemkin.C.
Scalar cTroe | ( | const Scalar & | Fcent | ) |
Definition at line 75 of file parsing_chemkin.C.
References coeffTroe().
Referenced by FTroe().
Scalar FcentTroe | ( | const Scalar & | T, |
const Scalar & | alpha, | ||
const Scalar & | T3, | ||
const Scalar & | T1, | ||
const Scalar & | T2 = -1.L |
||
) |
Definition at line 62 of file parsing_chemkin.C.
Referenced by tester().
Scalar FTroe | ( | const Scalar & | Fcent, |
const Scalar & | Pr | ||
) |
Definition at line 91 of file parsing_chemkin.C.
References cTroe(), nTroe(), and std::pow().
Referenced by tester().
Scalar HE | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | Tf = 1.L |
||
) |
Definition at line 44 of file parsing_chemkin.C.
References std::pow().
Referenced by tester().
Antioch::value_type<VectorScalar>::type k_photo | ( | const VectorScalar & | solar_lambda, |
const VectorScalar & | solar_irr, | ||
const VectorScalar & | sigma_lambda, | ||
const VectorScalar & | sigma_sigma | ||
) |
Definition at line 100 of file parsing_chemkin.C.
References Antioch::SigmaBinConverter< VectorCoeffType >::y_on_custom_grid().
Scalar Kooij | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | Ea, | ||
const Scalar & | Tf = 1.L |
||
) |
Definition at line 56 of file parsing_chemkin.C.
References std::pow().
Referenced by tester().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 408 of file parsing_chemkin.C.
Scalar nTroe | ( | const Scalar & | Fcent | ) |
Definition at line 83 of file parsing_chemkin.C.
References coeffTroe().
Referenced by FTroe().
int tester | ( | const std::string & | root_name | ) |
Elementary, + Kooij
*************** H2-O2 Dissociation Reactions ******************
***************Formation and Consumption of H2O2******************
made up for rev test
CH3 + H <=> CH4 1e12 1.2 3.125e4 REV/ 1e8 1.2 3.5e3/
Definition at line 117 of file parsing_chemkin.C.
References Antioch::KineticsModel::A, Arrh(), Antioch::Reaction< CoeffType, VectorCoeffType >::compute_forward_rate_coefficient(), FcentTroe(), FTroe(), Antioch::Units< T >::get_SI_factor(), HE(), Kooij(), Antioch::ReactionSet< CoeffType >::n_reactions(), and Antioch::ReactionSet< CoeffType >::reaction().