STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
feedtwin.engine.card.CardChamber Class Reference
Inheritance diagram for feedtwin.engine.card.CardChamber:
[legend]
Collaboration diagram for feedtwin.engine.card.CardChamber:
[legend]

Public Member Functions

None __init__ (self, EngineCard card, *, float ambient_pressure=101325.0, float volume=0.0)
ChamberResult evaluate (self, float mdot_oxidiser, float mdot_fuel)
Public Member Functions inherited from feedtwin.engine.chamber.Chamber
None __init__ (self, float throat_area, CStarModel cstar_model, *, float volume=0.0, float efficiency=1.0, float nozzle_efficiency=1.0, float ambient_pressure=101325.0)
bool is_firing (self, ChamberResult result)
float fill_time (self, float pressure, float mixture_ratio)
str __repr__ (self)

Public Attributes

 card = card
Public Attributes inherited from feedtwin.engine.chamber.Chamber
 throat_area = throat_area
 cstar_model = cstar_model
 volume = volume
 efficiency = efficiency
 nozzle_efficiency = nozzle_efficiency
 ambient_pressure = ambient_pressure

Detailed Description

A chamber whose pressure and thrust come from an engine card.

``p_c = mdot c*_eff(O/F, mdot) / A_t``: no fixed point, because the card is
tabulated over the flows themselves. Thrust is ``mdot v_vac - p_a A_e`` at
this chamber's ``ambient_pressure``, which a caller may change as a vehicle
climbs.

Definition at line 404 of file card.py.

Constructor & Destructor Documentation

◆ __init__()

None feedtwin.engine.card.CardChamber.__init__ ( self,
EngineCard card,
* ,
float ambient_pressure = 101325.0,
float volume = 0.0 )

Definition at line 413 of file card.py.

References __init__().

Referenced by __init__().

Member Function Documentation

◆ evaluate()

ChamberResult feedtwin.engine.card.CardChamber.evaluate ( self,
float mdot_oxidiser,
float mdot_fuel )
Chamber state for a pair of propellant flows.

Chamber pressure is ``mdot c* / A_t``, but ``c*`` depends on mixture
ratio and (weakly) on pressure, so this iterates the pressure to
consistency. Three passes is ample -- the dependence on pressure is
gentle -- and it converges from any starting point because raising
pressure barely moves ``c*``.

Reimplemented from feedtwin.engine.chamber.Chamber.

Definition at line 428 of file card.py.

References ambient_pressure, and min.

Referenced by engine.core.runner.PintleEngineRunner.evaluate_arrays().

Member Data Documentation

◆ card

feedtwin.engine.card.CardChamber.card = card

Definition at line 426 of file card.py.

Referenced by engine.layerx.card._ExpansionScaling.evaluate().


The documentation for this class was generated from the following file:
  • lib/feedtwin/feedtwin/engine/card.py