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

Functions

go.Figure create_simple_recession_animation (np.ndarray time_history, np.ndarray recession_history, float D_chamber_initial, float D_throat_initial, float L_chamber, int max_frames=20)

Detailed Description

Simple recession animation: just shows diameter evolution over time.

This is a much simpler approach:
1. Plot recession vs time
2. Show cross-section evolving where diameter changes over time
No complex multi-layer stuff - just diameter evolution.

Function Documentation

◆ create_simple_recession_animation()

go.Figure recession_animation_simple.create_simple_recession_animation ( np.ndarray time_history,
np.ndarray recession_history,
float D_chamber_initial,
float D_throat_initial,
float L_chamber,
int max_frames = 20 )
Create simple animation showing diameter evolution over time.

Shows:
1. Recession vs time (plot)
2. Cross-section evolving (diameter changes over time)

Parameters:
-----------
time_history : np.ndarray
    Time array [s]
recession_history : np.ndarray
    Recession array [m] (chamber recession)
D_chamber_initial : float
    Initial chamber diameter [m]
D_throat_initial : float
    Initial throat diameter [m]
L_chamber : float
    Chamber length [m]
max_frames : int
    Maximum number of frames

Returns:
--------
fig : go.Figure
    Plotly figure with animation

Definition at line 18 of file recession_animation_simple.py.

References max.