Element-wise calculation of the local residual for problems using the ThreePWaterOil fully implicit model.  
#include <dumux/porousmediumflow/3pwateroil/localresidual.hh>
|  | 
| enum | { numPhases = GetPropType<TypeTag, Properties::ModelTraits>::numFluidPhases()
, numComponents = GetPropType<TypeTag, Properties::ModelTraits>::numFluidComponents()
, conti0EqIdx = Indices::conti0EqIdx
, conti1EqIdx = conti0EqIdx + 1
,
 wPhaseIdx = FluidSystem::wPhaseIdx
, nPhaseIdx = FluidSystem::nPhaseIdx
, gPhaseIdx = FluidSystem::gPhaseIdx
, wCompIdx = FluidSystem::wCompIdx
,
 nCompIdx = FluidSystem::nCompIdx
 }
 | 
|  | 
| using | GridGeometry = GetPropType<TypeTag, Properties::GridGeometry> | 
|  | 
| using | ParentType = DiscretizationDefaultLocalOperator<TypeTag> | 
|  | 
| using | Problem = GetPropType<TypeTag, Properties::Problem> | 
|  | 
| using | Scalar = GetPropType<TypeTag, Properties::Scalar> | 
|  | 
| using | FVElementGeometry = typename GridGeometry::LocalView | 
|  | 
| using | SubControlVolume = typename FVElementGeometry::SubControlVolume | 
|  | 
| using | SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace | 
|  | 
| using | NumEqVector = Dumux::NumEqVector<GetPropType<TypeTag, Properties::PrimaryVariables>> | 
|  | 
| using | FluxVariables = GetPropType<TypeTag, Properties::FluxVariables> | 
|  | 
| using | ElementFluxVariablesCache = typename GetPropType<TypeTag, Properties::GridFluxVariablesCache>::LocalView | 
|  | 
| using | Indices = typename GetPropType<TypeTag, Properties::ModelTraits>::Indices | 
|  | 
| using | GridView = typename GridGeometry::GridView | 
|  | 
| using | Element = typename GridView::template Codim<0>::Entity | 
|  | 
| using | ElementVolumeVariables = typename GetPropType<TypeTag, Properties::GridVolumeVariables>::LocalView | 
|  | 
| using | VolumeVariables = GetPropType<TypeTag, Properties::VolumeVariables> | 
|  | 
| using | EnergyLocalResidual = GetPropType<TypeTag, Properties::EnergyLocalResidual> | 
|  | 
| using | FluidSystem = GetPropType<TypeTag, Properties::FluidSystem> | 
|  | 
|  | 
| static constexpr bool | useMoles = getPropValue<TypeTag, Properties::UseMoles>() | 
|  | Property that defines whether mole or mass fractions are used. 
 | 
|  | 
◆ Element
◆ ElementFluxVariablesCache
◆ ElementVolumeVariables
◆ EnergyLocalResidual
◆ FluidSystem
◆ FluxVariables
◆ FVElementGeometry
◆ GridGeometry
◆ GridView
◆ Indices
◆ NumEqVector
◆ ParentType
◆ Problem
◆ Scalar
◆ SubControlVolume
◆ SubControlVolumeFace
◆ VolumeVariables
◆ anonymous enum
| Enumerator | 
|---|
| numPhases |  | 
| numComponents |  | 
| conti0EqIdx | Index of the mass conservation equation for the water component.  | 
| conti1EqIdx | Index of the mass conservation equation for the contaminant component.  | 
| wPhaseIdx |  | 
| nPhaseIdx |  | 
| gPhaseIdx |  | 
| wCompIdx |  | 
| nCompIdx |  | 
 
 
◆ computeFlux()
- Parameters
- 
  
    | problem | The problem |  | element | The element |  | fvGeometry | The finite volume element geometry |  | elemVolVars | The element volume variables |  | scvf | The sub control volume face |  | elemFluxVarsCache | The element flux variables cache |  
 
Add advective phase energy fluxes. For isothermal model the contribution is zero.
Add diffusive energy fluxes. For isothermal model the contribution is zero.
 
 
◆ computeStorage()
The result should be averaged over the volume (e.g. phase mass inside a sub control volume divided by the volume)
- Parameters
- 
  
    | problem | The problem |  | scv | The sub-control-volume |  | volVars | The volume variables |  
 
The energy storage in the fluid phase with index phaseIdx
The energy storage in the solid matrix
 
 
◆ useMoles
The documentation for this class was generated from the following file: