3.2-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Material and Fluid Framework

The material and fluid framework with constitutive laws and mixture physics. More...

Description

The material and fluid framework with constitutive laws and mixture physics.

Short description of the most important concepts of the material and fluid framework:
  • Binary coefficient:
    Binary coefficients.

Binary coefficients describe the relations of a mixture of two components. Typical binary coefficients are Henry coefficients or binary molecular diffusion coefficients. So far, the programming interface for accessing binary coefficients has not been standardized in Dumux.

  • Chemistry:
    Chemical reactions.

Chemical reactions can be relevant for all thermodynamic relations for the liquid and gas phase of multiple chemical species The main purpose is to provide a convenient way to access these relationships via source or sink terms.

  • Component:
    thermodynamics of single chemical species or fixed mixtures of species

Components provide the thermodynamic relations for the liquid, gaseous and/or solid state of a single chemical species or a fixed mixture of species. Fluid systems use components to compute thermodynamic quantities of phases.

  • Constraint solvers:
    Constraint solvers converting primary to secondary variables.

Constraint solvers are auxiliary tools to make sure that a fluid state is consistent with some thermodynamic constraints. All constraint solvers specify a well defined set of input variables and make sure that the resulting fluid state is consistent with a given set of thermodynamic equations. Constraint solvers connect the thermodynamic relations expressed by fluid systems with the thermodynamic quantities stored by fluid states. Using them is not mandatory for models, but given the fact that some thermodynamic constraints can be quite complex to solve, sharing this code between models makes sense.

  • Equation of state:
    Equations of state.

Equations of state (EOS) are auxiliary classes which provide relations between a fluid phase's temperature, pressure, composition and density. Since these classes are only used internally in fluid systems, their programming interface is currently ad-hoc.

  • Fluid-Matrix Interactions:
    e.g. pc-Sw, kr-Sw relations, effective diffusion coefficients

Some parameters are functions of the fluid state as well as parameters of the matrix. For example the capillary pressure is a function of the phase saturation and the shape parameter \(\lambda\) which is dependent on the material. All such relations are gathered in this module.

  • Fluid state:
    Fluid states are responsible for representing the complete thermodynamic configuration of a system at a given spatial and temporal position.

A fluid state always provides access methods to all thermodynamic quantities, but the concept of a fluid state does not mandate what assumptions are made to store these thermodynamic quantities. What fluid states also do not do is to make sure that the thermodynamic state which they represent is physically possible.

  • Solid state:
    Solid states are responsible for representing all relevant thermodynamic quantities of solid systems.

A solid state provides access methods to all thermodynamic quantities, but the concept of a solid state does not mandate what assumptions are made to store these thermodynamic quantities. What solid states also do not do is to make sure that the thermodynamic state which they represent is physically possible.

  • Fluid system:
    Fluid systems express the thermodynamic relations (functions).

Since functions do not exhibit any internal state, fluid systems are stateless classes, i.e. all member functions are static. This is a conscious decision since the thermodynamic state of the system is expressed by a fluid state!

  • Spatial Parameters:
    Parameters of the porous matrix and other parameter varying with position (e.g. porosity).

All parameters which depend on the matrix and therefore on the position within the model domain are defined as spatial parameters. For example permeability, porosity etc.

Topics

 Binary Coefficients
 Binary coefficients.
 Chemistry
 Chemical reactions.
 Components
 thermodynamics of single chemical species or fixed mixtures of species
 Constraint Solvers
 Constraint solvers converting primary to secondary variables.
 Equation of State
 Equations of state.
 Fluid-Matrix Interactions
 e.g. pc-Sw, kr-Sw relations, effective diffusion coefficients
 Fluid States
 Fluid states are responsible for representing the complete thermodynamic configuration of a system at a given spatial and temporal position.
 Fluid Systems
 Fluid systems express the thermodynamic relations (functions).
 Solid States
 Solid states are responsible for representing all relevant thermodynamic quantities of solid systems.
 Solid Systems
 Solid systems express the thermodynamic relations (functions).
 Spatial Parameters
 Parameters of the porous matrix and other parameter varying with position (e.g. porosity).

Files

file  constants.hh
 A central place for various physical constants occuring in some equations.
file  idealgas.hh
 Relations valid for an ideal gas.

Classes

class  Dumux::Constants< Scalar >
 A central place for various physical constants occuring in some equations. More...
class  Dumux::IdealGas< Scalar >
 Relations valid for an ideal gas. More...