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

Determines the velocity from a finite volume solution of the pressure equation of a sequential model (IMPES). More...

#include <dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/velocityadaptive.hh>

Inheritance diagram for Dumux::FVVelocity2PAdaptive< TypeTag >:
Inheritance graph

Description

template<class TypeTag>
class Dumux::FVVelocity2PAdaptive< TypeTag >

Determines the velocity from a finite volume solution of the pressure equation of a sequential model (IMPES).

Details see FVVelocity2P

Public Member Functions

 FVVelocity2PAdaptive (Problem &problem)
 Constructs a FVVelocity2PAdaptive object. More...
 
void initialize ()
 For initialization. More...
 
void calculateVelocity (const Intersection &intersection, CellData &cellData)
 Calculates the velocity at a cell-cell interface. More...
 
bool calculateVelocityInTransport ()
 Indicates if velocity is reconstructed in the pressure step or in the transport step. More...
 
void calculateVelocityOnBoundary (const Intersection &, CellData &)
 Calculates the velocity at a boundary. More...
 
template<class MultiWriter >
void addOutputVtkFields (MultiWriter &writer)
 Adds velocity output to the output file. More...
 

Constructor & Destructor Documentation

◆ FVVelocity2PAdaptive()

template<class TypeTag >
Dumux::FVVelocity2PAdaptive< TypeTag >::FVVelocity2PAdaptive ( Problem &  problem)
inline

Constructs a FVVelocity2PAdaptive object.

Parameters
problemA problem class object

Member Function Documentation

◆ addOutputVtkFields()

template<class TypeTag >
template<class MultiWriter >
void Dumux::FVVelocity2P< TypeTag >::addOutputVtkFields ( MultiWriter &  writer)
inlineinherited

Adds velocity output to the output file.

Adds the phase velocities or a total velocity (depending on the formulation) to the output.

Template Parameters
MultiWriterClass defining the output writer
Parameters
writerThe output writer (usually a VTKMultiWriter object)

◆ calculateVelocity()

template<class TypeTag >
void Dumux::FVVelocity2PAdaptive< TypeTag >::calculateVelocity ( const Intersection &  intersection,
CellData &  cellData 
)

Calculates the velocity at a cell-cell interface.

Calculates the velocity at a cell-cell interface from a given pressure field.

Parameters
intersectionIntersection of two grid cells
cellDataObject containing all model relevant cell data

Implementation of calculateVelocity() function for cell-cell interfaces with hanging nodes.

◆ calculateVelocityInTransport()

template<class TypeTag >
bool Dumux::FVVelocity2PAdaptive< TypeTag >::calculateVelocityInTransport ( )
inline

Indicates if velocity is reconstructed in the pressure step or in the transport step.

Returns false (In the adaptive finite volume scheme the velocity has to be calculated separately to make sure the hanging nodes are treated correctly.)

◆ calculateVelocityOnBoundary()

template<class TypeTag >
void Dumux::FVVelocity2P< TypeTag >::calculateVelocityOnBoundary ( const Intersection &  intersection,
CellData &  cellData 
)
inherited

Calculates the velocity at a boundary.

Calculates the velocity at a boundary from a given pressure field.

Parameters
intersectionBoundary intersection
cellDataObject containing all model relevant cell data

◆ initialize()

template<class TypeTag >
void Dumux::FVVelocity2PAdaptive< TypeTag >::initialize ( )
inline

For initialization.


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