Skip to content

Installation

Orlando Garcia-Feal edited this page Nov 25, 2019 · 6 revisions

In order to install VisualSPHysics you have to first install latest version of Blender for your system.

Installation for Microsoft Windows

If you don't have it already, you need to install Visual Studio 2015 redistributable package. You can download it from here. You may need to restart your system afterwards.

Now download the latest precompiled version of VisualSPHyiscs for Windows from here.

To install the add-on in Blender you have to follow these steps.

Compilation for GNU/Linux

No binary packages are distributed for GNU/Linux, so you have to download the source code and compile it for your system.

Prerequisites

You have to install Blender, CMake, GCC, VTK and Python3 packages in your system.

Compilation steps

wget https://github.com/EPhysLab-UVigo/VisualSPHysics/archive/master.zip  
unzip master.zip  
cd VisualSPHysics-master  
mkdir build  
cd build  
cmake ..  
make  
zip -j VisualSPHysics.zip ../blendermodule/VisualSPHysics.py foamsimulator/diffuseparticles.so vtkimporter/vtkimporter.so

Installation steps

To install the add-on in Blender you have to follow these steps:

  1. Open Blender and go to File → User Preferences → Add-ons.
  2. Click on “Install from file…” button.
  3. Select the downloaded or compiled ZIP file VisualSPHysics.zip
  4. Enable the checkbox with “Object: VisualSPHysics Blender Addon”
  5. Click on “Save User Settings” button and close the preferences window.

Clone this wiki locally