]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update step-49
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Feb 2013 18:07:40 +0000 (18:07 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Feb 2013 18:07:40 +0000 (18:07 +0000)
git-svn-id: https://svn.dealii.org/trunk@28442 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-49/doc/intro.dox
deal.II/examples/step-49/doc/results.dox

index c77e3f506c40bfe5d8cfaf5076332ca0d4d9dea9..c9da6be05ebcec7ea50b68853a57eb5a65ca8daf 100644 (file)
@@ -108,31 +108,41 @@ image (see the grid_1 function):
 
 <h3>Modify a Mesh</h3>
 
-modify a mesh:
-  - merge meshes
-  - change boundary indicators
-  - move vertices
-  - transform via smooth function
-  - perturb/randomize mesh
-  - relax inner vertices?
+After aquiring one (or several) meshes in the ways described above, there are
+many ways to manipulate them before using them in a finite element
+computation.
 
-other things to mention:
 
- GridTools::shift
- GridTools::transform
-GridTools::rotate
- GridTools::scale
+<h4>Transformations</h4>
 
+The GridTools namespace contains a collection of small functions to transform
+a given mesh in various ways. The usage of the functions GridTools::shift,
+GridTools::rotate, GridTools::scale is fairly obvious, so we won't discuss
+those functions here.
 
 
-<h4>Merge Meshes</h4>
+ GridTools::transform
+  - transform via smooth function
+
+  - perturb/randomize mesh
 
-use GridGenerator::merge_triangulations()
 
-note, vertices have to match exactly.
 
-example:
+<h4>Merge Meshes</h4>
 
+The function GridGenerator::merge_triangulations() allows you to merge two
+given Triangulations into a single one. This only works, if the vertices of
+the to be shared edge or face match exactly. It is useful to use
+GridTools::shift and GridTools::scale to align the two meshes.  In the
+function grid_2() of this tutorial, we merge a square with a round hole
+(generated with hyper_cube_with_cylindrical_hole()) and a rectangle. The
+function GridTools::subdivided_hyper_rectangle() allows you to specify the
+number of repetitions and the positions of the corners, this way we do not
+need to shift it manually. You should inspect the mesh graphically to make
+sure, that cells line up correctly and no hanging nodes exist in the merged
+Triangulation.
+
+These are the input meshes and the output mesh:
 <TABLE WIDTH="80%" ALIGN="center">
   <tr>
     <td ALIGN="center">
@@ -149,10 +159,12 @@ example:
 </table>
 
 
-
 <h4>Move Vertices</h4>
 
-move individual vertices, first identify cells/vertices
+The function grid_3() demonstrates the ability to pick individual vertices and
+move them around in an existing mesh. Please be sure to not produce degenerate
+cells. Here, we create a box with a cylindrical hole, that is not exactly
+centered by moving the top vertices upwards:
 
 <TABLE WIDTH="60%" ALIGN="center">
   <tr>
@@ -190,3 +202,10 @@ above. This is the output from grid_4():
 </table>
 
 
+<h4>Possible Extensions</h4>
+
+- Modify a mesh:
+  - change boundary indicators
+  - relax inner vertices
+- Database of unstructured meshes for convergence studies
+
index 9e18b462df90c65d413557510d2adf734508bdde..cc5601ce56ba4de0dab4a33a1e11ab8e045c0715 100644 (file)
@@ -1,9 +1,3 @@
 <h1>Results</h1>
 
-The program has, after having been run, produced two grids, which look
-like this:
-
-
-
-<h3> Possible extensions </h3>
-
+The program produces a series of .eps files of the Triangulations. The methods are discussed above.

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.