Git Product home page Git Product logo

algohex's Introduction

algohex_results

AlgoHex

AlgoHex is an implementation of the frame based hexahedral meshing pipeline, distributed under AGPLv3.

If you use AlgoHex in your scientific work, please cite us.

How does AlgoHex work?

AlgoHex automatically converts tetrahedral meshes to hexahedral meshes. The complete pipeline consists of four major steps (see the figure below): initialization of feature-aligned smooth frame field, locally meshable frame field generation, parameterization, and hexahedral mesh extraction. The frame field initialization follows the approach of On Smooth 3D Frame Field Design. Locally meshable frame field is obtained via the state-of-the-art method Locally Meshable Frame Fields. Parameterization of the frame field includes seamless mapping (Locally Meshable Frame Fields, CubeCover), robust quantization (QGP3D) and Integer-grid mapping. For hexahedral mesh extraction, we use the libHexEx. algohex_pipeline

File Format

The input to the algorithm is a tetrahedral mesh with user-specified feature tags, and the output is a hexahedral mesh. The input tetrahedral mesh can be in VTK or OpenVolumeMesh file format. A typical dataset with feature tags as the input to AlgoHex is HexMe. The output hexahedral mesh is in OpenVolumeMesh file format. Note that the result may be an incomplete hexahedral mesh, as the frame field may not be globally hex-meshable.

Dependencies

The CMake-based build system will automatically download missing dependencies unless ALGOHEX_DOWNLOAD_MISSING_DEPS is disabled (enabled by default if building AlgoHex standalone, disabled if built inside a bigger project using add_subdirectory). All dependencies are listed below:

  • OpenVolumeMesh
  • libHexEx
  • CoMISo
  • GMM
  • TinyAD
  • QGP3D (As dependencies of QGP3D, Gurobi and GMP must be installed on your system)
  • Eigen
  • CLI11
  • IPOPT (Manually install on your system, macOS: brew install ipopt, Linux: sudo apt-get install coinor-libipopt-dev)
  • SuiteSparse (optional)
  • googletest (optional, for unit tests)

Building

AlgoHex can be compiled independently, resulting in a command-line tool, or compiled together with OpenFlipper. To compile the standard alone, follow the steps:

cd AlgoHex
mkdir build
cd build
cmake -DGUROBI_HOME=/path/to/gurobi ..
make

License

AlgoHex is copyright (C) 2019-2023 by David Bommes (see the CREDITS file for more information). AlgoHex is free software under the GNU Affero General Public License. For more detailed license information, see LICENSE in the AlgoHex root directory.

Usage

A command-line executable is provided, which reads a tetrahedral mesh and outputs a hexahedral mesh. For example:

./Build/bin/HexMeshing -i ../demo/HexMeshing/cylinder.ovm -o /path/to/cylinder_hex.ovm

Two modes of the hexahedral meshing pipeline are available in AlgoHex. The default mode includes all four major components of frame field based hexahedral meshing pipeline, while the mode --hexme-pipeline comprises only a subset as described in HexMe. For more information on the usage, please execute ./Build/bin/HexMeshing -h.

algohex's People

Contributors

hengliunotavailable avatar kingjamesl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.