[Gmsh] Extraction of isocontours arrays

Quéméner Gilles quemener at lpccaen.in2p3.fr
Fri Sep 7 16:38:31 CEST 2012


Hi All,

In fact I do not know exactly if this is a question for GetDP or for 
Gmsh ...

Assume that using GetDP, I have solved Laplace equation in a 2D domain 
with or without holes and that I plot isocontours of the scalar 
potential using Gmsh.
I would like to be able to retrieve arrays containing the (x, y)- 
coordinates of the points making these isocontours, but I don't know how 
to get these arrays variables or export the coordinates in ascii files. 
In 2D, Gmsh is able to plot a given number of iso-value contours of a 
scalar field, thus there should be a way to get these coordinates.

A similar but more complicated problem arises in 3D. In this case, I 
would like to obtain arrays of (x, y, z)-coordinates along the lines 
corresponding to the intersection of isopotential surfaces with the 
different domains surfaces (planar or curved and with or without holes).

Any help is more than welcome.
Thanks a lot,

   Gilles

-- 

    Gilles Quéméner

__________________________________________________
Laboratoire de Physique Corpusculaire de CAEN
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 --------------
A non-text attachment was scrubbed...
Name: quemener.vcf
Type: text/x-vcard
Size: 234 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20120907/6897815f/attachment.vcf>