Grids available in DuMuX. More...
DuMuX interacts with grids via the DUNE grid interface [9]. It supports grid implementations that implement this interface. Below you find a non-exhaustive list of several such grids from the DUNE community. (Typically, using grids requires External dependencies ["installing the respective grid module"].)
For the unified construction of grids, DuMuX provides adapters for several grids. These are specializations of the Dumux::GridManager template for the specific Grid type. You find these classes listed below. Each grid manager class's documentation lists the necessary and optional parameter keys to set in the input parameter file.
The following table provides an overview of grids with an existing Dumux::GridManager specialization and their capabilities.
| Grid | Type | Create grid directly from input file | Create grid from grid file | Grading | Periodic | Overlap | Partitioning | Refinement |
|---|---|---|---|---|---|---|---|---|
| YASP | Dune::YaspGrid<dim, Coordinates> | yes | dgf/vti | no | yes | yes | yes | yes |
| Dune::YaspGrid<dim, Dune::TensorProductCoordinates<ctype, dim>> | yes | no | yes | yes | yes | yes | yes | |
| OneDGrid | Dune::OneDGrid | yes | dgf | no | no | no | no | yes |
| UGGrid | Dune::UGGrid<dim> | yes | dgf/msh/vtp/vtu | no | no | no | no | yes |
| ALUGrid | Dune::ALUGrid<dim, dimworld, elType, refinementType> | yes | dgf/msh/vtp/vtu | no | no | no | no | yes |
| FoamGrid | Dune::FoamGrid<dim, dimworld> | yes | dgf/msh/vtp/vtu | no | no | no | no | yes |
| Pore Network ¹ | Dune::FoamGrid<dim, dimworld> | yes | dgf | no | no | no | no | no |
| SPGrid | Dune::SPGrid<ct, dim, Ref, Comm> | yes | dgf | no | yes | yes | no | yes |
| MMesh | MMesh | yes | dgf/msh/vtp/vtu | no | no | no | no | yes |
Additionally, dune-subgrid can be used with any kind of host grid, allowing a subset of its elements to be used for the simulation.
¹ The pore network grid is based on FoamGrid and can be generated from either an input file or a DGF file. Parameters for throats and pore bodies may be defined globally in the input file or individually within the DGF file. It is also possible to generate a structured grid with random connections, where the diameters follow a specified distribution.
Topics | |
| Pore network model grids | |
Classes | |
| class | Dumux::CakeGridManager< Grid > |
| Provides a grid manager with a method for creating vectors with polar Coordinates and one for creating a Cartesian grid from these polar coordinates. More... | |
| class | Dumux::CpGridManager |
| A grid creator that reads Petrel files and generates a CpGrid. More... | |
| class | Dumux::FacetGridManager< HG, FacetGrid, HostGridManager > |
| Grid manager for grids living on the facets of a host grid. More... | |
| struct | Dumux::GmshGridDataHandle< Grid, GridFactory, Data > |
| A data handle for commucating grid data for gmsh grids. More... | |
| struct | Dumux::GmshGridDataHandle< Dune::UGGrid< dimgrid >, GridFactory, Data > |
| A data handle for commucating grid data for gmsh grids (specialization for UGGrid). More... | |
| class | Dumux::GridData< Grid > |
| Class for grid data attached to dgf or gmsh grid files. More... | |
| class | Dumux::GridManager< Dune::ALUGrid< dim, dimworld, elType, refinementType > > |
| Provides a grid manager for Dune ALUGrids from information in the input file. More... | |
| class | Dumux::BoundaryFlag< Dune::ALUGrid< dim, dimworld, elType, refinementType > > |
| Boundary flag. More... | |
| class | Dumux::GridManager< Grid > |
| The grid manager (this is the class used by the user) for all supported grid managers that constructs a grid from information in the input file and handles the data. More... | |
| class | Dumux::GridManagerBase< GridType > |
| The grid manager base interface (public) and methods common to most grid manager specializations (protected). More... | |
| class | Dumux::GridManager< Dune::FoamGrid< dim, dimworld > > |
| Provides a grid manager for FoamGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::FoamGrid< 1, dimworld > > |
| Provides a grid manager for FoamGrids of dim 1 from information in the input file. More... | |
| class | Dumux::GridManager< Dune::MovingMesh< dim > > |
| Provides a grid manager for Dune MMesh from information in the input file. More... | |
| class | Dumux::GridManager< Dune::OneDGrid > |
| Provides a grid manager for OneDGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::SPGrid< ct, dim, Ref, Comm > > |
| Provides a grid manager for SPGrid. More... | |
| struct | Dumux::Concept::ElementSelector< Element > |
| The element selector concept. More... | |
| class | Dumux::SubGridManagerBase< HostGrid, HostGridManager > |
| The base class for grid managers for dune-subgrid. More... | |
| class | Dumux::GridManager< Dune::SubGrid< dim, HostGrid > > |
| Provides a grid manager for SubGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::SubGrid< dim, Dune::YaspGrid< dim, Coordinates > > > |
| Provides a grid manager for SubGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::UGGrid< dim > > |
| Provides a grid manager for UGGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::YaspGrid< dim, Coordinates > > |
| Provides a grid manager for YaspGrids from information in the input file. More... | |
| class | Dumux::GridManager< Dune::YaspGrid< dim, Dune::TensorProductCoordinates< ctype, dim > > > |
| Provides a grid manager for YaspGrids with different zones and grading. More... | |
| struct | Dumux::VtkGridDataHandle< Grid, GridInput, Data > |
| A data handle for communicating grid data for VTK grids. More... | |
Files | |
| file | cakegridmanager.hh |
| Provides a grid manager for a piece of cake grid . | |
| file | cpgridmanager.hh |
| A grid creator that reads Petrel files and generates a CpGrid. . | |
| file | facetgridmanager.hh |
| Grid manager specialization for extracting a grid from the facets of a host grid. | |
| file | gmshgriddatahandle.hh |
| A data handle for commucating grid data for gmsh grids. | |
| file | griddata.hh |
| Class for grid data attached to dgf or gmsh grid files. | |
| file | gridmanager.hh |
| Convenience header that includes all grid manager specializations. | |
| file | gridmanager_alu.hh |
| Grid manager specialization for ALUGrid . | |
| file | gridmanager_base.hh |
| Provides a grid manager for all supported grid managers with input file interfaces. Manages data via the grid data member. | |
| file | gridmanager_foam.hh |
| Grid manager specialization for FoamGrid . | |
| file | gridmanager_mmesh.hh |
| Grid manager specialization for MMesh . | |
| file | gridmanager_oned.hh |
| Grid manager specialization for OneDGrid . | |
| file | gridmanager_sp.hh |
| Grid manager specialization for SPGrid . | |
| file | gridmanager_sub.hh |
| Grid manager specialization for SubGrid . | |
| file | gridmanager_ug.hh |
| Grid manager specialization for UGGrid . | |
| file | gridmanager_yasp.hh |
| Grid manager specialization for YaspGrid . | |
| file | periodicgridtraits.hh |
| Grid properties related to periodicity. | |
| file | vtkgriddatahandle.hh |
| A data handle for communicating grid data for VTK grids. | |