Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

lukiwa/STUD-Fluid-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fluid simulation

Operating system

  • Ubuntu based Linux operating system (tested on Kubuntu 20.04)

OR

  • WSL1, with XClient installed (eg. XLaunch with disabled "native opengl" and enabled "Disable access control").

Prerequisites:

  • sudo apt-get update

  • CMake - sudo apt install cmake

  • Build essentials - sudo apt-get install build-essential

  • GoogleTest - sudo apt-get install libgtest-dev

  • OpenGL - sudo apt-get install mesa-utils

  • GLFW3 - sudo apt-get install libglfw3-dev

  • GLEW - sudo apt-get install glew-utils && sudo apt-get install glew-utils

Building:

  • Clone this repository
  • cd STUD-Fluid-Simulation
  • mkdir build && cd build

For release mode:

  • cmake .. -DCMAKE_BUILD_TYPE=Release
  • Optionally, if building in WSL1 environemnt add option -DWSL1=ON
  • Optionally, for building tests, add option -DBUILD_TESTS=enable

For release mode:

  • cmake .. -DCMAKE_BUILD_TYPE=Release
  • Optionally, if building in WSL1 environemnt add option -DWSL1=ON
  • Optionally, for building tests, add option -DBUILD_TESTS=enable
  • make -j $(nproc)

Running application

  • cd src
  • ./fluid_simulation

Running Tests (if enabled):

  • cd test
  • ./Tests

For opening in Clion on Windows (with WSL1):

Releases

No releases published

Packages

No packages published

Languages