diff --git a/opm/material/constraintsolvers/ChiFlash.hpp b/opm/material/constraintsolvers/PTFlash.hpp similarity index 99% rename from opm/material/constraintsolvers/ChiFlash.hpp rename to opm/material/constraintsolvers/PTFlash.hpp index 5b0c48b83..4321c7150 100644 --- a/opm/material/constraintsolvers/ChiFlash.hpp +++ b/opm/material/constraintsolvers/PTFlash.hpp @@ -21,7 +21,7 @@ */ /*! * \file - * \copydoc Opm::ChiFlash + * \copydoc Opm::PTFlash */ #ifndef OPM_CHI_FLASH_HPP #define OPM_CHI_FLASH_HPP @@ -56,7 +56,7 @@ namespace Opm { * */ template -class ChiFlash +class PTFlash { enum { numPhases = FluidSystem::numPhases }; enum { numComponents = FluidSystem::numComponents }; @@ -1343,7 +1343,7 @@ protected: // throw std::runtime_error("Successive substitution composition update did not converge within maxIterations"); } -};//end ChiFlash +};//end PTFlash } // namespace Opm diff --git a/tests/test_co2brine_flash.cpp b/tests/test_co2brine_ptflash.cpp similarity index 97% rename from tests/test_co2brine_flash.cpp rename to tests/test_co2brine_ptflash.cpp index b1534d5aa..92da257bd 100644 --- a/tests/test_co2brine_flash.cpp +++ b/tests/test_co2brine_ptflash.cpp @@ -23,11 +23,11 @@ /*! * \file * - * \brief This is test for the ChiFlash flash solver. + * \brief This is test for the PTFlash flash solver. */ #include "config.h" -#include +#include #include #include #include @@ -128,7 +128,7 @@ void testCo2BrineFlash() fs.setLvalue(Ltmp); const int spatialIdx = 0; - using Flash = Opm::ChiFlash; + using Flash = Opm::PTFlash; // TODO: here the zInit does not have the proper derivatives Flash::solve(fs, zInit, spatialIdx, flash_verbosity, flash_twophase_method, flash_tolerance); diff --git a/tests/test_chiflash.cpp b/tests/test_threecomponents_ptflash.cpp similarity index 96% rename from tests/test_chiflash.cpp rename to tests/test_threecomponents_ptflash.cpp index a2ee93afd..2320a065d 100644 --- a/tests/test_chiflash.cpp +++ b/tests/test_threecomponents_ptflash.cpp @@ -23,11 +23,11 @@ /*! * \file * - * \brief This is test for the ChiFlash flash solver. + * \brief This is test for the PTFlash flash solver. */ #include "config.h" -#include +#include #include #include @@ -37,7 +37,7 @@ #include -void testChiFlash() +void testPTFlash() { using Scalar = double; using FluidSystem = Opm::ThreeComponentFluidSystem; @@ -124,7 +124,7 @@ void testChiFlash() fluid_state.setLvalue(Ltmp); const int spatialIdx = 0; - using Flash = Opm::ChiFlash; + using Flash = Opm::PTFlash; Flash::solve(fluid_state, z, spatialIdx, flash_verbosity, flash_twophase_method, flash_tolerance); } @@ -133,7 +133,7 @@ int main(int argc, char **argv) { Dune::MPIHelper::instance(argc, argv); - testChiFlash(); + testPTFlash(); return 0; }