13 #ifndef _FUELCELL_OPERATING_CONDITIONS__H
14 #define _FUELCELL_OPERATING_CONDITIONS__H
17 #include <base/parameter_handler.h>
20 #include <boost/lexical_cast.hpp>
27 using namespace dealii;
146 void declare_parameters (ParameterHandler ¶m)
const;
152 void initialize (ParameterHandler& param);
158 double saturation_pressure()
const;
165 double get_x_wv()
const;
170 double get_x_o2()
const;
175 double get_x_h2()
const;
181 double voltage_cell_th();
186 void print_operating_conditions()
const;
191 void adjust_initial_solution(std::vector< component_materialID_value_map >& maps,
212 void adjust_boundary_conditions(std::vector< component_boundaryID_value_map >& maps,
239 {
return p_c/101325; }
248 {
return p_a/101325; }
301 #endif // _FUELCELL_OPERATING_CONDITIONS__H
double p_c
Pressure of the gas mixture in the cathode B.C.
Definition: operating_conditions.h:291
double get_V() const
Return cell voltage as input in Operating Conditions subsection.
Definition: operating_conditions.h:225
double T_cell
Operating temperature of the cell.
Definition: operating_conditions.h:271
double c_c
Concentration of the gas mixture in the cathode B.C.
Definition: operating_conditions.h:293
Class used to store, read from file and define the operating conditions for a fuel cell...
Definition: operating_conditions.h:110
double c_a
Concentration of the gas mixture in the anode B.C.
Definition: operating_conditions.h:285
double RH_a
Relative humidity of the gas mixture in the anode B.C.
Definition: operating_conditions.h:287
double E_th
Theoretical voltage for the cell.
Definition: operating_conditions.h:279
double channel_oxygen_mole_fraction
Initial amount of oxygen in channel prior to humidification.
Definition: operating_conditions.h:267
double get_pa_atm() const
Return anode pressure as input in Operating Conditions subsection.
Definition: operating_conditions.h:247
double get_pa_Pa() const
Return anode pressure as input in Operating Conditions subsection.
Definition: operating_conditions.h:244
double get_c_c() const
Get the total gas concentration in the cathode.
Definition: operating_conditions.h:219
bool adjust_BC
Bool set to true if you want to modify boundary conditions.
Definition: operating_conditions.h:262
double get_RH_a() const
Return anode relative humidity as input in Operating Conditions subsection.
Definition: operating_conditions.h:250
double dV_a
Voltage drop in the anode.
Definition: operating_conditions.h:275
double get_dV_a() const
Return the voltage drop in the anode.
Definition: operating_conditions.h:232
double RH_c
Relative humidity of the gas mixture in the anode B.C.
Definition: operating_conditions.h:295
double get_pc_atm() const
Return cathode pressure as input in Operating Conditions subsection.
Definition: operating_conditions.h:238
double get_T() const
Return cell temperture as input in Operating Conditions subsection.
Definition: operating_conditions.h:222
double R
Definition: operating_conditions.h:264
double V_cell
Operating voltage of the cell.
Definition: operating_conditions.h:273
double get_OCV() const
Get the open circuit voltage for the cell.
Definition: operating_conditions.h:256
double get_RH_c() const
Return cathode relative humidity as input in Operating Conditions subsection.
Definition: operating_conditions.h:253
double get_c_a() const
Get the total gas concentration in the anode.
Definition: operating_conditions.h:241
double OCV
Open circuit voltage for the cell.
Definition: operating_conditions.h:277
double get_pc_Pa() const
Return cathode pressure as input in Operating Conditions subsection.
Definition: operating_conditions.h:235
FuelCell Geometry information class.
Definition: geometry.h:91
double p_a
Pressure of the gas mixture in the anode B.C.
Definition: operating_conditions.h:283