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

Class calculating source terms and current densities for fuel cells with the electrochemical models suggested by Ochs (2008) [44] or Acosta (2006) [2] for the non-isothermal case. More...

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

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

Description

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

Class calculating source terms and current densities for fuel cells with the electrochemical models suggested by Ochs (2008) [44] or Acosta (2006) [2] for the non-isothermal case.

Todo:

TODO: Scalar type should be extracted from VolumeVariables!

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

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)
inlinestaticinherited

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::ElectroChemistryNI< 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: