adapter_module

Module Contents

Classes

AdapterModule

An adapter component that takes in 15 variables from CADDEE (not all are used),

class adapter_module.AdapterModule

Bases: lsdo_modules.module_csdl.module_csdl.ModuleCSDL

An adapter component that takes in 15 variables from CADDEE (not all are used), and adaptes in to frame_vel(linear without rotation), rotational velocity, and air density rho.

Parameters
u[num_nodes,1]csdl array

vx of the body

v[num_nodes,1]csdl array

vy of the body

w[num_nodes,1]csdl array

vz of the body

p[num_nodes,1]csdl array

omega_x of the body

q[num_nodes,1]csdl array

omega_y of the body

r[num_nodes,1]csdl array

omega_z of the body

phi[num_nodes,1]csdl array

angular rotations relative to the equilibrium state: p=dot{phi}

theta[num_nodes,1]csdl array

angular rotations relative to the equilibrium state: q=dot{theta}

psi[num_nodes,1]csdl array

angular rotations relative to the equilibrium state: r=dot{psi}

x[num_nodes,1]csdl array

omega_x of the body

y[num_nodes,1]csdl array

omega_y of the body

z[num_nodes,1]csdl array

omega_z of the body

phiw[num_nodes,1]csdl array

omega_x of the body

gamma[num_nodes,1]csdl array

omega_y of the body

psiw[num_nodes,1]csdl array

omega_z of the body

collocation points
Returns
1. frame_vel[num_nodes,3]csdl array

inertia frame vel

2. alpha[num_nodes,1]csdl array

AOA in rad

3. v_inf_sq[num_nodes,1]csdl array

square of v_inf in rad

4. beta[num_nodes,1]csdl array

sideslip angle in rad

5. rho[num_nodes,1]csdl array

air density

# s_panel [(num_pts_chord-1)* (num_pts_span-1)]: csdl array
# The panel areas.
define()
initialize()