Commit 4e38d90f authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

cleanup of navier-stokes example

parent 0efb1d15
stokesMesh->global refinements: 0
stokesMesh->max corner: 1.0 1.0
stokesMesh->num cells: 8 8
stokes->mesh: stokesMesh
stokes->solver: direct
stokes->solver->info: 1
stokes->output[0]->format: vtk
stokes->output[0]->filename: navier_stokes_u.2d
stokes->output[0]->name: u
stokes->output[0]->subsampling: 2
stokes->output[0]->output directory: ./output
stokes->output[0]->mode: 1
stokes->output[0]->animation: 1
stokes->output[1]->format: vtk
stokes->output[1]->filename: navier_stokes_p.2d
stokes->output[1]->name: p
stokes->output[1]->output directory: ./output
stokes->output[1]->mode: 1
stokes->output[1]->animation: 1
stokes->viscosity: 1.0
stokes->density: 1.0
stokes->boundary velocity: 10.0
adapt->timestep: 0.1
adapt->start time: 0.0
adapt->end time: 10.0
......@@ -8,11 +8,9 @@
using namespace AMDiS;
struct NavierStokesBasis
: public TaylorHoodBasis<Dune::YaspGrid<GRIDDIM>>
{
using Grid = Dune::YaspGrid<GRIDDIM>;
using GlobalBasis = typename TaylorHoodBasis<Grid>::GlobalBasis;
using CoefficientType = double;
using LinAlgTraits = BackendTraits<GlobalBasis>;
};
int main(int argc, char** argv)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment