This class calculates source terms and current densities for fuel cells with the electrochemical models suggested by Ochs (2008) [58] or Acosta et al. (2006) [2].
More...
#include <dumux/material/chemistry/electrochemistry/electrochemistry.hh>
template<class Scalar, class Indices, class FluidSystem, class GridGeometry,
ElectroChemistryModel electroChemistryModel>
class Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel >
|
template<class SourceValues > |
static void | reactionSource (SourceValues &values, Scalar currentDensity, const std::string ¶mGroup="") |
| Calculates reaction sources with an electrochemical model approach. More...
|
|
template<class VolumeVariables > |
static Scalar | calculateCurrentDensity (const VolumeVariables &volVars) |
| Newton solver for calculation of the current density. More...
|
|
◆ calculateCurrentDensity()
template<class Scalar , class Indices , class FluidSystem , class GridGeometry ,
ElectroChemistryModel electroChemistryModel>
template<class VolumeVariables >
static Scalar Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel >::calculateCurrentDensity |
( |
const VolumeVariables & |
volVars | ) |
|
|
inlinestatic |
- Parameters
-
volVars | The volume variables |
- Returns
- The current density in A/m^2
◆ reactionSource()
template<class Scalar , class Indices , class FluidSystem , class GridGeometry ,
ElectroChemistryModel electroChemistryModel>
template<class SourceValues >
static void Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel >::reactionSource |
( |
SourceValues & |
values, |
|
|
Scalar |
currentDensity, |
|
|
const std::string & |
paramGroup = "" |
|
) |
| |
|
inlinestatic |
- Parameters
-
values | The primary variable vector |
currentDensity | The current density |
paramGroup | The group containing the needed parameters |
For this method, the values parameter stores source values
The documentation for this class was generated from the following file: