cb-geo / lem-gmsh

Mesh generator for Lattice Element Method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lattice Element Method - GMSH (lem-gmsh)

Cambridge Berkeley - Geomechanics

License CircleCI Build status Coverity Scan Build Status codecov.io Codacy Badge Project management

Install dependencies

Create a GMSH file

  • Make sure gmsh is installed.

  • To generate a mesh file in 3D (for example to mesh the bin/tension.geo) run gmsh -3 tension.geo, this will create a tension.msh file, which can be found in the bin/ directory as well.

Compile and Run

  1. Run mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release /path/to/CMakeLists.txt

  2. Run make clean && make -jN (where N is the number of cores)

  3. Run lem-gmsh ./lem-gmsh /path/to/meshfile.msh this will generate a nodes.txt file in the build directory.

About

Mesh generator for Lattice Element Method

License:Other


Languages

Language:CMake 52.4%Language:GLSL 35.2%Language:C++ 12.4%