STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.core.nozzle_solver Namespace Reference

Functions

 rotated_parabola_xy (t, m, theta, h, k)
 solve_rotated_parabola_params (Nx, Ny, Ex, Ey, theta_n, theta_e)
 generate_rao_moc_contour (Nx, Ny, Ex, Ey, theta_n, theta_e, steps=200, gamma=1.23)
 rao (area_throat, area_exit, bell_percent=0.8, steps=200, do_plot=True, color_segments=False, method="garcia", gamma=1.23, convergent_half_angle_rad=np.pi/4.0)

Function Documentation

◆ generate_rao_moc_contour()

engine.core.nozzle_solver.generate_rao_moc_contour ( Nx,
Ny,
Ex,
Ey,
theta_n,
theta_e,
steps = 200,
gamma = 1.23 )
TRUE Rao Method-of-Characteristics nozzle contour placeholder.

Definition at line 77 of file nozzle_solver.py.

Referenced by rao().

◆ rao()

engine.core.nozzle_solver.rao ( area_throat,
area_exit,
bell_percent = 0.8,
steps = 200,
do_plot = True,
color_segments = False,
method = "garcia",
gamma = 1.23,
convergent_half_angle_rad = np.pi / 4.0 )
method:
  - "top"     : Thrust-Optimized Parabolic (quadratic Bézier N-Q-E)
  - "garcia"  : rotated/canted parabola (RRS Garcia 2023)
  - "rao_moc" : placeholder hook for a true Rao MoC solver

Definition at line 92 of file nozzle_solver.py.

References generate_rao_moc_contour(), rotated_parabola_xy(), and solve_rotated_parabola_params().

◆ rotated_parabola_xy()

engine.core.nozzle_solver.rotated_parabola_xy ( t,
m,
theta,
h,
k )
x(t) = t(-m sinθ t + cosθ) + h
y(t) = t( m cosθ t + sinθ) + k

Definition at line 10 of file nozzle_solver.py.

Referenced by rao().

◆ solve_rotated_parabola_params()

engine.core.nozzle_solver.solve_rotated_parabola_params ( Nx,
Ny,
Ex,
Ey,
theta_n,
theta_e )
Solve for m, h, k, psi, t5, t6 such that the rotated parabola goes
through N and E with the correct slopes at each end.

Definition at line 24 of file nozzle_solver.py.

Referenced by rao().