Mesh generator#
Installation#
neper
#
Install Neper. Neper is used to generate Voronoi microstructure.
rheolef
#
Install rheolef
librairy. See this documentation pages to install it.
Scripts and Functions#
mesh_tools
consists of a set of bash scripts and Python functions. To install it, follow these steps:
Clone the repository:
git clone https://gricad-gitlab.univ-grenoble-alpes.fr/mecaiceige/tools/ice-polycrystal-models/mesh_tools
Navigate to the
mesh_tools
directory:cd mesh_tools
Install the required Python dependencies:
pip install -r requirements.txt
If you want to be able to run the functions from anywhere, you can add the following line to your .bashrc
file:
export PATH="/mypath/mesh_tools/src/Neper_Tesselation:$PATH"
This will allow you to execute the functions by simply typing their names in the terminal, without having to navigate to the mesh_tools
directory first.