- Download this 'movie.pvsm' file and put in the folder where you have the vtu files.
View file name movie.pvsm height 250 - Then Go to File -> Load State -> Choose File Names, click on ... and select your own vtu files.
- If you have done this correctly, then you should be able to see the domain outline plus the particles for the first snapshot like this:
- If you have walls, you could open file and add wall.vtu files here, then adjust base on your own conditions, as I am having periodic boundary, so no walls needed for me.
- You could rotate the whole domain in 3D or change the colorbar in the Glyph settings, once you are happy with the representation, save it as a video in next step.
- Go to File -> Save Animation, Type in a name for the output, then use the setting shown in the picture below:
- Note that here you have to choose White Background, the resolution and Frame Rate you could decide by yourself.
Alternatively, you could also first output png images for each snapshot, then join those images together using either a software of ffmpeg package in terminal (available in linux or mac):
ffmpeg -y -framerate 60 -i '%*.png' -c:v libx264 -crf 29 -r 60 movie.mp4
Once you have a nice video, please follow How to add a MercuryDPM logo to a video and add the logo to your video, then you could upload it to MercuryDPM youtube channel.
If you have questions, please contact Hao for further details.
...