Skip to content
/ np2m Public

convert neper generated geo file to suitable geo file for multi-grain case simulation

License

Notifications You must be signed in to change notification settings

yangbai90/np2m

Repository files navigation

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

About

convert neper generated geo file to suitable geo file for multi-grain case simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published