adapt to the fluid system naming convention change in opm-material

This commit is contained in:
Andreas Lauser 2018-07-27 12:53:12 +02:00
parent aed7e15d2e
commit 04c3e42b87
8 changed files with 10 additions and 11 deletions

View File

@ -99,8 +99,8 @@ private:
typedef Ewoms::Co2Injection::CO2Tables CO2Tables; typedef Ewoms::Co2Injection::CO2Tables CO2Tables;
public: public:
typedef Opm::FluidSystems::BrineCO2<Scalar, CO2Tables> type; typedef Opm::BrineCO2FluidSystem<Scalar, CO2Tables> type;
//typedef Opm::FluidSystems::H2ON2<Scalar, /*useComplexRelations=*/false> type; //typedef Opm::H2ON2FluidSystem<Scalar, /*useComplexRelations=*/false> type;
}; };
// Set the material Law // Set the material Law

View File

@ -71,7 +71,7 @@ SET_TYPE_PROP(CuvetteBaseProblem, Problem, Ewoms::CuvetteProblem<TypeTag>);
// Set the fluid system // Set the fluid system
SET_TYPE_PROP( SET_TYPE_PROP(
CuvetteBaseProblem, FluidSystem, CuvetteBaseProblem, FluidSystem,
Opm::FluidSystems::H2OAirMesitylene<typename GET_PROP_TYPE(TypeTag, Scalar)>); Opm::H2OAirMesityleneFluidSystem<typename GET_PROP_TYPE(TypeTag, Scalar)>);
// Enable gravity // Enable gravity
SET_BOOL_PROP(CuvetteBaseProblem, EnableGravity, true); SET_BOOL_PROP(CuvetteBaseProblem, EnableGravity, true);

View File

@ -72,7 +72,7 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public: public:
typedef Opm::FluidSystems::H2ON2<Scalar> type; typedef Opm::H2ON2FluidSystem<Scalar> type;
}; };
// Set the material Law // Set the material Law
@ -88,8 +88,7 @@ private:
typedef Opm::TwoPhaseMaterialTraits<Scalar, typedef Opm::TwoPhaseMaterialTraits<Scalar,
/*wettingPhaseIdx=*/FluidSystem::liquidPhaseIdx, /*wettingPhaseIdx=*/FluidSystem::liquidPhaseIdx,
/*nonWettingPhaseIdx=*/FluidSystem::gasPhaseIdx> /*nonWettingPhaseIdx=*/FluidSystem::gasPhaseIdx> Traits;
Traits;
public: public:
typedef Opm::LinearMaterial<Traits> type; typedef Opm::LinearMaterial<Traits> type;

View File

@ -66,7 +66,7 @@ SET_TYPE_PROP(InfiltrationBaseProblem, Problem,
// Set the fluid system // Set the fluid system
SET_TYPE_PROP( SET_TYPE_PROP(
InfiltrationBaseProblem, FluidSystem, InfiltrationBaseProblem, FluidSystem,
Opm::FluidSystems::H2OAirMesitylene<typename GET_PROP_TYPE(TypeTag, Scalar)>); Opm::H2OAirMesityleneFluidSystem<typename GET_PROP_TYPE(TypeTag, Scalar)>);
// Enable gravity? // Enable gravity?
SET_BOOL_PROP(InfiltrationBaseProblem, EnableGravity, true); SET_BOOL_PROP(InfiltrationBaseProblem, EnableGravity, true);

View File

@ -69,7 +69,7 @@ SET_TYPE_PROP(ObstacleBaseProblem, Problem, Ewoms::ObstacleProblem<TypeTag>);
// Set fluid configuration // Set fluid configuration
SET_TYPE_PROP(ObstacleBaseProblem, FluidSystem, SET_TYPE_PROP(ObstacleBaseProblem, FluidSystem,
Opm::FluidSystems::H2ON2<typename GET_PROP_TYPE(TypeTag, Scalar)>); Opm::H2ON2FluidSystem<typename GET_PROP_TYPE(TypeTag, Scalar)>);
// Set the material Law // Set the material Law
SET_PROP(ObstacleBaseProblem, MaterialLaw) SET_PROP(ObstacleBaseProblem, MaterialLaw)

View File

@ -63,7 +63,7 @@ private:
public: public:
// Two-component single phase fluid system // Two-component single phase fluid system
typedef Opm::FluidSystems::H2ON2LiquidPhase<Scalar> type; typedef Opm::H2ON2LiquidPhaseFluidSystem<Scalar> type;
}; };
// Disable gravity // Disable gravity

View File

@ -130,7 +130,7 @@ private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public: public:
typedef Opm::FluidSystems::BlackOil<Scalar> type; typedef Opm::BlackOilFluidSystem<Scalar> type;
}; };
// The default DGF file to load // The default DGF file to load

View File

@ -107,7 +107,7 @@ SET_TYPE_PROP(WaterAirBaseProblem, SolidEnergyLaw,
// Set the fluid system. in this case, we use the one which describes // Set the fluid system. in this case, we use the one which describes
// air and water // air and water
SET_TYPE_PROP(WaterAirBaseProblem, FluidSystem, SET_TYPE_PROP(WaterAirBaseProblem, FluidSystem,
Opm::FluidSystems::H2OAir<typename GET_PROP_TYPE(TypeTag, Scalar)>); Opm::H2OAirFluidSystem<typename GET_PROP_TYPE(TypeTag, Scalar)>);
// Enable gravity // Enable gravity
SET_BOOL_PROP(WaterAirBaseProblem, EnableGravity, true); SET_BOOL_PROP(WaterAirBaseProblem, EnableGravity, true);