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

Functions

 test_constant_flux_surface_temperature ()
 test_constant_surface_temperature_profile ()
 test_steady_ablation_is_landaus ()
 test_soak_conserves_energy ()

Variables

 K
 RHO
 CP
 ALPHA = K / (RHO * CP)

Detailed Description

The wall conduction model against closed-form solutions (Carslaw & Jaeger; Landau 1950).

Every expected number here is a textbook formula evaluated in the test, not a number the
model produced.

Function Documentation

◆ test_constant_flux_surface_temperature()

test_wall_conduction.test_constant_flux_surface_temperature ( )
Semi-infinite solid, constant flux: Ts - T0 = 2 q sqrt(t/pi) / sqrt(k rho c).

Definition at line 21 of file test_wall_conduction.py.

◆ test_constant_surface_temperature_profile()

test_wall_conduction.test_constant_surface_temperature_profile ( )
Surface stepped to Ts: T(y,t) = T0 + (Ts-T0) erfc(y / 2 sqrt(alpha t)).

Definition at line 31 of file test_wall_conduction.py.

◆ test_soak_conserves_energy()

test_wall_conduction.test_soak_conserves_energy ( )
Adiabatic faces after shutdown: the profile relaxes to the mean, energy conserved.

Definition at line 58 of file test_wall_conduction.py.

◆ test_steady_ablation_is_landaus()

test_wall_conduction.test_steady_ablation_is_landaus ( )
Quasi-steady ablation at T_abl: v = q / (rho (H + cp (T_abl - T0))); the T_p isotherm sits
(alpha/v) ln((T_abl - T0)/(T_p - T0)) below the receding face.

Definition at line 44 of file test_wall_conduction.py.

Variable Documentation

◆ ALPHA

test_wall_conduction.ALPHA = K / (RHO * CP)

Definition at line 18 of file test_wall_conduction.py.

◆ CP

test_wall_conduction.CP

Definition at line 17 of file test_wall_conduction.py.

◆ K

test_wall_conduction.K

Definition at line 17 of file test_wall_conduction.py.

◆ RHO

test_wall_conduction.RHO

Definition at line 17 of file test_wall_conduction.py.