DesignSPHysics 0.5

@zlotny zlotny released this Jun 6, 2018 · 23 commits to master since this release

Released on: 06 / 06 / 2018 (06 Jun 2018)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

New features

  • Case creation from an existing FreeCAD document.
  • Support for UTF-8 characters in different inputs.
  • Case fixed domain.
  • Regular and Irregular Flap Wave Generators.
  • Damping.
  • Active Wave Absorption System (AWAS) on wave generators.
  • New DualSPHysics 4.2 executables.
  • FlowTool post-processing tool
  • Slice and Surface support for IsoSurface post-processing tool.
  • mk/id/position support for ComputeForces post-processing tool.

Changes

  • Changed help webpage
  • Object type restrictions are not as restrictive, so more objects can be exported as STL
  • Existing wave generators are now called Piston Wave Generators.
  • Some windows are redesigned and some UI elements are slightly changed.
  • New info dialog for post-processing, gencase, etc.
  • Batch script generation is now disabled.
  • Move and rotate commands in the XML are now filtered. They will appear only if necessary.
  • STL files are now referenced with relative paths.
  • Now the details dialog on GenCase saving is a pop up dialog.
  • The particle count for the last GenCase export is now shown on Case Summary
  • Adds option to open with Paraview in IsoSurface post-processing tool.
  • Now opening with Paraview on PartVTK is only selectable if VTK is selected.
  • Removes size constraints in a lot of windows. Uglier but usable on OS's with bad scaling support.

Error fixes and dev changes

  • Fixes errors displaying the output of a simulation.
  • Fixes an issue with multiple wave generators in a single case.
  • Fixes some typos on Case Summary.
  • Fixed an error with xml dump in cases with rotation on fill limits.
  • DEV: Implemented inner working for MultiLayered Pistons and Relaxation Zones. Not in the UI yet.
  • Fixes an error with floating info using the wrong argument on the command line.

There's usually more changes, tweaks and new features that the ones listed here, these are some of the most important ones.

DesignSPHysics 0.4.1

@zlotny zlotny released this Nov 27, 2017 · 83 commits to master since this release

Released on: 27 / 11 / 2017 (27 Nov 2017)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

Warning for Windows users

If you have a version already installer, please delete the folder C:\Program Files\FreeCAD\Mod\DesignSPHysics before installing this one.

Error fixes and dev changes

  • Fixes an error loading STL and creating complex meshes.
  • Changes the installer default folder for windows to a non-admin restricted one.

DesignSPHysics 0.4

@zlotny zlotny released this Nov 2, 2017 · 83 commits to master since this release

Released on: 02 / 11 / 2017 (02 Nov 2017)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

New features

  • Implemented fluid & solid support for fillboxes
  • Now the tool warns the user if too many particles were created
  • Saving and executing GenCase are now separated features from the dropdown menu
  • Added paraview path to the setup, and readded 'open with paraview' for PartVTK
  • Added a detail pane for each post-processing tool
  • When adding an object to the simulation (or changing the type of one) the lowest MK free to use is automatically assigned
  • DesignSPHysics was entirely refactored in its file structure to incorporate it to FreeCAD-addons
  • Now the settings for DesignSPHysics stores in a per-version mode
  • Added a default configuration loading for the first time, and if the executables are not correct. This way the user does not have to configure the executables each time.
  • Added an 'Open with ParaView' button to the save file summary

Changes

  • Added some help links in some parts of the interface
  • Increased default Fillbox size to 1 cubic meter
  • Locked some properties of Case Limits
  • Now the case summary shows all the executable paths
  • Added units to mvrotsinu to ensure it is using radians
  • Changed amplitude label on Sinusoidal Rotational Motion
  • Changed the UI to improve vertical spacing, as the UI sometimes would not fit in some resolutions
  • Relative paths to files now work in the setup window

Error fixes and dev changes

  • Now the actions list in motion configuration is disabled when viewing a Wave Generator, or Movement from a file
  • The execution additional parameters are now saved to the batch files too
  • Fixed a bug where putting an MK value higher than 10 in bounds would set to 10 some fluid ones. Weird.
  • Changed the installer to not use threads, as there were a lot of errors with that. Still not fully tested.
  • Migrated the project to Visual Studio Code, so there were changes in the file structure.
  • Now the development is made with an external branch (develop)
  • Now installer closes after pressing ok in the 'Installation Complete' dialog

There's probably more changes, tweaks and new features that the ones listed here, as I only wrote out the ones that seemed important.

DesignSPHysics

@zlotny zlotny released this Jun 20, 2017 · 128 commits to master since this release

Released on: 20 / 06 / 2017 (20 Jun 2017)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

