OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
#include <BinaryDiffusion.h>
Public Member Functions | |
WilkeChang () | |
WilkeChang (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2) | |
virtual | ~WilkeChang () |
virtual char * | get_name () |
virtual char * | get_description () |
virtual enDiffusionModelID | get_ID () |
virtual void | compute_diffusion (double &D) |
Comupute the diffusion coefficient [in m^2/s] at a given temperature [K] and pressure [atm]. | |
virtual double | compute_diffusion (const double &T, const double &p) |
virtual void | compute_diffusion (double &D, std::vector< double > &dD) |
virtual void | compute_diffusion (const double &T, const double &p, double &D, std::vector< double > &dD) |
virtual void | compute_dD (std::vector< double > &dD) |
virtual double | compute_dD_dP (const double &T, const double &p) |
virtual double | compute_dD_dT (const double &T, const double &p) |
virtual void | scan () |
virtual void | report () |
virtual void | report2file (char *filename) |
Public Member Functions inherited from FuelCellShop::Mixture::LiquidDiffusion | |
LiquidDiffusion () | |
LiquidDiffusion (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2) | |
virtual | ~LiquidDiffusion () |
Public Member Functions inherited from FuelCellShop::Mixture::BinaryDiffusion | |
BinaryDiffusion () | |
BinaryDiffusion (FuelCellShop::Material::PureGas &species1, FuelCellShop::Material::PureGas &species2) | |
virtual | ~BinaryDiffusion () |
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 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) |
Private Member Functions | |
void | get_phi (double &phi) |
Private Attributes | |
double | mu |
double | phi |
Additional Inherited Members | |
Protected Attributes inherited from FuelCellShop::Mixture::BinaryDiffusion | |
FuelCellShop::Material::PureGas * | species1 |
FuelCellShop::Material::PureGas * | species2 |
double | T |
Temperature [in K] used to compute the diffusion coefficient, unless specified as an input to the member function. | |
double | p |
Pressure [in atm] used to compute the diffusion coefficient, unless specified as an input to the member function. | |
FuelCellShop::SolutionVariable | T_vector |
Temperature [in K] used to compute the diffusion coefficient. | |
FuelCellShop::Mixture::WilkeChang::WilkeChang | ( | ) |
FuelCellShop::Mixture::WilkeChang::WilkeChang | ( | FuelCellShop::Material::PureGas & | species1, |
FuelCellShop::Material::PureGas & | species2 | ||
) |
|
virtual |
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Comupute the diffusion coefficient [in m^2/s] at a given temperature [K] and pressure [atm].
To specify tempertaure and pressure use the member function set_T_and_p(). The given temperature and pressure should be in Kelvin and atmospheres.
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
virtual |
Implements FuelCellShop::Mixture::BinaryDiffusion.
|
private |
|
virtual |
Reimplemented from FuelCellShop::Mixture::LiquidDiffusion.
|
virtual |
Reimplemented from FuelCellShop::Mixture::LiquidDiffusion.
|
virtual |
Reimplemented from FuelCellShop::Mixture::LiquidDiffusion.
|
private |
|
private |