[Gmsh] elevation (Scalar warp) in 2D [was: x-y plots and elevation(Scalar warp) in 2D]

Christophe Prud'homme prudhomm at debian.org
Mon Jul 26 20:57:18 CEST 2010


Thank you again !

On Mon, Jul 19, 2010 at 3:43 AM, Geordie McBain <gdmcbain at freeshell.org>wrote:

> 2010/7/16 Christophe Prud'homme <prudhomm at debian.org>:
> > Dear Gmsh Developers,
> > It is not clear to me if it is possible to do
> >  - elevation plot (Scalar Warp in paraview) z=f(x,y)
> > from msh data files.
> > Is that doable ?
>
> Yes.  Gmsh's equivalent to Warp (scalar) is View.NormalRaise.  I
> attach a minimal example.
>
> %<--elevation.msh
> $MeshFormat
> 2.2 0 8
> $EndMeshFormat
> $Nodes
> 4
> 1 0 0 0
> 2 2 0 0
> 3 1 1 0
> 4 0 2 0
> $EndNodes
> $Elements
> 2
> 1 2 1 1 1 2 3
> 2 2 1 1 1 3 4zx
> $EndElements
> $NodeData
> 1
>  "ordinate"
> 1
>  0.0
> 3
>  0
>  1
>  4
> 1 0.0
> 2 0.0
> 3 1.0
> 4 0.0
> $EndNodeData
> %<--end elevation.msh
>
> %<--elevation.geo
> Merge "elevation.msh";
> View[0].NormalRaise = 1;
> %<--end elevation.geo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100726/13d0d066/attachment.html>