[Gmsh] Fwd: Re: 2D plots from 3D scalar maps

billy at dem.uminho.pt billy at dem.uminho.pt
Mon Nov 28 22:38:56 CET 2005


Hi,

Now that I have the 2D plot, I would like to know if I can save it to a ascii
file? Because when I try to save the screen to a eps image file, all the labels
disapear.

Billy.

----- Forwarded message from Christophe Geuzaine <christophe.geuzaine at case.edu>
-----
    Date: Mon, 28 Nov 2005 11:23:10 -0500
    From: Christophe Geuzaine <christophe.geuzaine at case.edu>
Reply-To: Christophe Geuzaine <christophe.geuzaine at case.edu>
 Subject: Re: [Gmsh] (no subject)
      To: billy at dem.uminho.pt

billy at dem.uminho.pt wrote:
> Hello,
> 
> Does anyone know how to make 2D plots from 3D scalar maps?
> 

Use the "Cut Grid" plugin with nPointsV=1 and ConnectPoints=0. This will 
evaluate the solution on a series of points along a line, and you can 
then either visualize the 2D plot in Gmsh (Options->View->General->2D 
space plot) or export it to view it in gnuplot, excel, etc. (with 
View->Save As->Text).

For more complicated distributions of points (not just along a line) you 
can use the "Cut Parametric" plugin.

Christophe


> I have the velocity field of a lid-driven cavity flow and I would like to
> compute the profile of the velocity for example along the centerline of the
> cavity. Is there a plug-in to do that or do I have to develop a algorithm to do
> this?
> 
> Thanks,
> 
> Billy.  
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine

----- End forwarded message -----