Test for writing and reading vtk files for the staggered grid free flow models. More...
#include <config.h>#include <iostream>#include <string>#include <vector>#include <numeric>#include <dune/common/exceptions.hh>#include <dune/common/parallel/mpihelper.hh>#include <dune/common/float_cmp.hh>#include <dune/grid/yaspgrid.hh>#include <dumux/common/properties.hh>#include <dumux/common/dumuxmessage.hh>#include <dumux/discretization/staggered/freeflow/properties.hh>#include <dumux/freeflow/navierstokes/model.hh>#include <dumux/freeflow/compositional/kepsilonncmodel.hh>#include <dumux/freeflow/compositional/lowrekepsilonncmodel.hh>#include <dumux/freeflow/compositional/komegancmodel.hh>#include <dumux/freeflow/compositional/oneeqncmodel.hh>#include <dumux/freeflow/compositional/zeroeqncmodel.hh>#include <dumux/material/fluidsystems/1padapter.hh>#include <dumux/material/fluidsystems/h2oair.hh>#include <dumux/freeflow/navierstokes/problem.hh>#include <dumux/io/staggeredvtkoutputmodule.hh>#include <dumux/io/loadsolution.hh>#include <dumux/freeflow/rans/zeroeq/problem.hh>#include <dumux/freeflow/rans/oneeq/problem.hh>#include <dumux/freeflow/rans/twoeq/lowrekepsilon/problem.hh>#include <dumux/freeflow/rans/twoeq/kepsilon/problem.hh>#include <dumux/freeflow/rans/twoeq/komega/problem.hh>Test for writing and reading vtk files for the staggered grid free flow models.
Namespaces | |
| namespace | Dumux |
| make the local view function available whenever we use the grid geometry | |
| namespace | Dumux::Properties |
| namespace | Dumux::Properties::TTag |
| Type tag for numeric models. | |
Functions | |
| template<class SolutionVector , class Values > | |
| void | assignValues (SolutionVector &sol, Values values) |
| template<class TypeTag , class GridGeometry , std::size_t numValues> | |
| void | testWriteAndReadVtk (std::shared_ptr< GridGeometry > gridGeometry, const std::array< Dumux::GetPropType< TypeTag, Dumux::Properties::Scalar >, numValues > &values, const std::string &fileName, bool verbose=false, bool deleteFiles=true) |
| int | main (int argc, char **argv) |
| void assignValues | ( | SolutionVector & | sol, |
| Values | values | ||
| ) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void testWriteAndReadVtk | ( | std::shared_ptr< GridGeometry > | gridGeometry, |
| const std::array< Dumux::GetPropType< TypeTag, Dumux::Properties::Scalar >, numValues > & | values, | ||
| const std::string & | fileName, | ||
| bool | verbose = false, |
||
| bool | deleteFiles = true |
||
| ) |
