<div dir="ltr">Dear Christophe,<div><br></div><div>Thank you for answering:) Here is <a href="https://www.dropbox.com/s/x0n3jb7tmidhkfg/spring_chain0.zip?dl=0">a link</a> 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. </div><div><br></div><div>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:) <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">If you could show me how to animate 'displ' as displacements, while displaying 'linvel' magnitude on the displaced mesh instead, that would be helpful:)</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Also it would be nice to learn how to:</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">* display individual components of vector fields as colour maps on the displaced mesh,</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">* display animated vector fields on the displaced mesh instead of the reference mesh.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Thank you:)</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Tomek</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 April 2018 at 19:07, Christophe Geuzaine <span dir="ltr"><<a href="mailto:geuzaine@gmail.com" target="_blank">geuzaine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> On 12 Apr 2018, at 12:55, Tomasz Koziara <<a href="mailto:t.koziara@gmail.com">t.koziara@gmail.com</a>> wrote:<br>
> <br>
> Hallo:)<br>
> <br>
> I am implementing MED export from a code that simulates motion of multiple rigid bodies. I am testing it with Gmsh.<br>
> <br>
> While I noticed that multi-step (MED) meshes are not supported at the moment, I would still like to try to animate the results.<br>
> <br>
> So I am using multi-step field export, which seems to work:) And here is my question:<br>
> <br>
> I can see that I can use Displacement mode of viewing vector fields to animate the actual displacements.<br>
> <br>
> If for example, on top of that, I would like to animate linear velocities, then unfortunately the Displacement mode is kept for both fields<br>
<br>
</span>That should not be the case: each view has its own set of independent options. How do you specify the options?<br>
<span class=""><br>
> and superimposed as two independent mesh volumes.<br>
> <br>
> 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.<br>
> <br>
> Would there be a way to do in the current version of Gmsh?<br>
<br>
</span>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.<br>
<br>
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.<br>
<br>
Christophe<br>
<br>
> <br>
> Thank you,<br>
> Tomek<br>
> ______________________________<wbr>_________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
<br>
</blockquote></div><br></div>