From: heister Date: Sun, 17 Feb 2013 06:08:31 +0000 (+0000) Subject: update step-49 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52257290dc4d385f4ed4b3917da22f4a1b21679d;p=dealii-svn.git update step-49 git-svn-id: https://svn.dealii.org/trunk@28436 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-49/doc/intro.dox b/deal.II/examples/step-49/doc/intro.dox index 9feea29700..c77e3f506c 100644 --- a/deal.II/examples/step-49/doc/intro.dox +++ b/deal.II/examples/step-49/doc/intro.dox @@ -133,7 +133,20 @@ note, vertices have to match exactly. example: -@image html step-49.grid-2.png + + + + + + + +
+ @image html step-49.grid-2a.png input mesh 1 + + @image html step-49.grid-2b.png input mesh 2 + + @image html step-49.grid-2.png merged mesh +
@@ -141,29 +154,37 @@ example: move individual vertices, first identify cells/vertices -@image html step-49.grid-3.png + + + + + +
+ @image html step-49.grid-3a.png input mesh + + @image html step-49.grid-3.png top vertices moved upwards +

Extrude Meshes

-GridGenerator::extrude_triangulation() - -see grid_4() function in this tutorial. - -this example can of course be generated using the 3d hyper_cube_with_cylindrical_hole(). - -usage for meshes generated from gmsh for example - +If you need a 3d mesh that can be created by extruding a given 2d mesh (that +can be created in any of the ways given above), you can use the function +GridGenerator::extrude_triangulation(). See grid_4() function in this tutorial +for an example. Note that the given result could also be achieved using the 3d +version of hyper_cube_with_cylindrical_hole(). The main usage is a 2d mesh +generated for example with gmsh, that is read in from a .msh file as described +above. This is the output from grid_4():
- @image html step-49.grid-4base.png test + @image html step-49.grid-4base.png input mesh - @image html step-49.grid-4.png + @image html step-49.grid-4.png extruded output mesh
diff --git a/deal.II/examples/step-49/doc/step-49.grid-2a.png b/deal.II/examples/step-49/doc/step-49.grid-2a.png new file mode 100644 index 0000000000..8f62699a65 Binary files /dev/null and b/deal.II/examples/step-49/doc/step-49.grid-2a.png differ diff --git a/deal.II/examples/step-49/doc/step-49.grid-2b.png b/deal.II/examples/step-49/doc/step-49.grid-2b.png new file mode 100644 index 0000000000..e0b8722ae6 Binary files /dev/null and b/deal.II/examples/step-49/doc/step-49.grid-2b.png differ diff --git a/deal.II/examples/step-49/doc/step-49.grid-3a.png b/deal.II/examples/step-49/doc/step-49.grid-3a.png new file mode 100644 index 0000000000..f9914ac27c Binary files /dev/null and b/deal.II/examples/step-49/doc/step-49.grid-3a.png differ