Running FluidX3D on a remote Linux Cluster and getting an instant graphical preview in the Terminal
This is a simulation of a 5mm diameter 9.2m/s terminal velocity raindrop impacting a deep water pool (5cm x 5cm x 2cm). The impact is shown for approximately 7 Milliseconds. The Reynolds number is 35195, Simulation box size is (400 x 400 x 340), memory utilization is 9.4GB. Compute time for this simulation without graphics enabled is approximately one minute. The terminal graphics are done via ANSI escape sequences and the block character "\u2580" to double vertical resolution. The standard terminal supports 16 different colors for both text and background. The image is first rendered in 1920x1080 resolution by the GPU, then downscaled to the currently available console resolution, then the colors are mapped into console 4-bit color space and finally the image is printed pixel by pixel, or rather character by character. FluidX3D is a real time 3D fluid simulation based on the lattice Boltzmann method. It is written in OpenCL C (GPU code) and optimized to the physical limit (video memory bandwith). Graphics are done with the OpenCL C version of Line3D, the fastest graphics engine ever written for primitive shapes like lines, dots, circles and triangles. It can rasterize up to 2 billion lines per second. The free surface is done with the volume-of-fluid (VoF) extension to LBM. It allows simulating free surfaces with a sharp interface layer. The volume force (gavity) is implemented with the Gou forcing scheme. Visualization of the surface is done with the marching cubes algorithm (implemented in OpenCL C). http://paulbourke.net/geometry/polygonise/ Timestamps: 0:00 - Intro 0:02 - running on a remote linux Cluster (AMD Radeon VII), orthogonal view 0:27 - running on desktop PC (Nvidia Titan Xp), orthogonal view 0:43 - running on desktop PC (Nvidia Titan Xp), projection view 0:56 - running on desktop PC (Nvidia Titan Xp), flags viewed alongside surface Music: Rolipso - Delight More information at http://www.projectphysx.de
This is a simulation of a 5mm diameter 9.2m/s terminal velocity raindrop impacting a deep water pool (5cm x 5cm x 2cm). The impact is shown for approximately 7 Milliseconds. The Reynolds number is 35195, Simulation box size is (400 x 400 x 340), memory utilization is 9.4GB. Compute time for this simulation without graphics enabled is approximately one minute. The terminal graphics are done via ANSI escape sequences and the block character "\u2580" to double vertical resolution. The standard terminal supports 16 different colors for both text and background. The image is first rendered in 1920x1080 resolution by the GPU, then downscaled to the currently available console resolution, then the colors are mapped into console 4-bit color space and finally the image is printed pixel by pixel, or rather character by character. FluidX3D is a real time 3D fluid simulation based on the lattice Boltzmann method. It is written in OpenCL C (GPU code) and optimized to the physical limit (video memory bandwith). Graphics are done with the OpenCL C version of Line3D, the fastest graphics engine ever written for primitive shapes like lines, dots, circles and triangles. It can rasterize up to 2 billion lines per second. The free surface is done with the volume-of-fluid (VoF) extension to LBM. It allows simulating free surfaces with a sharp interface layer. The volume force (gavity) is implemented with the Gou forcing scheme. Visualization of the surface is done with the marching cubes algorithm (implemented in OpenCL C). http://paulbourke.net/geometry/polygonise/ Timestamps: 0:00 - Intro 0:02 - running on a remote linux Cluster (AMD Radeon VII), orthogonal view 0:27 - running on desktop PC (Nvidia Titan Xp), orthogonal view 0:43 - running on desktop PC (Nvidia Titan Xp), projection view 0:56 - running on desktop PC (Nvidia Titan Xp), flags viewed alongside surface Music: Rolipso - Delight More information at http://www.projectphysx.de