OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FuelCellShop::Mixture::WilkeChang Class Reference

#include <BinaryDiffusion.h>

Inheritance diagram for FuelCellShop::Mixture::WilkeChang:
Inheritance graph
[legend]
Collaboration diagram for FuelCellShop::Mixture::WilkeChang:
Collaboration graph
[legend]

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::PureGasspecies1
 
FuelCellShop::Material::PureGasspecies2
 
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.
 

Constructor & Destructor Documentation

FuelCellShop::Mixture::WilkeChang::WilkeChang ( )
FuelCellShop::Mixture::WilkeChang::WilkeChang ( FuelCellShop::Material::PureGas species1,
FuelCellShop::Material::PureGas species2 
)
virtual FuelCellShop::Mixture::WilkeChang::~WilkeChang ( )
virtual

Member Function Documentation

virtual void FuelCellShop::Mixture::WilkeChang::compute_dD ( std::vector< double > &  dD)
virtual
virtual double FuelCellShop::Mixture::WilkeChang::compute_dD_dP ( const double &  T,
const double &  p 
)
virtual
virtual double FuelCellShop::Mixture::WilkeChang::compute_dD_dT ( const double &  T,
const double &  p 
)
virtual
virtual void FuelCellShop::Mixture::WilkeChang::compute_diffusion ( double &  D)
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 double FuelCellShop::Mixture::WilkeChang::compute_diffusion ( const double &  T,
const double &  p 
)
virtual
virtual void FuelCellShop::Mixture::WilkeChang::compute_diffusion ( double &  D,
std::vector< double > &  dD 
)
virtual
virtual void FuelCellShop::Mixture::WilkeChang::compute_diffusion ( const double &  T,
const double &  p,
double &  D,
std::vector< double > &  dD 
)
virtual
virtual char* FuelCellShop::Mixture::WilkeChang::get_description ( )
virtual
virtual enDiffusionModelID FuelCellShop::Mixture::WilkeChang::get_ID ( )
virtual
virtual char* FuelCellShop::Mixture::WilkeChang::get_name ( )
virtual
void FuelCellShop::Mixture::WilkeChang::get_phi ( double &  phi)
private
virtual void FuelCellShop::Mixture::WilkeChang::report ( )
virtual
virtual void FuelCellShop::Mixture::WilkeChang::report2file ( char *  filename)
virtual
virtual void FuelCellShop::Mixture::WilkeChang::scan ( )
virtual

Member Data Documentation

double FuelCellShop::Mixture::WilkeChang::mu
private
double FuelCellShop::Mixture::WilkeChang::phi
private

The documentation for this class was generated from the following file: