Skip to content

Enhanced version of DualSPHysics/DesignSPHysics for Non-Newtonian simulations.

License

Notifications You must be signed in to change notification settings

DigitalDynamicsLab/DesignSPHysics

 
 

Repository files navigation

DesignSPHysics

Total alerts Language grade: Python

DesignSPHysics is a software module built into FreeCAD that provides a Graphical User Interface for DualSPHysics. It is under development since September 2016 and in Beta stage.

Check the Official Webpage for downloads and more information.

Screenshot

Description

DesignSPHysics enables the user to create cases with solids and fluids and exports it to a DualSPHysics compatible format. In addition, it does the hard work for the user, generating the case data automatically, simulating, and post-processing, all inside FreeCAD.

It includes support for pre-processing with GenCase, simulation with DualSPHysics and post-processign with several tools of the DualSPHysics package.

In the future the code will be modular, so integration with different SPH solvers can be used. Right now it's optimized to be used with DualSPHysics

It is developed as a FreeCAD module with a macro bootstrapper, in Python 3.5+, using the QT libraries via PySide.

DigitalDynamicsLab/DesignSPHysics

This enhanced version of DualSPHysics/DesingSPHysics enables DualSPHysics simulations of Non-Newtonian and Liquid-Sediment hydrodynamics.

Liquid-Sediment tool is based on Drucker-Prager yield criterion, hence the possibilty of modelling bulk solids behaviour.

Moreover post-processing functions include the BoundaryVTK tool which enables to export rigid bodies as surface mesh, and the MKsMixing tool which enables evalution of fluid particles state of mixing.

Installation instructions

As only limitation, DigitalDynamicsLab/DesignSPHysics will not work on GNU/Linux.

To install DualSPHysics/DesingSPHysics, open FreeCAD 0.18+ and go to the menu Macro -> Macros... From there, press the Addons... button on the bottom right corner, search for DesignSPHysics and click Install / Update. FreeCAD will advise you to reboot the application and you'll be set.

Take in mind that as it includes DualSPHysics, the package may take a while to download.

Then to install DigitalDynamicsLab/DesignSPHysics just download zipped code, unzip to %appdata%/FreeCAD/Mod, in the same directory remove the original folder DesignSPHysics and rename this way the unzipped folder.

To execute DesignSPHysics just open the FreeCAD Macro dialog and double click DesignSPHysics.

Where to get help

You can check the DesignSPHysics Wiki to get help.

Contributing and developing for DesignSPHysics

You can freely contribute to the project, if you want!. You can do it here on GitHub.

Please check the CONTRIBUTING file to view information about how to contribute to the project.

Copyright and License

Copyright (C) 2019 EPHYSLAB Environmental Physics Laboratory, Universidade de Vigo EPHYTECH Environmental Physics Technologies

This file is part of DesignSPHysics.

DesignSPHysics is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

DesignSPHysics is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with DesignSPHysics. If not, see http://www.gnu.org/licenses/.

About

Enhanced version of DualSPHysics/DesignSPHysics for Non-Newtonian simulations.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%