Trame Examples with animations #20
-
Are there any online trame examples including animations with different scalar values (e.g. Temperature, Pressure) for each cell (elements) at different time steps ? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
An example is available here. With the car crash files, most the of performance limitation is due to IO which can be greatly improved with custom file handling/loading. |
Beta Was this translation helpful? Give feedback.
-
Dear Sébastien, Thanks alot:there is a module in app.py of TimeAnimation example in tramefrom paraview.web import venvand there is a comment about it #Available in PV 5.10-RC2+. I could only see Paraview 5.10 RC1 on download site https://www.paraview.org/download/ so where can we get Paraview 5.10 RC2 or above----‐------------------Munir AkhtarSOCO engineers GmbHOn 11/24/21, 03:28 Sebastien Jourdain ***@***.***> wrote:
An example is available here. With the car crash files, most the of performance limitation is due to IO which can be greatly improved with custom file handling/loading.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Hi @jourdain, I am working with Munir on the Time Animation example of Trame. I have tested the new time animation example that is working fine however when we change the color attribute in the car crash example then there is no change in the color of mesh and we get the error in the code. I have also attached the image of the error. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Can you describe what you've done to run it with your data? |
Beta Was this translation helpful? Give feedback.
-
Just tried again with your data and switching fields is just working fine for me |
Beta Was this translation helpful? Give feedback.
-
I did the following steps:
I have noticed that in the callback function update_color_by() variable active_array was getting the name of parameters like "Max. Pl. Strain" or "Von Mises Stress" or "Element id" and you were passing it as the index of array fields that should actually get the index number as an integer (0, 1, 2). So, I changed the function according to the variables in my data files to the following and it is working fine now. |
Beta Was this translation helpful? Give feedback.
-
Good catch... I was not using the one in the repo. I just pushed a fix to match what the code is expecting.
|
Beta Was this translation helpful? Give feedback.
Good catch... I was not using the one in the repo. I just pushed a fix to match what the code is expecting.