28#ifndef EWOMS_CO2_INJECTION_FLASH_HH
29#define EWOMS_CO2_INJECTION_FLASH_HH
31#include <opm/material/constraintsolvers/NcpFlash.hpp>
41template <
class Scalar,
class Flu
idSystem>
44 using ParentType = Opm::NcpFlash<Scalar, FluidSystem>;
46 enum { numPhases = FluidSystem::numPhases };
52 template <
class Flu
idState,
class ComponentVector>
53 static void guessInitial(FluidState& fluidState,
const ComponentVector& globalMolarities)
55 ParentType::guessInitial(fluidState, globalMolarities);
57 for (
unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx) {
59 fluidState.setPressure(phaseIdx, 100e5);
Flash solver used by the CO2 injection problem.
Definition: co2injectionflash.hh:43
static void guessInitial(FluidState &fluidState, const ComponentVector &globalMolarities)
Guess initial values for all quantities.
Definition: co2injectionflash.hh:53
Definition: blackoilboundaryratevector.hh:37