Generates nodes and volumes from gmsh grid for nodal or particle simulations
``sudo pip3 install -r requirements.txt`
Any changes made in the source file will immediately be changed in the installed package:
sudo python3 setup.py develop
sudo python3 setup.py install
python3 convert.py -i <inputfile> -o <outputfile> -t <type> -d <index> -r <rotation>
Parameters:
-i
: Path to the mesh file-o
: Path to the output file (Do not add any file extension)-t
: Type of the mesh elements (Only quad and triangles are supported)-d
: Add the index of each node to the CSV output (Default is True)- '-r' : Rotate the nodes by the given degress (Default is zero degrees)
Mesh generated with gmesh | Nodes and volumes at the center of the cell |
---|---|