51       std::cerr << 
"Error: Must specify input file." << std::endl;
 
   55   GetPot input( argv[1] );
 
   61   libMesh::Real T0 = input( 
"Conditions/T0", 300.0 );
 
   62   libMesh::Real T1 = input( 
"Conditions/T1", 300.0 );
 
   63   libMesh::Real T_inc = input( 
"Conditions/T_increment", 100.0 );
 
   66   libMesh::Real p0 = input( 
"Conditions/pressure", 1.0e5 );
 
   68   const unsigned int n_species = antioch_mixture.n_species();
 
   70   std::vector<libMesh::Real> Y(n_species);
 
   71   if( input.vector_variable_size( 
"Conditions/mass_fractions" ) != n_species )
 
   73       std::cerr << 
"Error: mass fractions size not consistent with n_species" 
   78   for( 
unsigned int s = 0; s < n_species; s++ )
 
   80       Y[s] = input( 
"Conditions/mass_fractions", 0.0, s );
 
   83   libMesh::Real R_mix = antioch_mixture.R_mix(Y);
 
   86   std::vector<libMesh::Real> omega_dot(n_species,0.0);
 
   91   output.open( 
"omega_dot.dat", std::ios::trunc );
 
   93   output << 
"# Species names" << std::endl;
 
   94   for( 
unsigned int s = 0; s < n_species; s++ )
 
   96       output << antioch_mixture.species_name( s ) << 
" ";
 
   99   output << 
"# T [K]                  omega_dot [kg/m^3-s]" << std::endl;
 
  105       Antioch::TempCache<libMesh::Real> T_cache(T);
 
  107       libMesh::Real rho = p0/(R_mix*T);
 
  109       antioch_kinetics.omega_dot( T_cache, rho, Y, omega_dot );
 
  111       output.open( 
"omega_dot.dat", std::ios::app );
 
  114       for( 
unsigned int i = 0; i < n_species; i++ )
 
  116           output << std::scientific << std::setprecision(16) 
 
  117                  << omega_dot[i] << 
" ";
 
Wrapper class for evaluating chemical kinetics using Antioch. 
 
static PhysicsName reacting_low_mach_navier_stokes()
 
Wrapper class for storing state for Antioch thermo and kinetics. 
 
static std::string material_name(const GetPot &input, const std::string &physics)
Get the name of the material in the Physics/physics section.