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
Representation
toPoint 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
tube
filter to the contact force data in paraview, and adjust the radius of the contact tubes.
Ray tracing
Enable Ray Tracing
at the end of Properties section;- Change the
Back end
toOsPRay pathtracer
; - Increase the
Samples Per Pixel
, which gives fair results with a value 5 in reasonble rendering time; - Set the
Background mode
toBackplase
, which is while as suggested. - One can play with the
Material
options in the middle-while of the Properties section.
Create animation
- In paraview, go
File
→Save Animation
; - Select the
avi
option 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
ffmpeg
orTencent 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
pvserver
on remotepvserver
-
Open paraview at local, add and connect to server with type
Client/Server
, hostlocalhost
and port11111
User manual ┊ Previous ┊ Next