Skip to content
Snippets Groups Projects
Commit dc45319c authored by Gabi Seitz's avatar Gabi Seitz
Browse files

[exercise-grids] use file naming convention and fix a few typos

parent 89ce6388
No related branches found
No related tags found
1 merge request!77Towards a more consistent DUMUX course for version 3.1
# the grid exercise simulation program
dune_add_test(NAME exercise_grids
SOURCES exercisegrids.cc)
SOURCES main.cc)
# add tutorial to the common target
add_dependencies(test_exercises exercise_grids)
......
......@@ -9,8 +9,8 @@ Here we will expand on what we've covered in the basics exercise, and the proble
* Navigate to the directory `dumux-course/exercises/exercise-grids/`
We'll be editing the following files during this exercise:
* The __input file__: `exercise_grids.input` ,
* and the __problem file__: `injection2pproblem.hh`
* The __input file__: `params.input` ,
* and the __problem file__: `problem.hh`
Currently our grid is defined using the following input parameters in the input file:
......
......@@ -47,7 +47,7 @@
#include <dumux/io/grid/gridmanager.hh>
// The problem file, where setup-specific boundary and initial conditions are defined.
#include "injection2pproblem.hh"
#include "problem.hh"
////////////////////////
// the main function
......
......@@ -32,7 +32,7 @@
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/material/fluidsystems/h2on2.hh>
#include "injection2pspatialparams.hh"
#include "spatialparams.hh"
namespace Dumux {
......@@ -84,15 +84,15 @@ struct FluidSystem<TypeTag, TTag::Injection2p> { using type = FluidSystems::H2ON
*
* The domain is sized 60 m times 40 m.
*
* For the mass conservation equation neumann boundary conditions are used on
* the top, on the bottom and on the right of the domain, while dirichlet conditions
* For the mass conservation equation Neumann boundary conditions are used on
* the top, on the bottom and on the right of the domain, while Dirichlet conditions
* apply on the left boundary.
*
* Gas is injected at the right boundary from 7 m to 15 m at a rate of
* 0.001 kg/(s m), the remaining neumann boundaries are no-flow
* 0.001 kg/(s m), the remaining Neumann boundaries are no-flow
* boundaries.
*
* At the dirichlet boundaries a hydrostatic pressure and a gas saturation of zero a
* At the Dirichlet boundaries a hydrostatic pressure and a gas saturation of zero a
*
* This problem uses the \ref TwoPModel model.
*/
......
# the grid exercise simulation program
dune_add_test(NAME exercise_grids_solution
SOURCES exercisegrids_solution.cc)
SOURCES main.cc)
# add tutorial to the common target
add_dependencies(test_exercises exercise_grids_solution)
......
......@@ -47,7 +47,7 @@
#include <dumux/io/grid/gridmanager.hh>
// The problem file, where setup-specific boundary and initial conditions are defined.
#include "injection2pproblem.hh"
#include "problem.hh"
////////////////////////
// the main function
......
......@@ -32,7 +32,7 @@
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/material/fluidsystems/h2on2.hh>
#include "injection2pspatialparams.hh"
#include "spatialparams.hh"
namespace Dumux {
......@@ -92,15 +92,15 @@ struct FluidSystem<TypeTag, TTag::Injection2p> { using type = FluidSystems::H2ON
*
* The domain is sized 60 m times 40 m.
*
* For the mass conservation equation neumann boundary conditions are used on
* the top, on the bottom and on the right of the domain, while dirichlet conditions
* For the mass conservation equation Neumann boundary conditions are used on
* the top, on the bottom and on the right of the domain, while Dirichlet conditions
* apply on the left boundary.
*
* Gas is injected at the right boundary from 7 m to 15 m at a rate of
* 0.001 kg/(s m), the remaining neumann boundaries are no-flow
* 0.001 kg/(s m), the remaining Neumann boundaries are no-flow
* boundaries.
*
* At the dirichlet boundaries a hydrostatic pressure and a gas saturation of zero a
* At the Dirichlet boundaries a hydrostatic pressure and a gas saturation of zero a
*
* This problem uses the \ref TwoPModel model.
*/
......@@ -203,7 +203,7 @@ public:
}
/*!
* \brief Evaluate the boundary conditions for a neumann
* \brief Evaluate the boundary conditions for a Neumann
* boundary segment.
*
* \param globalPos The position of the integration point of the boundary segment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment