-
Notifications
You must be signed in to change notification settings - Fork 11
Gmsh
LDTalbot edited this page Jul 8, 2022
·
7 revisions
For pre-processing, you may use the meshing software 'Gmsh' (Geuzaine & Remacle, 2022). The Gmsh software can be found here.
- A sample Gmsh input file, which will create tetrahedral mesh within a hexahedral bounding box, can be found here.
- The program will output a .msh file.
- Note that this .msh file cannot be directly used as an input in MPM: it must be converted.
- When converting, note that the Gmsh nodal numbering convention is to start at 1, while the MPM convention is to start at 0.
- A sample Gmsh output conversion program, compatible with tetrahedral mesh within a hexahedral bounding box and the input file mentioned above, can be found here.
- The conversion program will take a Gmsh output file and convert it to MPM input files.
- Note that the .msh must be saved to a .csv before using the converter.
- The following MPM input files will be created:
- Mesh file (eg. mesh.txt).
- Entity file (eg. entity_sets.json). Creates a nodal set for each surface of the mesh bounding box.
- Velocity constraints file (eg. velocity_constraints.txt). Requires inputs of the desired velocity per direction, and per surface of the bounding box.
- Geuzaine, C., & Remacle, J. F. (2022). Gmsh (4.9.5) [Computer software]. https://gmsh.info/
- Prerequisite packages
- Compiling MPM in Linux
- Compiling MPM in ARM-based MacOS
- Advanced compilation with MPI
- Explicit single-phase MPM
- Implicit linear and nonlinear schemes
- Semi-implicit Navier Stokes solver
- Two-phase MPM solver
- Using higher-order basis functions
- Infinitesimal strain
- Finite strain
- Fluids