How to create a cartesian shell?ΒΆ

A CartShell object represents a cartesian computational shell. To create a CartShell you need to define its shape (number of azimuthal and longitudinal points) and three corners. The shell is built by creating two vectors based on the defined corners.

import numpy as np

from kokiy.cartshell import CartShell

n_trans = 6
n_longi = 12
zero = np.array([0.00, 0.12, -0.2])
u_max = np.array([0.00, 0.12, 0.2])
v_max = np.array([0.20, 0.12, -0.2])

shell = CartShell(n_trans, n_longi, zero, u_max, v_max)

The following interactive plot shows the generated geometry: