Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1 KB

README.md

File metadata and controls

55 lines (39 loc) · 1 KB

np2m

This is a simple code, which can convert the geo file generated by neper to the suitable file for multi-grains simulation.

Citing

@MISC{Bai2020Np2m,
      author = "Bai, Y.",
      title = "np2m: a simple CPP code for converting neper generated geo file to the parametric geo file for Gmsh",
      year = "2020",
      journal={URL https://github.com/yangbai90/np2m Release}
}

Install

Installation

cmake CMakeLists.txt && make

then run:

./np2m your.geo -options

then a new geo file named 'new'+your.geo==>'newyour.geo' file will be generated. Then you can use Gmsh for the mesh generation.

Usage

for cirlce domain:

./np2m your_circle.geo -tol 0.1 -print

for sphere domain:

./np2m your_sphere.geo -domain sphere -tol 0.1 -print

for more options

./np2m -help

Requirement

Neper

Gmsh

Contact

walkandthinker