Generating a simple regular mesh
Sometimes it can be convenient to create a simple regular mesh. The file yaml file below will be used as an example to generate a regular mesh.
Output:
Path: .
Mesh: mesh
File_Format: vtu
Domain: [0.000000e+00, 0.000000e+00, 1.000000e+01, 1.000000e+01]
Mesh_Size: 1.000000e-01
Horizon: 4.400000e-01
Mesh_Type: uniform_square
Compress_Type: zlib
Is_FD: true
Using the mesh tool and running
mesh -i mesh.yaml -d 2
will generate the regular mesh in the figure where the nodes are colored with the nodal volume.
The complete YAML configuration file is available here.