This release was based in the one presented at the 12th International SPHERIC Workshop. It has a few changed between the one used on the Training Day.

New features:

  • Complex meshes can be used as fluid now (only face mode)
  • Added case summary. Lists all the case configuration, objects, etc
  • Implemented 2D and 3D mode for cases.
  • Implemented regular and irregular wave generator disk saving features (for theoretical data)
  • Implemented movements from an external file
  • Added periodicity to execution parameters.
  • Added an improved support for PartVTK
  • Added support for FloatingInfo
  • Added support for ComputeForces
  • Added support for MeasureTool
  • Now case names can contain non ASCII characters

Changes:

  • Setup plugin no longer is loaded from a case file if you already have a correct configuration.
  • Now execution parameters with discrete values have a selector instead of an input field.
  • Added post-processing tools to the plugin setup.
  • Changed object properties order (now the type of object is in the first place)
  • Changed several labels and text strings
  • Removed lattice options
  • When changing step algorithm some fields will be disabled
  • When changing shifting mode some fields will be disabled
  • Changed batch files template location
  • Disabled 'fixed depth' from Wave Generators as it's not used anymore
  • Default DP is now 0.01 instead of 0.0005 (it was too low)
  • Default Case Limits size is now 1 cubic meter
  • Fillbox is now type 'solid' by default
  • 2nd wave order is now the default option for regular wave generators.
  • Now when adding a movement, a more specific name than "New Movement" will be applied by default.
  • Added a normal movement menu item into the 'Create Menu' button
  • Added a placeholder text for help into the movement window when no movements are selected.
  • Implemented a success/error dialog on post-processing tools.
  • Added units to some properties of the floating configuration window.
  • Restructured motion table widgets to be more clear.
  • Now when adding a new movement it is automatically checked to use
  • When changing from 3D to 2D a dialog will appear asking the user where to slice.
  • Added an icon to the Run button.
  • Now canceled and running simulations can be post-processed.
  • Removed fixeddepth property from the XML.
  • Added object names in the XML definition.

Error fixes and dev changes:

  • Fixed an error when saving a case with an object with movement enabled but no movements selected
  • Fixed an error with multiple movements that made the case simulation fail
  • Fixed an error with execution parameters. They sometimes would appear commented.
  • Cut objects are now supported as fluid and bound, not only bound
  • Added CPU/GPU support to bath scripts
  • Fixed a series of errors when a macro was loaded from a non-standard directory.
  • Fillbox now displays MKFluid in its properties, not MKBound
  • Fixed properties for objects that will be exported to STL. Now type can be changed but not the fill mode
  • Fixed details button on simulation window. Now it does not close itself.
  • Now Ramp has no util label in regular wave generators.
  • Fixed double spacing in simulation details pane
  • Fixed an error that would lock the Case Limits size in a 3D case if a new case was made from a 2D opened one.
  • Fixed an error when clicking in a wave generator. The details widget would not appear.
  • Added a function to calculate maximum particles into the current case limits. Not used yet.
  • Changed version numbers to fit a more rolling-release schema.
  • Fixed an error when clicking on the Case Limits object; Object order table won't refresh.
  • Changed multiple fields on execution parameters.
  • Fixed and old error that produced an error when loading DesignSPHysics for the first time.

There's probably more changes, tweaks and new features that the ones listed here, as I only wrote out the ones that seemed important.

DesignSPHysics

@zlotny zlotny released this Mar 14, 2017 · 187 commits to master since this release

Released on: 14 / 03 / 2017 (14 Mar 2017)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

New features:

  • Wave Generators: A set of wave generators is now included (Regular and Irregular.)
  • New Object Order table: It's now a bit informational and cleaner
  • New batch generator: More maintainable batch files, for Windows and Linux, based on templates.

Changes:

  • Warning on import XML: It's an experimental feature and not meant to be mainstream used.
  • Now case limits does not overgrow in size: There was an automatic adjustment no longer done. It broke cases with exact cuts via limits.
  • Case limits no longer can be rotated: GenCase does not support that and would break all the cases made with rotation in it.

Error fixes and dev changes:

  • Fixed floats in STL scaling: For some reason I decided to cast them as ints... duh.
  • Object order table now displays the correct number of rows: Case limits was included in the count :/
  • DualSPHysics now gets recognized correctly in GNU/Linux, a libpath was missing. (yay! testing!)

DesignSPHysics

@zlotny zlotny released this Feb 13, 2017 · 196 commits to master since this release

Released on: 13 / 02 / 2017 (13 Feb 2017)
This software is in early Beta stage and is not meant to be used in a stable environment. The included DualSPHysics executables are part of DualSPHysics, found here

