[Gmsh] GMSH-surf

Christophe Geuzaine cgeuzaine at ulg.ac.be
Sun Dec 28 12:02:39 CET 2008


Rony Touma wrote:
> Dear GMSH Developer,
> 
>  
> 
> Would you kindly tell if I can use GMSH to plot (in 3D) a surface of the 
> form z=f(x,y) where the points (x,y) are the centers of the triangles of 
> a mesh generated using GMSH?
> 
> In fact, I am solving hyperbolic systems on unstructured grids; the 
> numerical solution is obtained at the cell-centers (triangles in 2d), 
> and I need to visualize the results which consist of discrete functions
> 
> of the form z=f(x,y)
> 

Yes, you can create a post-processing dataset with point values (cf.
"SP" in the parsed post-processing format), then use Plugin(Triangulate)
to connect the points and display the surface.



>  
> 
> I thank you in advance for your answer.
> 
> 
> R.Touma
> 
> ---
> Rony Touma, Ph.D.
> Assistant Professor,  Mathematics
> Lebanese American University
> P.O. Box 13-5053 Chouran
> Beirut, Lebanon
> Office: +(961) 1 867 619 Ext. 1812
> Fax:     +(961) 1 867 098
> http://rony.touma.lau.edu.lb
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine