Skip to content

A command line tool and a python package to manipulate hydrodynamics meshes

License

Notifications You must be signed in to change notification settings

ryancoe/meshmagick

 
 

Repository files navigation

Meshmagick

https://travis-ci.org/LHEEA/meshmagick.svg?branch=master https://coveralls.io/repos/github/LHEEA/meshmagick/badge.svg?branch=master

Meshmagick is a command line utility as well as a python module for the manipulation of meshes encountered in the hydrodynamics community.

Its primary goal was to be a conversion tool between major file formats for hydrodynamic computations tools (Nemoh, Wamit, Hydrostar or Diodore) and visualization tools (stl, Tecplot, Paraview). It will be particularly useful for code to code comparisons or benchmarking.

Meshmagick also comes with several mesh manipulation capabilities: translation, rotation, scaling, clipping by a plane, symmetry, normals flipping, normals healing (making them consistent across the mesh and outgoing), cleaning (duplicate nodes merging...).

Meshmagick provides useful options for hydrostatics computations. It can solve for hydrostatics equilibrium for a given mass, center of gravity or both and provide the clipped mesh to be used by BEM software as well as the hydrostatics parameters (stiffness matrix, position of the center of buoyancy, displacement, draft...). Inertial properties of meshes may also be computed, based on assumptions.

Meshmagick is primarily a command line utility for everyday hydrodynamicists. However, it also comes with a package that can be imported in a python script and give the full access to the command line options, programatically.

Note

Meshmagick is the property of Ecole Centrale de Nantes and is maintained by François Rongère <francois [email protected]>. It is released under the GNU GPLv3 open source licence (see LICENCE file).

GitHub Repository

https://github.com/LHEEA/meshmagick

Documentation

https://lheea.github.io/meshmagick

Getting Meshmagick

https://lheea.github.io/meshmagick/install/install.html

About

A command line tool and a python package to manipulate hydrodynamics meshes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%