16 #ifndef _FUELCELLSHOP__DUAL__PSD_H
17 #define _FUELCELLSHOP__DUAL__PSD_H
25 using namespace dealii;
27 namespace FuelCellShop
121 void declare_parameters (ParameterHandler ¶m)
const;
126 void initialize (ParameterHandler ¶m );
135 this->T_vector = T_in;
145 this->Capillary_pressure_vector = C_in;
147 psd_hi.set_capillary_pressure(C_in);
148 psd_ho.set_capillary_pressure(C_in);
159 psd_hi.set_critical_radius();
160 psd_ho.set_critical_radius();
172 psd_hi.set_saturation();
173 psd_ho.set_saturation();
228 virtual void get_saturation(std::vector<double>& S)
const ;
229 virtual void get_derivative_saturation(std::vector<double>& S)
const ;
236 virtual void get_global_saturated_permeability(
double& saturated_permeability)
const ;
244 virtual void get_relative_liquid_permeability(std::vector<double>& liquid_permeability)
const ;
245 virtual void get_derivative_relative_liquid_permeability(std::vector<double>& liquid_permeability)
const ;
252 virtual void get_relative_gas_permeability(std::vector<double>& gas_permeability)
const ;
260 virtual void get_liquid_gas_interfacial_surface(std::vector<double>& liquid_gas_interfacial_surface)
const ;
268 virtual void get_derivative_liquid_gas_interfacial_surface(std::vector<double>&)
const ;
276 virtual void get_wetted_wall_surface_area(std::vector<double>& wetted_wall_surface_area)
const ;
284 virtual void get_knudsen_radius(std::vector<double>& knudsen_radius)
const ;
289 virtual void get_diffusivity()
const ;
291 virtual void get_maximum_cross_sectional_areas(
double&)
const;
296 virtual void get_PSD_plot(
const std::vector<double> ,std::vector<double>&,std::vector<double>&,std::vector<double>&)
const;
309 virtual boost::shared_ptr<FuelCellShop::MicroScale::BasePSD<dim> >
create_replica (
const std::string &psd_section_name)
Definition: system_management.h:78
Hydrophobic Pore Size Distribution.
Definition: PSD_HO.h:91
VariableNames get_variablename() const
Function to get the VariableNames enumeration corresponding to this struct.
Definition: fcst_variables.h:170
SolutionVariable Capillary_pressure_vector
Capillary pressure at every quadrature point inside the cell.
Definition: PSD_dual.h:344
static const std::string concrete_name
Concrete name used for objects of this class.
Definition: PSD_dual.h:195
const std::type_info & get_base_type() const
This member function returns a type_info object with the name of the base layer type the inherited cl...
Definition: PSD_dual.h:214
This structure is used to encapsulate data from constant values and variable solution data that is us...
Definition: fcst_variables.h:86
Definition: system_management.h:76
SolutionVariable T_vector
Temperature at every quadrature point inside the cell.
Definition: PSD_dual.h:341
void set_critical_radius()
Member function used to set the critical radius [nm] at every quadrature point inside the cell...
Definition: PSD_dual.h:157
HIPSD< dim > psd_hi
Creating a pointer of PSD hydrophilic class.
Definition: PSD_dual.h:332
Hydrophilic Pore Size Distribution.
Definition: PSD_HI.h:89
HOPSD< dim > psd_ho
Creating a pointer of PSD hydrophobic class.
Definition: PSD_dual.h:336
void set_temperature(const SolutionVariable &T_in)
Member function used to set the temperature [Kelvin] at every quadrature point inside the cell...
Definition: PSD_dual.h:132
Dual Pore Size Distribution.
Definition: PSD_dual.h:97
Pore Size Distribution.
Definition: PSD_base.h:129
virtual boost::shared_ptr< FuelCellShop::MicroScale::BasePSD< dim > > create_replica(const std::string &psd_section_name)
This member function is used to create an object of type psd.
Definition: PSD_dual.h:309
static DualPSD< dim > const * PROTOTYPE
PROTOTYPE is the pointer is the dynamic pointer pointing to the DualPSD class itself.
Definition: PSD_dual.h:320
double pressure_c
Definition: PSD_dual.h:338
void set_saturation()
Member function used to set the saturation at every quadrature point inside the cell.
Definition: PSD_dual.h:170
void set_capillary_pressure(const SolutionVariable &C_in)
Member function used to set the capillary pressure [psi] at every quadrature point inside the cell...
Definition: PSD_dual.h:142