Element-wise calculation of the local residual for problems using a one/two-phase n-component mineralization model.  
#include <dumux/porousmediumflow/mineralization/localresidual.hh>
|  | 
| NumEqVector | computeStorage (const Problem &problem, const SubControlVolume &scv, const VolumeVariables &volVars) const | 
|  | Evaluates the amount of all conservation quantities (e.g. phase mass) within a sub-control volume. 
 | 
|  | 
| NumEqVector | computeFlux (const Problem &problem, const Element &element, const FVElementGeometry &fvGeometry, const ElementVolumeVariables &elemVolVars, const SubControlVolumeFace &scvf, const ElementFluxVariablesCache &elemFluxVarsCache) const | 
|  | Evaluates the total flux of all conservation quantities over a face of a sub-control volume. 
 | 
|  | 
◆ computeFlux()
template<class TypeTag> 
  
  | 
        
          | NumEqVector Dumux::CompositionalLocalResidual< TypeTag >::computeFlux | ( | const Problem & | problem, |  
          |  |  | const Element & | element, |  
          |  |  | const FVElementGeometry & | fvGeometry, |  
          |  |  | const ElementVolumeVariables & | elemVolVars, |  
          |  |  | const SubControlVolumeFace & | scvf, |  
          |  |  | const ElementFluxVariablesCache & | elemFluxVarsCache ) const |  | inlineinherited | 
 
- Parameters
- 
  
    | problem | The problem |  | element | The current element. |  | fvGeometry | The finite-volume geometry |  | elemVolVars | The volume variables of the current element |  | scvf | The sub control volume face to compute the flux on |  | elemFluxVarsCache | The cache related to flux computation |  
 
Add advective phase energy fluxes. For isothermal model the contribution is zero.
Add diffusive and dispersive energy fluxes. For isothermal model the contribution is zero.
 
 
◆ computeStorage()
template<class TypeTag> 
  
  | 
        
          | NumEqVector Dumux::MineralizationLocalResidual< TypeTag >::computeStorage | ( | const Problem & | problem, |  
          |  |  | const SubControlVolume & | scv, |  
          |  |  | const VolumeVariables & | volVars ) const |  | inline | 
 
We consider the volume-average here (e.g. phase mass inside a sub control volume divided by the volume). The volume is multiplied onto it afterwards in the local residual of the respective spatial discretization scheme.
- Parameters
- 
  
    | problem | The problem (Initial/Boundary conditions...) to be solved |  | scv | The sub-control volume of the finite volume grid |  | volVars | The volume variables (primary/secondary variables) in the scv |  
 
- Returns
- Amount per volume of the conserved quantities 
 
 
The documentation for this class was generated from the following file: