Skip to content

Commit c9878e6

Browse files
committed
update tutorials 2,3,4
1 parent 5aebf0d commit c9878e6

20 files changed

+1094
-88123
lines changed

docs/source/_tutorials/tutorial-7-mdpa.html

-13,522
This file was deleted.

docs/source/_tutorials/tutorial1ffd.html

-13,421
This file was deleted.

docs/source/_tutorials/tutorial1stl.html

-12,135
This file was deleted.

docs/source/_tutorials/tutorial2iges.html

-11,937
This file was deleted.

docs/source/_tutorials/tutorial3unv.html

-12,197
This file was deleted.

docs/source/_tutorials/tutorial4rbf.html

-12,139
This file was deleted.

docs/source/_tutorials/tutorial5idw.html

-12,067
This file was deleted.

docs/source/tutorials.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ Tutorials
33

44
We made some tutorial examples:
55

6-
- `Tutorial 1 <tutorial1ffd.html>`_ shows how to apply the free-form deformation.
7-
- `Turorial 2 <tutorial2iges.html>`_ shows how to deal with iges files and FFD.
8-
- `Turorial 3 <tutorial3unv.html>`_ shows how to deal with unv files and how to set the desired continuity to the geometry using FFD.
9-
- `Turorial 4 <tutorial4rbf.html>`_ shows how to perform RBF interpolation.
10-
- `Turorial 5 <tutorial5idw.html>`_ shows how to perform IDW interpolation.
11-
- `Turorial 7 <tutorial-7-mdpa.html>`_ shows how to deal with MDPA file.
6+
- `Tutorial 1 <tutorial-1-ffd.html>`_ shows how to apply the free-form deformation to mesh nodes.
7+
- `Turorial 2 <tutorial-2-iges.html>`_ shows how to deal with iges (CAD) files and FFD.
8+
- `Turorial 3 <tutorial-3-rbf.html>`_ shows how to apply the radial basis function to mesh nodes.
9+
- `Turorial 4 <tutorial-4-idw.html>`_ shows how to perform a deformation using the inverse distance weighting method to mesh nodes.

tutorials/README.md

+13-17
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
# Tutorials
22

3-
In this folder you can find a collection of useful tutorials in order to understand the principles and the potential of **PyGeM**.
3+
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.
44

5-
#### [Tutorial 1](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-1-ffd.ipynb)
6-
Here we show how it is possible to perform a free form deformation on a sphere.
75

8-
#### [Tutorial 2](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-2-iges.ipynb)
9-
# Old version
10-
Here we show how to manage basic iges files and again free form deformation. In particular here we deform the CAD of a cylinder.
6+
| Name | Description | PyGeM used classes | input geometries |
7+
|---|---|---|---|---|
8+
| Tutorial1&#160;[[.ipynb](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial1/tutorial-1-ffd.ipynb),&#160;[.py](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial1/tutorial-1-ffd.py),&#160;[.html](http://mathlab.github.io/PyGeM/tutorial-1-ffd.html)]| free-form deformation to morph a spherical mesh | `pygem.FFD` | `numpy.ndarray` |
9+
| Tutorial2&#160;[[.ipynb](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial2/tutorial-2-iges.ipynb),&#160;[.py](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial2/tutorial-2-iges.py),&#160;[.html](http://mathlab.github.io/PyGeM/tutorial-2-iges.html)] | free-form deformation to morph a cylinder | `pygem.cad.FFD` | IGES file |
10+
| Tutorial3&#160;[[.ipynb](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial3/tutorial-3-rbf.ipynb),&#160;[.py](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial3/tutorial-3-rbf.py),&#160;[.html](http://mathlab.github.io/PyGeM/tutorial-3-rbf.html)] | radial basis function to morph a cubic mesh | `pygem.RBF` | `numpy.ndarray` |
11+
| Tutorial4&#160;[[.ipynb](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial4/tutorial-4-idw.ipynb),&#160;[.py](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial4/tutorial-4-idw.py),&#160;[.html](http://mathlab.github.io/PyGeM/tutorial-4-idw.html)] | inverse distance weighting to deform a cubic mesh | `pygem.IDW` | `numpy.ndarray` |
1112

12-
#### [Tutorial 3](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-3-unv.ipynb)
13-
# Old version
14-
Here it is possible to understand how to deform a unv file with a prescribed continuity using the free form deformation.
1513

16-
#### [Tutorial 4](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-4-rbf.ipynb)
17-
# Old version
18-
Here we present the radial basis functions interpolation technique on a simple cube.
1914

20-
#### [Tutorial 5](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-5-idw.ipynb)
2115
# Old version
22-
Here we show the inverse distance weighting interpolation technique on a simple cube.
16+
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.
17+
18+
#### [Tutorial 3](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-3-unv.ipynb)
19+
Here it is possible to understand how to deform a unv file with a prescribed continuity using the free form deformation.
2320

24-
# [Tutorial 6](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-6-k.ipynb)
25-
##### Old version
21+
#### [Tutorial 6](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-6-k.ipynb) [[.py]](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-6-k.py)
2622
This tutorial shows how to deform a LS-Dyna k file with a prescribed continuity using the free-form deformation.
2723

28-
#### [Tutorial 7](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-7-mdpa.ipynb)
24+
#### [Tutorial 7](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-7-mdpa.ipynb) [[.py]](https://github.com/mathLab/PyGeM/blob/master/tutorials/tutorial-7-mdpa.py)
2925
This tutorial shows how to deform a Kratos Multiphysics mdpa file with a prescribed continuity using the free-form deformation.
3026

3127
#### More to come...

tutorials/tutorial-2-iges.ipynb

-150
This file was deleted.

tutorials/tutorial-4-rbf.ipynb

-290
This file was deleted.

tutorials/tutorial-5-idw.ipynb

-241
This file was deleted.

tutorials/tutorial-1-ffd.ipynb tutorials/tutorial1/tutorial-1-ffd.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
"name": "python",
268268
"nbconvert_exporter": "python",
269269
"pygments_lexer": "ipython3",
270-
"version": "3.6.8"
270+
"version": "3.7.6"
271271
}
272272
},
273273
"nbformat": 4,
File renamed without changes.

0 commit comments

Comments
 (0)