3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Static Public Member Functions | List of all members
Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel > Class Template Reference

This class calculates source terms and current densities for fuel cells with the electrochemical models suggested by Ochs (2008) [48] or Acosta et al. (2006) [1]. More...

#include <dumux/material/chemistry/electrochemistry/electrochemistry.hh>

Inheritance diagram for Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel >:

Description

template<class Scalar, class Indices, class FluidSystem, class GridGeometry, ElectroChemistryModel electroChemistryModel>
class Dumux::ElectroChemistry< Scalar, Indices, FluidSystem, GridGeometry, electroChemistryModel >

This class calculates source terms and current densities for fuel cells with the electrochemical models suggested by Ochs (2008) [48] or Acosta et al. (2006) [1].

Todo:

TODO: Scalar type should be extracted from VolumeVariables!

TODO: This shouldn't depend on grid and discretization!!

Static Public Member Functions

template<class SourceValues >
static void reactionSource (SourceValues &values, Scalar currentDensity, const std::string &paramGroup="")
 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...
 

Member Function Documentation

◆ 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

Newton solver for calculation of the current density.

Parameters
volVarsThe 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

Calculates reaction sources with an electrochemical model approach.

Parameters
valuesThe primary variable vector
currentDensityThe current density
paramGroupThe 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: