ffd_utils
write_FFD_file(mesh, mx, my, filename='ffd', cushion=0.05)
¶
Utility functions that generates a box FFD around a wing mesh. Based on the utility function in OpenAeroStruct.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mesh
|
mesh array for the surface to be embedded in the FFD np.ndarray (nx,ny,3) |
required | |
mx
|
number of control points in the x-direction |
required | |
my
|
number of control points in the y-direction |
required | |
filename
|
name of the ffd file to write without extension.Defaults to "ffd.dat". |
'ffd'
|
|
cushion
|
Amount of cushion to apply from the LE/TE and tips. Defaults to 0.05. |
0.05
|
Returns:
| Type | Description |
|---|---|
|
filename of the written FFD file as a str |