[Gmsh] Question about post processing with gmsh

Christophe Geuzaine c.geuzaine at ulg.ac.be
Wed Feb 23 20:25:00 CET 2005


Yann GUEROUT wrote:
> hello,
>  
> We are currently using Gmsh1.46 with code Aster 7.0.
>  
> We have generated a thermomechanical calculation on a bolted flange 
> connection.
> In the .pos file, we would like to combine the temperature results with 
> the deformation of the parts. Is it possible to view on the same result 
> view the temperature repartition on the deforned model ? 
> Do you have any idea on this point ?
> Thanks in advance for your answer ,
> regards

Hello Yann - It's easy to do, but you need to upgrade to a newer version 
of Gmsh... Then, from the FAQ:


* 7.6 Can I visualize a field on a deformed mesh?

Yes, there are several ways to do that.

The easiest is to load two views: the first one containing a
displacement field (a vector view that will be used to deform the
mesh), and the second one containing the field you want to display
(this view has to contain the same number of elements as the
displacement view). You should then set 'Vector type' to
'Displacement' in the first view, as well as set 'Data source' to
point to the second view. (You might want to make the second view
invisible, too. If you want to amplify or decrease the amount of
deformation, just modify the 'Displacement factor' option.)

Another solution is to use the "general raise expressions" (in
View->Options->Offset) on the field you want to display, with the
displacement map selected as the raise data source.

And yet another solution is to use the DiplacementRaise plugin.


Tale care,

Christophe


> Yann Guérout
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh


-- 
Christophe Geuzaine
Applied and Computational Mathematics, Caltech
geuzaine at acm.caltech.edu - http://geuz.org