[Gmsh] Postprocessing view with triangles indices instead of coordinates ?

gilles quemener quemener at lpccaen.in2p3.fr
Wed Nov 26 11:07:35 CET 2014


Hello, 

Currently I am using, in an external program, some GMSH/GETDP postprocessing views of a 
scalar field calculated on linear elements. The .pos file contains lines like the following: 

ST(0,0.9,0,0.2666666666660086,0.9,0,0,1.3,0){3.194654609503308,3.099105137740456,3.009640920970774}; 

with the x,y,z coordinates of the 3 triangle corners between the parenthesis and the associated scalar potential 
between the brackets. Is there a function or a method to obtain something like: 

ST(corner1ID, corner2ID, corner3ID){scalar_at_corner1, scalar_at_corner2, scalar_at_corner3}; 

where corner1ID, etc ... are the points indices contained in the mesh file of the problem ? 

Thanks for any help, 

Gilles 
____________________________________________________________________________________________ 
	
Gilles Quéméner 
Laboratoire de Physique Corpusculaire de CAEN 
UMR 6534 - CNRS-IN2P3 - UCBN - ENSICAEN 
ENSICAEN - 6 bd Maréchal Juin - 14050 CAEN Cedex 
Tel. : +33 (0) 2 31 45 25 40 
Fax. : +33 (0) 2 31 45 25 49 
http://caeinfo.in2p3.fr/rubrique34.html 









-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20141126/a653f6db/attachment.html>