Class including the information of an interaction volume of a MPFA O-method that does not change with time. More...
#include <dumux/porousmediumflow/sequential/cellcentered/mpfa/ointeractionvolume.hh>
Class including the information of an interaction volume of a MPFA O-method that does not change with time.
Includes information needed to calculate the transmissibility matrix of an O-interaction-volume.
Public Types | |
enum | FaceTypes { inside = 1 , boundary = 0 , outside = -1 } |
Public Member Functions | |
FVMPFAOInteractionVolume (const Grid &grid) | |
Constructs a FVMPFAOInteractionVolume object. More... | |
void | setStored () |
Mark storage as completed. More... | |
bool | isStored () const |
Returns true if information has already been stored. More... | |
void | setSubVolumeElement (const Element &element, int subVolumeIdx) |
Store an element of the interaction volume. More... | |
void | setDF (Scalar dF, int subVolumeIdx) |
Store the \( dF \) for the transmissiblity calculation. More... | |
void | setFaceArea (Scalar &faceArea, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store a flux face area. More... | |
void | setPermTimesNu (DimVector &nu, DimMatrix &perm, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store \( \boldsymbol K \boldsymbol \nu\) for the transmissiblity calculation. More... | |
void | setNormal (DimVector &normal, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store a flux face normal. More... | |
void | setBoundary (BoundaryTypes &boundaryTypes, int subVolumeFaceIdx) |
Store boundary condtion types for a flux face. More... | |
void | setOutsideFace (int subVolumeFaceIdx) |
Mark a flux face to be outside the model domain. More... | |
void | setDirichletCondition (PrimaryVariables &condition, int subVolumeFaceIdx) |
Store Dirichlet boundary condtions for a flux face. More... | |
void | setNeumannCondition (PrimaryVariables &condition, int subVolumeFaceIdx) |
Store Neumann boundary condtions for a flux face. More... | |
void | setIndexOnElement (int indexInInside, int subVolumeIdx, int subVolumeFaceIdxInInside) |
Store map from local interaction volume numbering to numbering of the Dune reference element. More... | |
int | getIndexOnElement (int subVolumeIdx, int subVolumeFaceIdx) |
Map from local interaction volume numbering to numbering of the Dune reference element. More... | |
int | getFaceIndexFromSubVolume (int subVolumeIdx, int subVolumeFaceIdx) |
Map from local interaction volume numbering on element to numbering on interaction volume. More... | |
Element | getSubVolumeElement (int subVolumeIdx) |
Get an element of the interaction volume. More... | |
BoundaryTypes & | getBoundaryType (int subVolumeFaceIdx) |
Get boundary condtion types for a flux face. More... | |
bool | isOutsideFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is outside the model domain. More... | |
bool | isInsideFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is inside the model domain and no boundary face. More... | |
bool | isInnerVolume () |
Returns true if the interaction volume is completely inside the model domain. More... | |
bool | isBoundaryFace (int subVolumeFaceIdx) |
Returns true if an interaction volume flux face is a boundary face. More... | |
PrimaryVariables & | getDirichletValues (int subVolumeFaceIdx) |
Get the Dirichlet boundary condtions for a flux face. More... | |
PrimaryVariables & | getNeumannValues (int subVolumeFaceIdx) |
Get the Neumann boundary condtions for a flux face. More... | |
DimVector & | getNormal (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get a flux face normal. More... | |
Scalar & | getFaceArea (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get a flux face area. More... | |
DimVector & | getNu (int subVolumeIdx, int subVolumeFaceIdxInInside) |
Get \( \boldsymbol \nu \) vector used for the transmissiblity calculation. More... | |
Scalar | getNtkNu (int subVolumeIdx, int subVolumeFaceIdxInInsideN, int subVolumeFaceIdxInInsideNu) const |
Get \( \boldsymbol n^\text{T} \boldsymbol K \boldsymbol \nu \) for the transmissiblity calculation. More... | |
Scalar | getNtkrkNu (Scalar &relPerm, int subVolumeIdx, int subVolumeFaceIdxInInsideN, int subVolumeFaceIdxInInsideNu) const |
Get \( \boldsymbol n^\text{T} k_{r\alpha} \boldsymbol K \boldsymbol \nu\) for the transmissiblity calculation. More... | |
Scalar | getNtkNu_df (int subVolumeIdx, int subVolumeFaceIdxInInsideN, int subVolumeFaceIdxInInsideNu) const |
Scalar | getNtkrkNu_df (Scalar &relPerm, int subVolumeIdx, int subVolumeFaceIdxInInsideN, int subVolumeFaceIdxInInsideNu) const |
enum Dumux::FVMPFAOInteractionVolume::FaceTypes |
|
inline |
Constructs a FVMPFAOInteractionVolume object.
|
inline |
Get boundary condtion types for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get the Dirichlet boundary condtions for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get a flux face area.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Map from local interaction volume numbering on element to numbering on interaction volume.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdx | The local face index in the interaction volume element |
|
inline |
|
inline |
Get the Neumann boundary condtions for a flux face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Get a flux face normal.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Get \( \boldsymbol n^\text{T} \boldsymbol K \boldsymbol \nu \) for the transmissiblity calculation.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInsideN | The local face index in the interaction volume element for the normal \( \boldsymbol n \) |
subVolumeFaceIdxInInsideNu | The local face index in the interaction volume element for the vector \( \boldsymbol \nu \) |
|
inline |
Get \( \frac{1}{dF} \left(\boldsymbol n^\text{T} \boldsymbol K \boldsymbol \nu \right) \) for the transmissiblity calculation
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInsideN | The local face index in the interaction volume element for the normal \( \boldsymbol n \) |
subVolumeFaceIdxInInsideNu | The local face index in the interaction volume element for the vector \( \boldsymbol \nu \) |
|
inline |
Get \( \boldsymbol n^\text{T} k_{r\alpha} \boldsymbol K \boldsymbol \nu\) for the transmissiblity calculation.
relPerm | relative permeability value ( \( \boldsymbol n^\text{T} k_{r\alpha} \)) |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInsideN | The local face index in the interaction volume element for the normal \( \boldsymbol n \) |
subVolumeFaceIdxInInsideNu | The local face index in the interaction volume element for the vector \( \boldsymbol \nu \) |
|
inline |
Get \( \frac{1}{dF} \left(\boldsymbol n^\text{T} k_{r\alpha} \boldsymbol K \boldsymbol \nu \right) \) for the transmissiblity calculation
relPerm | relative permeability value ( \( \boldsymbol n^\text{T} k_{r\alpha} \)) |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInsideN | The local face index in the interaction volume element for the normal \( \boldsymbol n \) |
subVolumeFaceIdxInInsideNu | The local face index in the interaction volume element for the vector \( \boldsymbol \nu \) |
|
inline |
Get \( \boldsymbol \nu \) vector used for the transmissiblity calculation.
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Get an element of the interaction volume.
subVolumeIdx | The local element index in the interaction volume |
|
inline |
Returns true if an interaction volume flux face is a boundary face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if the interaction volume is completely inside the model domain.
|
inline |
Returns true if an interaction volume flux face is inside the model domain and no boundary face.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if an interaction volume flux face is outside the model domain.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Returns true if information has already been stored.
|
inline |
Store boundary condtion types for a flux face.
boundaryTypes | BoundaryTypes object |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store the \( dF \) for the transmissiblity calculation.
dF | Value of \( dF \) |
subVolumeIdx | The local element index in the interaction volume |
|
inline |
Store Dirichlet boundary condtions for a flux face.
condition | Vector of primary variables |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store a flux face area.
faceArea | The flux face area |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
|
inline |
Store Neumann boundary condtions for a flux face.
condition | Vector phase fluxes |
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store a flux face normal.
normal | The normal vector |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Mark a flux face to be outside the model domain.
subVolumeFaceIdx | The local face index in the interaction volume |
|
inline |
Store \( \boldsymbol K \boldsymbol \nu\) for the transmissiblity calculation.
nu | \( \boldsymbol \nu \) vector |
perm | Permeability matrix |
subVolumeIdx | The local element index in the interaction volume |
subVolumeFaceIdxInInside | The local face index in the interaction volume element |
|
inline |
Mark storage as completed.
|
inline |
Store an element of the interaction volume.
element | The element |
subVolumeIdx | The local element index in the interaction volume |