samujjwaal / Visualize-Fluid-Particle-Flow

Visualizing computational fluid flow dataset from the San Diego Supercomputing Center using Three.js

Home Page:https://samujjwaal.github.io/Visualize-Fluid-Particle-Flow/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Visualizing Fluid Particle Flow using Three.js

GitHub GitHub last commit (branch) GitHub top language GitHub repo size

This project was done as a course assignment for CS529: Visual Data Science course at the University of Illinois at Chicago during the Fall 2019 term.


For the assignment we worked on a computational fluid flow simulation dataset from the San Diego Supercomputing Center. More deatils regarding the science behind the data for simulation can be found here.

The professor provided us with the dataset, and example Three.js code for loading up the dataset and displaying a point cloud here.

Javascript libraries used: D3.js and THREE.js


Deliverables for the assignment included:

  • Show the data as a point cloud

  • Colormap the point cloud by concentration

  • Create a second view using D3 and show a vertical 2D slice of the data in it

  • Allow the user to rotate the cylinder containing the flow

  • Add a 2D cut-plane filter to the 3D flow (vertical XY rectangle in the 3D view, and user moves the rectangle through the flow along the Z axis)

  • Link the 3D view and the 2D view through the rectangle filter ( show in the 2D view only the 3D points inside the rectangle)

  • Implement a naive brushing and linking operation (gray out all the 3D points outside the rectangle cut-plane)

  • Use D3 to add more controls or text to the interface.

Usage Details

The project can be viewed at Flow Visualization.

To run the project locally, open the terminal and follow these steps:

  1. Run: git clone https://github.com/samujjwaal/Visualize-Fluid-Particle-Flow.git
  2. Start an http server: python -m http.server 8888
  3. Open http://localhost:8888 in a browser to view the project

About

Visualizing computational fluid flow dataset from the San Diego Supercomputing Center using Three.js

https://samujjwaal.github.io/Visualize-Fluid-Particle-Flow/

License:MIT License


Languages

Language:JavaScript 99.6%Language:HTML 0.3%Language:CSS 0.1%