3.1-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Member Functions | Public Attributes | List of all members
Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues Struct Reference

A container for all necessary variables to map an old solution to a new grid If the primary variables (pressure, total concentrations) are mapped to a new grid, the secondary variables can be calulated. For the mapping between sons and father, it is in addition necessary to know about how many sons live in each father ("count"). While only one phase pressure is PV, the method updateMaterialLaws() that recalculates the secondary variables needs both phase pressures (initiated via the capillary pressure of the last time step) to start the iteration to determine appropriate phase composition and pc. Hence, both phase pressures are mapped to the new solution. More...

#include <dumux/porousmediumflow/2p2c/sequential/celldataadaptive.hh>

Description

template<class TypeTag>
struct Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues

A container for all necessary variables to map an old solution to a new grid If the primary variables (pressure, total concentrations) are mapped to a new grid, the secondary variables can be calulated. For the mapping between sons and father, it is in addition necessary to know about how many sons live in each father ("count"). While only one phase pressure is PV, the method updateMaterialLaws() that recalculates the secondary variables needs both phase pressures (initiated via the capillary pressure of the last time step) to start the iteration to determine appropriate phase composition and pc. Hence, both phase pressures are mapped to the new solution.

Public Member Functions

 AdaptedValues ()
 

Public Attributes

Dune::FieldVector< Scalar, 2 > totalConcentration_
 Transport primary variables. More...
 
Dune::FieldVector< Scalar, 2 > pressure_
 
Dune::FieldVector< Scalar, 3 > volumeDerivatives_
 Storage for volume derivatives, as transport estimate on old pressure field is not correct after refinement. More...
 
Scalar cellVolume
 Cell volume for transformation of volume-specific primary variables. More...
 
FluxData2P2C< TypeTag > fluxData_
 Information on old flux direction. More...
 
int subdomain
 subdomain More...
 
int count
 counts the number of cells averaged More...
 
int isRefined
 Indicates if cell is refined. More...
 

Constructor & Destructor Documentation

◆ AdaptedValues()

template<class TypeTag >
Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::AdaptedValues ( )
inline

Member Data Documentation

◆ cellVolume

template<class TypeTag >
Scalar Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::cellVolume

Cell volume for transformation of volume-specific primary variables.

◆ count

template<class TypeTag >
int Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::count

counts the number of cells averaged

◆ fluxData_

template<class TypeTag >
FluxData2P2C<TypeTag> Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::fluxData_

Information on old flux direction.

◆ isRefined

template<class TypeTag >
int Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::isRefined

Indicates if cell is refined.

◆ pressure_

template<class TypeTag >
Dune::FieldVector<Scalar,2> Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::pressure_

Pressure primary variables

◆ subdomain

template<class TypeTag >
int Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::subdomain

subdomain

◆ totalConcentration_

template<class TypeTag >
Dune::FieldVector<Scalar,2> Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::totalConcentration_

Transport primary variables.

◆ volumeDerivatives_

template<class TypeTag >
Dune::FieldVector<Scalar,3> Dumux::CellData2P2CAdaptive< TypeTag >::AdaptedValues::volumeDerivatives_

Storage for volume derivatives, as transport estimate on old pressure field is not correct after refinement.


The documentation for this struct was generated from the following file: