STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feed_line_K.Run Class Reference

Public Member Functions

 __init__ (self, str name, float d_ref, float mdot, float rho, float mu)
None add (self, str label, float K_local, float d_local, str note)
None entrance (self, float d)
None ball_valve_full_bore (self, float d, float f_T)
None contraction (self, float d_big, float d_small)
None expansion (self, float d_small, float d_big)
None straight (self, float d, float L)
float report (self)

Public Attributes

 name
 d_ref
 mdot
 rho
 mu = name, d_ref, mdot, rho, mu
 A_ref = area(d_ref)
 v_ref = mdot / (rho * self.A_ref)
list rows = []

Protected Member Functions

float _refer (self, float K_local, float d_local)

Detailed Description

One feed run, itemised. All K's accumulate against ``d_ref``.

Definition at line 38 of file feed_line_K.py.

Constructor & Destructor Documentation

◆ __init__()

feed_line_K.Run.__init__ ( self,
str name,
float d_ref,
float mdot,
float rho,
float mu )

Definition at line 41 of file feed_line_K.py.

Member Function Documentation

◆ _refer()

float feed_line_K.Run._refer ( self,
float K_local,
float d_local )
protected

Definition at line 47 of file feed_line_K.py.

References engine.layerx.flight.InlineAscent.A_ref, A_ref, and feed_line_K.area().

Referenced by add().

◆ add()

None feed_line_K.Run.add ( self,
str label,
float K_local,
float d_local,
str note )

◆ ball_valve_full_bore()

◆ contraction()

◆ entrance()

◆ expansion()

◆ report()

◆ straight()

Member Data Documentation

◆ A_ref

feed_line_K.Run.A_ref = area(d_ref)

Definition at line 43 of file feed_line_K.py.

Referenced by _refer().

◆ d_ref

feed_line_K.Run.d_ref

Definition at line 42 of file feed_line_K.py.

◆ mdot

feed_line_K.Run.mdot

Definition at line 42 of file feed_line_K.py.

Referenced by straight().

◆ mu

feed_line_K.Run.mu = name, d_ref, mdot, rho, mu

Definition at line 42 of file feed_line_K.py.

Referenced by feedtwin.props.state.ThermoState.nu(), and straight().

◆ name

feed_line_K.Run.name

Definition at line 42 of file feed_line_K.py.

◆ rho

feed_line_K.Run.rho

◆ rows

list feed_line_K.Run.rows = []

Definition at line 45 of file feed_line_K.py.

Referenced by add(), and report().

◆ v_ref

feed_line_K.Run.v_ref = mdot / (rho * self.A_ref)

Definition at line 44 of file feed_line_K.py.

Referenced by report().


The documentation for this class was generated from the following file: