[Gmsh] PATH command

abhishek basak abhishek_basak at rediffmail.com
Tue Jun 7 12:23:39 CEST 2005


  
Hi Christophe,

I tried your suggestion. It gave a graph al right, but not what I had expected. I gave the following dummy ".pos" file

View "a scalar map" {
ST(0.0,0.0,0.0,10.0,0.0,0.0,0.0,10.0,0.0){10.0,10.0,10.0};
};

this is stored in the file test.pos attached below.
Here a scalar triangle is defined with coordinates (0.0,0.0,0.0),(10.0,0.0,0.0) and (0.0,10.0,0.0). A plot of it is shown in Screen-1.jpg. Then I "cut grid" with the following i/p (Screen-2.jpg)

x0=0.0
y0=0.0
z0=0.0

x1=10.0
y1=0.0
z1=0.0

x2=0.0
y2=10.0
z2=0.0

ConnectPoints=0

and then i set "2D space plot". The output is in file Screen-3.jpg. I expected a straight horizontal line, certainly not what I ultimately obtained.

Did I do something wrong anywhere?

Please advise,

Thanking you,

Abhishek Basak

On Mon, 06 Jun 2005 Christophe Geuzaine wrote :
>abhishek basak wrote:
>>Hi, I was just checking out the gmesh program. I have been using
>>ANSYS for quite some time now, and i have to say that GMESH
>>incoperates most of the features of ANSYS. However, I could not find
>>the equivalent of PATH command.
>>
>>For those who are not familiar with ANSYS, PATH plots the results of
>>FEM analysis (temp,disp, etc), along a specified path between two
>>points. The path need not be coincident with any of the nodes.
>>
>>Maybe the PATH or some equivalent command is already there in GMESH,
>>  but it seems to ellude me. Please help me out.
>>
>
>You should be able to do these kinds of things with the "Cut Grid"
>and/or the "Cut Parametric" plugins (available in the "Plugin" menu when
>right-clicking on a view button).
>
>If you set "ConnectPoints" to zero in these plugins, you can then plot
>the data in 2D graphs by selecting "2D space plot" in
>Tools->Options->View->General. You can also export the data in order to
>visualize it with other tools by using "View->Save As".
>
>Christophe
>
>-- Christophe Geuzaine
>Applied and Computational Mathematics, Caltech
>geuzaine at acm.caltech.edu - http://geuz.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050607/a77e7ade/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen-1.jpg
Type: image/pjpeg
Size: 37630 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050607/a77e7ade/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen-2.jpg
Type: image/pjpeg
Size: 29900 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050607/a77e7ade/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen-3.jpg
Type: image/pjpeg
Size: 94524 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20050607/a77e7ade/attachment-0002.jpg>
-------------- next part --------------
View "a scalar map" {
ST(0.0,0.0,0.0,10.0,0.0,0.0,0.0,10.0,0.0){10.0,10.0,10.0};
};


More information about the gmsh mailing list