STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
engine.pipeline.combustion_physics.CstarWideTable Class Reference

Public Member Functions

 __init__ (self, str ox_name, str fuel_name, np.ndarray MR, np.ndarray Pc, np.ndarray cstar, Optional[str] path=None)
Optional["CstarWideTable"] load (cls, str ox_name, str fuel_name, Optional[str] path=None)
"CstarWideTable" build (cls, str ox_name, str fuel_name, Optional[str] path=None)
np.ndarray row (self, float Pc)

Static Public Member Functions

str default_path (str ox_name, str fuel_name)

Public Attributes

 ox_name
 fuel_name
 path = ox_name, fuel_name, path
 MR
 Pc
 cstar = np.asarray(MR, float), np.asarray(Pc, float), np.asarray(cstar, float)
 MR_min
 MR_max = float(self.MR[0]), float(self.MR[-1])

Protected Attributes

 _lnMR
 _lnPc = np.log(self.MR), np.log(self.Pc)

Detailed Description

c* [m/s] on (O/F, Pc) from CEA, interpolated linearly in (ln O/F, ln Pc).

Definition at line 232 of file combustion_physics.py.

Constructor & Destructor Documentation

◆ __init__()

engine.pipeline.combustion_physics.CstarWideTable.__init__ ( self,
str ox_name,
str fuel_name,
np.ndarray MR,
np.ndarray Pc,
np.ndarray cstar,
Optional[str] path = None )

Definition at line 235 of file combustion_physics.py.

Member Function Documentation

◆ build()

"CstarWideTable" engine.pipeline.combustion_physics.CstarWideTable.build ( cls,
str ox_name,
str fuel_name,
Optional[str] path = None )

Definition at line 263 of file combustion_physics.py.

References default_path().

◆ default_path()

str engine.pipeline.combustion_physics.CstarWideTable.default_path ( str ox_name,
str fuel_name )
static

Definition at line 243 of file combustion_physics.py.

Referenced by build(), and load().

◆ load()

Optional["CstarWideTable"] engine.pipeline.combustion_physics.CstarWideTable.load ( cls,
str ox_name,
str fuel_name,
Optional[str] path = None )

Definition at line 248 of file combustion_physics.py.

References default_path().

◆ row()

np.ndarray engine.pipeline.combustion_physics.CstarWideTable.row ( self,
float Pc )
c*(O/F grid) at Pc, linear in ln Pc (clamped to the grid: c* moves ~1 % per doubling).

Definition at line 287 of file combustion_physics.py.

References _lnPc, engine.layerx.diag.start.StartChamber.cstar, cstar, and feedtwin.engine.design.EngineDesign.cstar.

Member Data Documentation

◆ _lnMR

engine.pipeline.combustion_physics.CstarWideTable._lnMR
protected

◆ _lnPc

engine.pipeline.combustion_physics.CstarWideTable._lnPc = np.log(self.MR), np.log(self.Pc)
protected

Definition at line 239 of file combustion_physics.py.

Referenced by row().

◆ cstar

◆ fuel_name

engine.pipeline.combustion_physics.CstarWideTable.fuel_name

Definition at line 237 of file combustion_physics.py.

◆ MR

engine.pipeline.combustion_physics.CstarWideTable.MR

Definition at line 238 of file combustion_physics.py.

◆ MR_max

engine.pipeline.combustion_physics.CstarWideTable.MR_max = float(self.MR[0]), float(self.MR[-1])

Definition at line 240 of file combustion_physics.py.

◆ MR_min

engine.pipeline.combustion_physics.CstarWideTable.MR_min

Definition at line 240 of file combustion_physics.py.

◆ ox_name

engine.pipeline.combustion_physics.CstarWideTable.ox_name

Definition at line 237 of file combustion_physics.py.

◆ path

engine.pipeline.combustion_physics.CstarWideTable.path = ox_name, fuel_name, path

◆ Pc


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