Dear Christophe,

Thank you for answering:) Here is a link
<> to a
zipped MED file (do let me know in case the download doesn't work). It is
an animation of a chain of cubes undergoing rigid motion. It includes
several vector and scalar fields spanned on the mesh.

When I untick all views, but 'displ', and select 'Vector field
display'->'Displacement' then I can animate the motion with 'displ'
magnitude coloured on top of that:) If you could show me how to animate
'displ' as displacements, while displaying 'linvel' magnitude on the
displaced mesh instead, that would be helpful:)

Also it would be nice to learn how to:

* display individual components of vector fields as colour maps on the
displaced mesh,
* display animated vector fields on the displaced mesh instead of the
reference mesh.

Thank you:)

On 14 April 2018 at 19:07, Christophe Geuzaine <> wrote:

> > On 12 Apr 2018, at 12:55, Tomasz Koziara <> 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 mailing list

Reply via email to