<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All,<br>
<br>
I'm trying to create a very simple high order curved mesh of a sphere. When I generate the mesh in gmsh and visualize the surface, everything looks fine. However, when I take the mesh, read it into MATLAB and plot it myself, it looks terrible--it is no longer
high order. The polynomial order is 5.<br>
<br>
I have included three images: two of the sphere generated with gmsh, and another visualized within MATLAB.<br>
<br>
I can't figure out what is causing the discrepancy. I have tried using both monomial and orthonormal (koorwinder) nodal basis functions, but that doesn't seem to help.
<br>
<br>
What type of basis functions does gmsh use? Is it producing its visualization using Bezier curves or nurbs? That's the only explanation I can think of.<br>
<br>
I am using the following command to generate the mesh:<br>
gmsh -2 -order 5 -hoOptimize sphere_generator.geo<br>
<br>
Does anyone know what might be going on here? Any help would be greatly appreciated!<br>
<br>
Thanks for your time!<br>
<br>
John<br>
</div>
</body>
</html>