PyFFD
PyFFD is an open-source Free Form Deformation (FFD) library.
Code
Quick start
(1) Define a FEM mesh :
n = np.array([[x0, y0], [x1, y1], ...])
(2) Define the elements size and degree for the B-Spline box in each direction :
# Element size per directions
size = [size_x, size_y]
# global setting
size = 0.1 # example
# Element degree per directions
deg = [deg_x, deg_y]
# global setting
deg = 3 # example
(3) Create the B-Spline box python object :
sbox = pf.FFD(n, size, deg)
(4) Compute the FFD opperator $R_s$ :
Rs = sbox.OperatorFFD()
Metadata
Release files for PyFFD 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyFFD-0.1.5.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyFFD-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.6 kB
Release files / PyFFD-0.1.5.tar.gz
| Download URL | PyFFD-0.1.5.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
307aba62451dba6e76b0e21a0f3495a14a750f3380fcc0dd00efd69f0e799f94
|
|
BLAKE2b-256 checksum How to use checksums |
f06e4e5f60405c11088acb206c947fbf498f0d352a495288839210b7f7025fca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Release files / PyFFD-0.1.5-py3-none-any.whl
| Download URL | PyFFD-0.1.5-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3858b1791b395522867fd318d05c12b1a9e254f6f958612cc77b0316a64993c1
|
|
BLAKE2b-256 checksum How to use checksums |
d2fb5fa7e271ae829ac4ac7b7e0086127c5fa07b5e8efe24a43a4aea5c64ab04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|