Loading...
Searching...
No Matches
MiscibleMultiPhaseComposition.hpp File Reference

Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. More...

`#include <opm/common/Exceptions.hpp>`
`#include <opm/material/common/MathToolbox.hpp>`
`#include <opm/material/common/Valgrind.hpp>`
`#include <dune/common/fvector.hh>`
`#include <dune/common/fmatrix.hh>`

Go to the source code of this file.

## Classes

class | Opm::MMPCAuxConstraint< Scalar >
| Specifies an auxiliary constraint for the MiscibleMultiPhaseComposition constraint solver. More...
class | Opm::MiscibleMultiPhaseComposition< Scalar, FluidSystem, Evaluation >
| Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present. More...

## Namespaces

namespace | Opm
| This class implements a small container which holds the transmissibility mulitpliers for all the faces in the grid.

## Detailed Description

Computes the composition of all phases of a N-phase, N-component fluid system assuming that all N phases are present.

The constraint solver assumes the following quantities to be set:

- temperatures of all phases
- saturations of all phases
- pressures of all phases

It also assumes that the mole/mass fractions of all phases sum up to 1. After calling the solve() method the following quantities are calculated in addition:

- temperature of all phases
- density, molar density, molar volume of all phases
- composition in mole and mass fractions and molarities of all phases
- mean molar masses of all phases
- fugacity coefficients of all components in all phases
- if the setViscosity parameter is true, also dynamic viscosities of all phases
- if the setInternalEnergy parameter is true, also specific enthalpies and internal energies of all phases