|
| BinaryDiffusion () |
|
| BinaryDiffusion (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2) |
|
virtual | ~BinaryDiffusion () |
|
virtual char * | get_name ()=0 |
|
virtual char * | get_description ()=0 |
|
virtual enDiffusionModelID | get_ID ()=0 |
|
virtual void | compute_diffusion (double &D)=0 |
| Comupute the diffusion coefficient [in m^2/s] at a given temperature [K] and pressure [atm].
|
|
virtual void | compute_diffusion (std::vector< double > &D_vec)=0 |
| Compute a vector of diffusion coefficients [in m^2/s] for a non-isothermal, isobaric case.
|
|
virtual double | compute_diffusion (const double &T, const double &p)=0 |
|
virtual void | compute_diffusion (double &D, std::vector< double > &dD)=0 |
|
virtual void | compute_diffusion (const double &T, const double &p, double &D, std::vector< double > &dD)=0 |
|
virtual void | compute_dD (std::vector< double > &dD)=0 |
|
virtual double | compute_dD_dP (const double &T, const double &p)=0 |
|
virtual double | compute_dD_dT (const double &T, const double &p)=0 |
|
virtual void | compute_dD_dT (std::vector< double > &dD_dT_vec)=0 |
| Method to compute derivative of diffusion coefficient with respect to temperature [in m^2/(s-K)] for a non-isothermal, isobaric case, at all quadrature points of the cell.
|
|
void | set_T_and_p (const double &T, const double &p) |
| Method used to set temperature (T) and pressure (p) for diffusion coefficient computation.
|
|
void | set_p (const double &p_atm) |
| Method to set pressure (p) for isobaric diffusion coefficient case.
|
|
void | set_temperature (const FuelCellShop::SolutionVariable &T_vec) |
| Method to set a vector of temperatures (T) for nonisothermal diffusion coefficient computation.
|
|
void | set_species (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2) |
|
virtual void | scan () |
|
virtual void | report () |
|
virtual void | report2file (char *filename) |
|
BinaryDiffusion as an abstract class.
virtual void FuelCellShop::Mixture::BinaryDiffusion::compute_dD_dT |
( |
std::vector< double > & |
dD_dT_vec | ) |
|
|
pure virtual |
Method to compute derivative of diffusion coefficient with respect to temperature [in m^2/(s-K)] for a non-isothermal, isobaric case, at all quadrature points of the cell.
To specify temperatures, use the member function #set_T_vector and to specify pressure, use the member function set_p. The given temperatures and pressure should be in Kelvin and atmospheres.
Implemented in FuelCellShop::Mixture::ChapmanEnskog.
virtual void FuelCellShop::Mixture::BinaryDiffusion::compute_diffusion |
( |
std::vector< double > & |
D_vec | ) |
|
|
pure virtual |
Compute a vector of diffusion coefficients [in m^2/s] for a non-isothermal, isobaric case.
To specify temperatures, use the member function #set_T_vector and to specify pressure, use the member function set_p. The given temperatures and pressure should be in Kelvin and atmospheres.
Implemented in FuelCellShop::Mixture::ChapmanEnskog.