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

Functions

 _python_physics (monkeypatch)
 test_specific_heat_matches_janaf (T, cp_janaf)
 _slab (cp_of=None)
 test_a_heated_slab_stores_the_heat_it_was_given ()
 test_a_constant_cp_function_is_the_constant_model ()
 _burn (mutate)
 test_the_insert_heats_slower_with_its_real_specific_heat ()
 test_the_model_changes_nothing_without_an_insert ()

Variables

 ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 CFG = os.path.join(ROOT, "configs", "ethalox_6500N.yaml")
float PSI = 6894.757293168361
float MW_C = 12.0107e-3
 RHO
 K

Detailed Description

The graphite insert's specific heat follows temperature (graphite_insert.specific_heat_model).

The configs carried graphite's room-temperature specific heat, 710 J/(kg K), at every temperature;
it is ~2000 J/(kg K) at the throat's running temperature, so the surface heated ~2.5x too fast and
the surface chemistry ran early. Expected values here are independent of the code:
  * NIST-JANAF graphite Cp: 8.517 J/(mol K) at 298.15 K, 21.610 J/(mol K) at 1000 K;
  * a slab with an adiabatic back stores exactly the heat put into its face, int rho H(T) dy = q t.

Function Documentation

◆ _burn()

test_graphite_properties._burn ( mutate)
protected

◆ _python_physics()

test_graphite_properties._python_physics ( monkeypatch)
protected

Definition at line 32 of file test_graphite_properties.py.

◆ _slab()

test_graphite_properties._slab ( cp_of = None)
protected

◆ test_a_constant_cp_function_is_the_constant_model()

test_graphite_properties.test_a_constant_cp_function_is_the_constant_model ( )

Definition at line 63 of file test_graphite_properties.py.

References _slab().

◆ test_a_heated_slab_stores_the_heat_it_was_given()

test_graphite_properties.test_a_heated_slab_stores_the_heat_it_was_given ( )

Definition at line 45 of file test_graphite_properties.py.

References _slab().

◆ test_specific_heat_matches_janaf()

test_graphite_properties.test_specific_heat_matches_janaf ( T,
cp_janaf )

Definition at line 37 of file test_graphite_properties.py.

◆ test_the_insert_heats_slower_with_its_real_specific_heat()

test_graphite_properties.test_the_insert_heats_slower_with_its_real_specific_heat ( )

Definition at line 79 of file test_graphite_properties.py.

References _burn().

◆ test_the_model_changes_nothing_without_an_insert()

test_graphite_properties.test_the_model_changes_nothing_without_an_insert ( )

Definition at line 91 of file test_graphite_properties.py.

References _burn().

Variable Documentation

◆ CFG

test_graphite_properties.CFG = os.path.join(ROOT, "configs", "ethalox_6500N.yaml")

Definition at line 25 of file test_graphite_properties.py.

◆ K

test_graphite_properties.K

Definition at line 28 of file test_graphite_properties.py.

◆ MW_C

float test_graphite_properties.MW_C = 12.0107e-3

Definition at line 27 of file test_graphite_properties.py.

◆ PSI

float test_graphite_properties.PSI = 6894.757293168361

Definition at line 26 of file test_graphite_properties.py.

◆ RHO

test_graphite_properties.RHO

Definition at line 28 of file test_graphite_properties.py.

◆ ROOT

test_graphite_properties.ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Definition at line 24 of file test_graphite_properties.py.