next up previous contents
Next: Example 8: Residual remeshing Up: Examples Previous: Example 6: Impact of   Contents

Example 7: Global mesh refinement over polynomial domain

This example shows that mesh refinement follows the boundaries of a domain; more precisely, if the nodes of an element edge are all placed on a specific geometrical entity (geometry_line, geometry_circle, etc.) then new generated nodes along that edge will also be placed on that geometrical entity; see refine_globally_geometry for this. Here we mesh a domain bounded at the left and right side by vertical lines ($x=0$ and $x=10$), bounded at the bottom by the polynomial $y = -10 - 10x + x^2$ and bounded at the top by the polynomial $y = +10 + x^2 - 0.1x^3$. Initially only one 4-noded quadrilateral is used

\begin{figure}\centerline{\epsfig{file=ps/ex7mes0.ps,width=4cm}}\end{figure}

The four nodes of the element are placed on the intersection points of the polynomials and the lines. After 4 global refinements the mesh looks like

\begin{figure}\centerline{\epsfig{file=ps/ex7mes1.ps,width=4cm}}\end{figure}

Each refinement is accompanied by some remeshing in order to obtain a more regular mesh.



tochnog 2001-09-02