Python API 22.1
Instructions
- Download the following files and save them in your working directory:
- gmesh_geom_gen.py
- dynaCon.py
- .env (Make sure the downloaded file has a dot at the start. If necessary, edit the file name to add it)
- Edit the .env file with the path to your PRIMER executable (only the PRIMERCON variable is used in this example).
- If you don't have it already, install the following Python modules:
- Oasys.PRIMER: pip install Oasys.PRIMER
- gmsh: pip install gmsh
- python-dotenv: pip install python-dotenv
- Run the script gmesh_geom_gen.py