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

Functions

None test_cold_nitrogen_near_an_atmosphere_is_a_gas (float above_K)
None test_saturated_oxygen_vapour_has_its_own_pressure (float T)
None test_a_vent_gas_temperature_from_its_enthalpy ()
None test_just_past_the_critical_band_the_tables_are_not_trusted (float T, float p)
None test_away_from_the_line_the_tables_still_answer ()

Variables

 N2 = Fluid("nitrogen")
 O2 = Fluid("oxygen")

Detailed Description

The tables are not trusted near the saturation line (``backends.coolprop._Dome``).

CoolProp's bicubic tables interpolate across the saturation line wherever a
table cell straddles it. Measured against the equation of state (HEOS), on
CoolProp 7.2 and 8.0: nitrogen ten kelvin above its boiling point at 1.07 bar
read 83 kg/m^3 for 4.3; saturated oxygen vapour at 90 K read 0.47 bar for
0.99 -- the partial pressure a cold LOX ullage is built from. Near the line the
tables now decline and the chain's HEOS answers; away from it nothing changes.
These are checked against CoolProp's HEOS directly, not against feedtwin.

Function Documentation

◆ test_a_vent_gas_temperature_from_its_enthalpy()

None test_props_near_dome.test_a_vent_gas_temperature_from_its_enthalpy ( )

Definition at line 40 of file test_props_near_dome.py.

◆ test_away_from_the_line_the_tables_still_answer()

None test_props_near_dome.test_away_from_the_line_the_tables_still_answer ( )
The guard costs nothing where the tables are good: warm pressurant and
subcooled LOX at tank pressure stay on the fast backend.

Definition at line 67 of file test_props_near_dome.py.

◆ test_cold_nitrogen_near_an_atmosphere_is_a_gas()

None test_props_near_dome.test_cold_nitrogen_near_an_atmosphere_is_a_gas ( float above_K)

Definition at line 24 of file test_props_near_dome.py.

◆ test_just_past_the_critical_band_the_tables_are_not_trusted()

None test_props_near_dome.test_just_past_the_critical_band_the_tables_are_not_trusted ( float T,
float p )
Nitrogen just outside the old band (0.75-1.5 p_c, below T_c + 16 K)
read density 3.7 % off, cp 9.4 %, cp/cv 14 % and viscosity 15 % at these
points. The band reaches 2.5 p_c and T_c + 30 K now; HEOS answers there.

Definition at line 51 of file test_props_near_dome.py.

◆ test_saturated_oxygen_vapour_has_its_own_pressure()

None test_props_near_dome.test_saturated_oxygen_vapour_has_its_own_pressure ( float T)

Definition at line 33 of file test_props_near_dome.py.

Variable Documentation

◆ N2

test_props_near_dome.N2 = Fluid("nitrogen")

Definition at line 19 of file test_props_near_dome.py.

◆ O2

test_props_near_dome.O2 = Fluid("oxygen")

Definition at line 20 of file test_props_near_dome.py.