You can create your shape or use a predefined one Read coordinates from file Read element connectivities from file Set a control shape that will be used to put the shape into The contol shape is a hexahedron with 100x40x10 with 10x5x3 number of control points By modifying the control shape you can modify the shape
Map the shape into the shape
Deallocate local variables
Export the shape and the control shape to vtk files Show the control geometry and geometry using PyVista
Finalize the control shape
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
real(kind=rk), | allocatable | :: | X(:,:) | |||
type(nurbs_volume) | :: | control_shape | ||||
integer, | allocatable | :: | elem(:,:) | |||
integer | :: | i | ||||
integer | :: | nunit |