In this folder we collect several useful tutorials in order to understand the principles and the potential of PyGeM. Please read the following table for details about the tutorials.
Name | Description | PyGeM used classes | input geometries |
---|---|---|---|
Tutorial1 [.ipynb, .py, .html] | free-form deformation to morph a spherical mesh | pygem.FFD |
numpy.ndarray |
Tutorial2 [.ipynb, .py, .html] | free-form deformation to morph a cylinder | pygem.cad.FFD |
IGES file |
Tutorial3 [.ipynb, .py, .html] | radial basis function to morph a cubic mesh | pygem.RBF |
numpy.ndarray |
Tutorial4 [.ipynb, .py, .html] | inverse distance weighting to deform a cubic mesh | pygem.IDW |
numpy.ndarray |
Tutorial5 [.ipynb, .py, .html] | free-form deformation to deform an object contained to file | pygem.FFD |
.vtp file, .stl file |
Tutorial6 [.ipynb, .py, .html] | interpolation of an OpenFOAM mesh after a deformation | pygem.FFD/RBF |
OpenFOAM |
Tutorial7 [.ipynb, .py, .html] | constrained free form deformation | pygem.CFFD/BFFD/VFFD |
.stl file |
Below all the tutorials for the previous release. We will convert them in order to make compatible with the latest version of PyGeM; meanwhile we still publish these old examples since they may help the users in some application.
Here it is possible to understand how to deform a unv file with a prescribed continuity using the free form deformation.
This tutorial shows how to deform a LS-Dyna k file with a prescribed continuity using the free-form deformation.
This tutorial shows how to deform a Kratos Multiphysics mdpa file with a prescribed continuity using the free-form deformation.
We plan to add more tutorials but the time is often against us. If you want to contribute with a notebook on a feature not covered yet we will be very happy and give you support on editing!