17 #ifndef _FCST_FUELCELLSHOP_EQUATION_LAMBDA_TRANSPORT_EQUATION_H_
18 #define _FCST_FUELCELLSHOP_EQUATION_LAMBDA_TRANSPORT_EQUATION_H_
33 namespace FuelCellShop
158 virtual void initialize(ParameterHandler& param);
std::vector< double > nDrag_cell
Electro-osmotic drag coefficient, at all quadrature points in the cell.
Definition: lambda_transport_equation.h:341
double rho_dry_cell
Density [gm/cm^3] of the dry polymer electrolyte material in the cell.
Definition: lambda_transport_equation.h:331
std::vector< std::vector< double > > phi_lambda_cell
shape functions.
Definition: lambda_transport_equation.h:409
virtual void make_boundary_types()
This function fills out boundary_types.
Definition: lambda_transport_equation.h:282
unsigned int last_iter_cell
Variable used to store the index in cell_info->global_data of the previous Newton solution The soluti...
Definition: lambda_transport_equation.h:459
std::vector< double > DTeff_cell
Effecive thermo-osmotic diffusion coefficient [gm/(cm-s-K)], at all quadrature points in the cell...
Definition: lambda_transport_equation.h:393
virtual void assemble_bdry_residual(FuelCell::ApplicationCore::FEVector &bdry_rhs, const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local boundary residual.
Definition: lambda_transport_equation.h:190
std::vector< double > Dlambdaeff_cell
Effecive lambda (sorbed water) diffusivity [cm^2/s], at all quadrature points in the cell...
Definition: lambda_transport_equation.h:373
LambdaTransportEquation(FuelCell::SystemManagement &system_management)
Constructor.
std::vector< std::vector< Tensor< 1, dim > > > grad_phi_T_cell
shape function gradients.
Definition: lambda_transport_equation.h:436
std::vector< double > dsigmaMeff_dlambda_cell
Derivative of effective protonic conductivity w.r.t.
Definition: lambda_transport_equation.h:367
std::vector< double > dDTeff_dT_cell
Derivative of effective thermo-osmotic diffusion coefficient w.r.t.
Definition: lambda_transport_equation.h:400
virtual void assemble_cell_matrix(FuelCell::ApplicationCore::MatrixVector &cell_matrices, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local cell matrix.
FuelCell::SystemManagement * system_management
Pointer to the external YourApplication<dim>::system_management object.
Definition: equation_base.h:817
virtual void make_assemblers_bdry_variable_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
This function computes Local CG FEM based assemblers - variable data (boundary) .
Definition: lambda_transport_equation.h:262
virtual ~LambdaTransportEquation()
Destructor.
virtual void print_equation_info() const
The function prints out the equation's info.
bool cell_residual_counter
Counter set to TRUE when cell_residual is being assembled.
Definition: lambda_transport_equation.h:453
std::vector< double > dnDrag_dlambda_cell
Derivative of electro-osmotic drag coefficient w.r.t.
Definition: lambda_transport_equation.h:347
This class deals with Membrane Water Content Transport Equation.
Definition: lambda_transport_equation.h:133
double F
Universal Faraday's constant.
Definition: lambda_transport_equation.h:316
virtual void make_output_types()
This function fills out output_types.
Definition: lambda_transport_equation.h:290
std::vector< std::vector< double > > phi_T_cell
shape functions.
Definition: lambda_transport_equation.h:427
bool flag_thermoosmosis
Flag to indicate that lambda (sorbed water) transport by Thermo-osmosis is ON or OFF.
Definition: lambda_transport_equation.h:214
virtual void make_internal_cell_couplings()
This function fills out internal_cell_couplings.
This class is created for the objects handed to the mesh loops.
Definition: mesh_loop_info_objects.h:625
std::vector< double > dDlambdaeff_dlambda_cell
Derivative of effective lambda diffusivity w.r.t.
Definition: lambda_transport_equation.h:387
std::vector< MatrixBlock< FullMatrix< double > > > MatrixVector
The matrix vector used in the mesh loops.
Definition: matrix_block.h:102
virtual void make_assemblers_cell_constant_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info)
This function computes Local CG FEM based assemblers - constant data (cell) and allocates the memor...
std::vector< double > dDlambdaeff_dT_cell
Derivative of effective lambda diffusivity w.r.t.
Definition: lambda_transport_equation.h:380
std::vector< double > sigmaMeff_cell
Effective proton conductivity [S/cm], at all quadrature points of the cell.
Definition: lambda_transport_equation.h:353
std::vector< double > dsigmaMeff_dT_cell
Derivative of effective protonic conductivity w.r.t "temperature_of_REV", at all quadrature points in...
Definition: lambda_transport_equation.h:360
virtual void initialize(ParameterHandler ¶m)
Initialize parameters.
std::vector< std::vector< Tensor< 1, dim > > > grad_phi_lambda_cell
shape function gradients.
Definition: lambda_transport_equation.h:418
virtual void make_assemblers_generic_constant_data()
This function computes Local CG FEM based assemblers - constant data (generic).
VariableInfo t_rev
VariableInfo structure corresponding to "temperature_of_REV".
Definition: lambda_transport_equation.h:311
This class contains generic data and methods heavily used by all derived equation classes...
Definition: equation_base.h:199
virtual void assemble_cell_residual(FuelCell::ApplicationCore::FEVector &cell_rhs, const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local cell residual.
VariableInfo lambda
VariableInfo structure corresponding to "membrane_water_content".
Definition: lambda_transport_equation.h:306
IMPORTANT: Add all new solution variables and equations here !
Definition: system_management.h:271
This simple structure stores certain information regarding a particular variable for the equation (al...
Definition: equation_base.h:121
virtual void assemble_bdry_matrix(FuelCell::ApplicationCore::MatrixVector &bdry_matrices, const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
Assemble local boundary matrix.
Definition: lambda_transport_equation.h:182
double M_water
Molar weight of water in grams/mole.
Definition: lambda_transport_equation.h:321
virtual void make_assemblers_cell_variable_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::CellInfo &cell_info, FuelCellShop::Layer::BaseLayer< dim > *const layer)
This function computes Local CG FEM based assemblers - variable data (cell) .
double EW_cell
Equivalent weight of the polymer electrolyte material in the cell.
Definition: lambda_transport_equation.h:336
BlockVector< double > FEVector
The vector class used by applications.
Definition: application_data.h:39
std::vector< std::vector< Tensor< 1, dim > > > grad_phi_phiM_cell
shape function gradients.
Definition: lambda_transport_equation.h:445
virtual void make_assemblers_bdry_constant_data(const typename FuelCell::ApplicationCore::DoFApplication< dim >::FaceInfo &bdry_info)
This function computes Local CG FEM based assemblers - constant data (boundary) and allocates the m...
Definition: lambda_transport_equation.h:247
Virtual class used to characterize a generic layer interface.
Definition: base_layer.h:58
VariableInfo phi_m
VariableInfo structure corresponding to "protonic_electrical_potential".
Definition: lambda_transport_equation.h:301
virtual void declare_parameters(ParameterHandler ¶m) const
Declare parameters.