New features:

  • Custom STL import: Due to FreeCAD limitations, now an axis independent, scale-ready STL import is available in DesignSPHysics.
  • Language support: Implemented some language support. For now only english is filled up, but there's a system implemented to allow translations in the future.
  • Save as: Now you can re-save a project with another name. Useful to make similar cases with some changes to try and simulate.
  • Movement and motion: A ton of work in here, so I'm putting it in a new section below.
  • Added execution details pane: It allows the user to see the execution log to evaluate the execution with details.
  • Bundled DualSPHysics in DesignSPHysics: To help simplifying the workflow for new users, now the installer bundles by default DualSPHysics and preconfigures DesignSPHysics to use it. There's an option at install to disable this behaviour too.

Movement and motion:
There's a new Movement & Motion section to configure solids. Unlike the initials property (for fluids), movements allow for more complex interaction in the designed case.

To use Movements select a simulation-included object and click the Configure button for Motion, then enable it in the top dropdown. In the Motion configuration window you can create and remove different movements for the case.

If you want the object to use the motion just click Use and then press Ok on the window. You can make the movement loop as well.

To define a movement just click on its name and start adding actions from the right side.

Implemented motions:

  • Delay: Not really a motion, but a wait interval until the next one is executed.
  • Rectilinear motion: Just that, a rectilinear motion with a movement vector.
  • Accelerated rectilinear motion: Rectilinear with an acceleration vector.
  • Rotational motion: An angular-velocity driven motion with a rotation axis defined with 2 points.
  • Accelerated rotational motion: A rotational motion with an acceleration factor (angular).
  • Accelerated circular motion: Similar to a rotational motion with a reference point of turning specified.
  • Sinusoidal rotational motion: A rotational motion defined by frequency/amplitude/phase parameters.
  • Sinusoidal circular motion: A circular motion defined by frequency/amplitude/phase parameters.
  • Sinusoidal rectilinear motion: A rectilinear motion defined by frequency/amplitude/phase vectors.

Changes:

  • Now installer closes itself at installation finish.
  • Settings file will be deleted if corrupt. It shouldn't happen now that the config file is in binary mode.

Error fixes and dev changes:

  • Fixed serialization and importing errors. Now the configuration loads and saves correctly.
  • Fixed a ton of errors in execution (yay, testing!)

DesignSPHysics

@zlotny zlotny released this Jan 10, 2017 · 218 commits to master since this release

This build fixes a bunch of errors given on some systems.

DesignSPHysics

@zlotny zlotny released this Dec 20, 2016 · 225 commits to master since this release

New features:

  • New branding: Now the software is called DesignSPHysics. This is the final name for the product.
  • Case limits offset: Due to approximation errors, it is always good to have the Case Limits slightly bigger than the case contained, so DesignSPHysics now does it automatically.
  • XML Importing: You can now import XML files that define a DualSPHysics case. Not all features are supported.
  • Test examples: DesignSPHysics now includes some test examples to view its features and complement the help Wiki.

Notice: Due to internal changes in save-handling and data format, it is possible that previous cases designed with this software will not be compatible.

This software is in early Beta stage and is not meant to be used in a stable environment.

Changes:

  • STLs are now in Face mode by default, as GenCase requires.
  • Changed DesignSPHysics logo to match branding
  • Changed main webpage url to design.sphysics.org
  • Massive code refactoring to help debugging and readability
  • Migrated some parts to a more object oriented programming fashion
  • Save file (*.dsphdata) is now binary, as it can produce read errors due to line endings and special characters.
  • Changed main widget organization and style to be more compact.
  • Changed DSPH Properties widget to make a content-aware resize.

Error fixes and dev changes:

  • Fixed an error exporting complex meshes as STL due to a missing required lib.
  • Fixed an error where sometimes, at the first time that DesignSPHysics is opened after a install, project libraries were not found.
  • Migrated project to PyCharm. Delightful to use.
  • Changed logging method.
  • Fixed a bug where the object simulation-name wouldn't be changed when its FreeCAD name were.
  • Now code matches PEP8 (except in a few unavoidable cases)
  • Reworked commenting and self-documentation.

DesignSPHysics

@zlotny zlotny released this Nov 23, 2016 · 244 commits to master since this release

This version is meant to be used to make a public presentation of the software in Manchester.

It includes some features of the future 0.1-beta but not totally implemented.

DesignSPHysics

@zlotny zlotny released this Nov 8, 2016 · 251 commits to master since this release

New features:

  • Initials support: You can now set initial movement to fluid items.
  • Modularized code: Main code is cleaner and new libs have been implemented
  • UI info messages: Some dialogs added to make some features easier to figure out