"README.md" did not exist on "1ef051101c6b331b810b1826c6e3674d6ac1d4c3"
[cornerpoint] add capability to use cornerpoint grids
Introduce a grid creator that reads from a Petrel output / Eclipse input file and generates a CpGrid that is offered by the OPM module dune-cornerpoint. Enhance the fully-implicit cell-centered models to be able to deal with cornerpoint grids, test the functionality. This patch consists of several parts: - patches/ and dune.module: the CMake buildsystems from Dune and OPM are not compatible. The patches change some CMake files in the required OPM modules opm-parser, opm-core and dune-cornerpoint in such a way that those modules can serve as a dependency for Dumux. In addition, some specific CMake options have to be passed to dunecontrol. See patches/README for details. - dumux/io/: defines the CpGridCreator which behaves like any other grid creator that reads from a file. In addition, it offers the Eclipse input deck in form of a static function deck(). This deck can be used to extract further simulation parameters, most prominently porosity and permeability values. - dumux/implicit/cornerpoint/: changes some of the cell-centered classes to be able to deal with a CpGrid. The changes in the ElementVolumeVariables and the FVElementGeometry are minor and required by the facts that a CpGrid doesn't offer codim-1/2 entities and that the geometries don't offer local-to-global mappings. The changes in the DarcyFluxVariables are made for enhancing the robustness of the two-point flux approximation by forcing the inter-element transmissibilities to be positive. - test/implicit/2p: runs a fully-implicit two-phase immiscible model on a CpGrid. An element index with an injection rate can be given in the input file. The grid provided in grids/ consists of only four elements, but exhibits typical cornerpoint features like a nonconforming situation and general hexahedrons. A more realistic grid will be provided in dumux-lecture soon. Reviewed by gruenich. git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15183 2fb0f335-1f38-0410-981e-8018bf24f1b0
Showing
- dumux/implicit/cornerpoint/cpdarcyfluxvariables.hh 278 additions, 0 deletionsdumux/implicit/cornerpoint/cpdarcyfluxvariables.hh
- dumux/implicit/cornerpoint/cpelementvolumevariables.hh 153 additions, 0 deletionsdumux/implicit/cornerpoint/cpelementvolumevariables.hh
- dumux/implicit/cornerpoint/cpfvelementgeometry.hh 240 additions, 0 deletionsdumux/implicit/cornerpoint/cpfvelementgeometry.hh
- dumux/io/cpgridcreator.hh 105 additions, 0 deletionsdumux/io/cpgridcreator.hh
- dune.module 1 addition, 1 deletiondune.module
- patches/README 13 additions, 0 deletionspatches/README
- patches/dune-cornerpoint-2015.04.patch 236 additions, 0 deletionspatches/dune-cornerpoint-2015.04.patch
- patches/opm-core-2015.04.patch 275 additions, 0 deletionspatches/opm-core-2015.04.patch
- patches/opm-parser-2015.04.patch 29 additions, 0 deletionspatches/opm-parser-2015.04.patch
- test/implicit/2p/CMakeLists.txt 9 additions, 0 deletionstest/implicit/2p/CMakeLists.txt
- test/implicit/2p/cc2pcornerpointproblem.hh 346 additions, 0 deletionstest/implicit/2p/cc2pcornerpointproblem.hh
- test/implicit/2p/cc2pcornerpointspatialparams.hh 205 additions, 0 deletionstest/implicit/2p/cc2pcornerpointspatialparams.hh
- test/implicit/2p/grids/hardsmall.grdecl 38 additions, 0 deletionstest/implicit/2p/grids/hardsmall.grdecl
- test/implicit/2p/test_cc2pcornerpoint.cc 63 additions, 0 deletionstest/implicit/2p/test_cc2pcornerpoint.cc
- test/implicit/2p/test_cc2pcornerpoint.input 12 additions, 0 deletionstest/implicit/2p/test_cc2pcornerpoint.input
- test/references/cc2pcornerpoint-reference.vtu 74 additions, 0 deletionstest/references/cc2pcornerpoint-reference.vtu
Loading
Please register or sign in to comment