[Gmsh] Two post-processing views: one as displacement one as vector field

Christophe Geuzaine geuzaine at gmail.com
Sat Apr 14 19:07:30 CEST 2018



> On 12 Apr 2018, at 12:55, Tomasz Koziara <t.koziara at gmail.com> wrote:
> 
> Hallo:)
> 
> I am implementing MED export from a code that simulates motion of multiple rigid bodies. I am testing it with Gmsh.
> 
> While I noticed that multi-step (MED) meshes are not supported at the moment, I would still like to try to animate the results.
> 
> So I am using multi-step field export, which seems to work:) And here is my question:
> 
> I can see that I can use Displacement mode of viewing vector fields to animate the actual displacements.
> 
> If for example, on top of that, I would like to animate linear velocities, then unfortunately the Displacement mode is kept for both fields

That should not be the case: each view has its own set of independent options. How do you specify the options?

> and superimposed as two independent mesh volumes.
> 
> I would like to animate the actual displacement in greyscale (without the colour map) and along with it, on the displaced (in this way) mesh, add other views: e.g. vector field of velocities, or other scalar fields.
> 
> Would there be a way to do in the current version of Gmsh?

Sure: you can animate any number of views, each with its own options. If you want to visualise the same dataset with different options, instead of loading it multiple times you can create an alias, which will be memory efficient.

Don't hesitate to send us a more detailed explanation of what you try to achieve, tother with a sample .med file so we can provide more detailed explanations.

Christophe

> 
> Thank you,
> Tomek
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh




More information about the gmsh mailing list