2010/7/16 Christophe Prud'homme <[email protected]>:
> 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

Attachment: elevation.msh
Description: Mesh model

Attachment: elevation.geo
Description: Binary data

_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to