User manual ┊ Previous ┊ Next
Rendering in paraview
Results can be dumped as VTK files, which can be visualized in paraview.
Spherical particles
- Import particle info into paraview;
- Set
RepresentationtoPoint Gaussian, and adjust the radius; - In case particles are of various sizes, enable
Toggle advanced properties, enableUse Scale Array, select the properScale Array Component, and adjust theRange.
General particles and walls
- Reconstruc the mesh of particles and walls;
- Import to praview;
Contact force chain
- Enable dump contact force by set:
data_dump.dump_contact_info = true; - Import contact info into paraview;
- Add a
tubefilter to the contact force data in paraview, and adjust the radius of the contact tubes.
Ray tracing
Enable Ray Tracingat the end of Properties section;- Change the
Back endtoOsPRay pathtracer; - Increase the
Samples Per Pixel, which gives fair results with a value 5 in reasonble rendering time; - Set the
Background modetoBackplase, which is while as suggested. - One can play with the
Materialoptions in the middle-while of the Properties section.
Create animation
- In paraview, go
File→Save Animation; - Select the
avioption and specify the name; - Suggest to set the image resolution with
1920 x 1080, i.e., 1080p, and Set the Frame Rate to24(a minimal value to give fluent animation); - Compress the avi animation with third-party tools, such as
ffmpegorTencent Cloud;- For
Tencent Cloud, suggested procedures (in Chinese): - 选择云产品
云点播,在媒资管理→音视频管理中,上传视频; - 上传视频后,选择待处理的视频,进行
视频处理,建议选择TESHD-H264-MP4-720P转码模板; - 点击右侧的
管理,可查看视频封面和视频播放地址等链接,可用于网页制作.
- For
Client/Server
-
Establish tunneling using:
ssh -L 11111:localhost:11111 -p [port] [user]@[remote-ip] -
Start
pvserveron remotepvserver -
Open paraview at local, add and connect to server with type
Client/Server, hostlocalhostand port11111
User manual ┊ Previous ┊ Next