|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Public Member Functions | |
| __post_init__ (self) | |
| float | thickness_first (self) |
| dict | step (self, float dt, Callable[[float], float] q_in, Optional[float] T_ablation=None, Optional[float] H_surface=None, Optional[float] rho_surface=None, Optional[Callable[[float], float]] chemical_mass_flux=None, Tuple[float, float] T_bracket=(150.0, 4500.0)) |
| dict | advance (self, float dt, int n_sub, **kw) |
| float | depth_of_isotherm (self, float T_iso) |
| float | interface_temperature (self, int index) |
| float | T_back (self) |
| dict | soak (self, float duration, float dt=0.05) |
Static Public Attributes | |
| List | layers [Layer] |
| int | n_first = 80 |
| int | n_other = 20 |
| float | first_cell = 5e-6 |
| float | receded = 0.0 |
| np | y = field(init=False) |
| np | T = field(init=False) |
| float | T_surface_peak = field(init=False) |
| float | T_back_peak = field(init=False) |
Protected Member Functions | |
| _build_grid (self) | |
| _set_capacity (self) | |
| _remap (self, float dx_recede) | |
| np.ndarray | _interior (self, float dt, float s) |
Protected Attributes | |
| _k = np.array(k_cell) | |
| _rc = np.array(rc_cell) | |
| list | _varying |
| _dx = dx | |
| _G = self._k / dx | |
| _C = C | |
Temperature field through ``layers`` (layers[0] at the hot face).
Definition at line 75 of file wall_conduction.py.
| engine.pipeline.thermal.wall_conduction.WallModel.__post_init__ | ( | self | ) |
Definition at line 88 of file wall_conduction.py.
References _build_grid(), T, xPSR_Type.T, T_back_peak, T_surface_peak, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
|
protected |
Definition at line 95 of file wall_conduction.py.
References engine.pipeline.thermal.wall_conduction._graded(), first_cell, layers, n_first, n_other, receded, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
Referenced by __post_init__(), and _remap().
|
protected |
Nodes 1..N at the new time for surface temperature s (Dirichlet at node 0).
Definition at line 149 of file wall_conduction.py.
References _C, _G, engine.pipeline.thermal.wall_conduction._thomas(), T, and xPSR_Type.T.
Referenced by step().
|
protected |
Shorten layer 0 by dx_recede and carry the profile (measured from the back face).
Definition at line 138 of file wall_conduction.py.
References _build_grid(), receded, T, xPSR_Type.T, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
Referenced by step().
|
protected |
Node heat capacity per area from the cell rho*cp (cp(T) layers at the cell mean T).
Definition at line 123 of file wall_conduction.py.
References _dx, _rc, _varying, T, xPSR_Type.T, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
Referenced by step().
| dict engine.pipeline.thermal.wall_conduction.WallModel.advance | ( | self, | |
| float | dt, | ||
| int | n_sub, | ||
| ** | kw ) |
dt split into n_sub implicit steps; returns the last surface state and totals.
Definition at line 213 of file wall_conduction.py.
References max, copv.blowdown_solver.TankState.step(), engine.control.robust_ddp.controller.RobustDDPController.step(), step(), feedtwin.session.core.Session.step(), feedtwin.session.model.AssemblyError.step, feedtwin.vessels.tank.Tank.step(), feedtwin.vessels.volume.GasVolume.step(), fsw::calibration::PtSmoother.step(), fsw::control::RobustDDPController.step(), T, and xPSR_Type.T.
| float engine.pipeline.thermal.wall_conduction.WallModel.depth_of_isotherm | ( | self, | |
| float | T_iso ) |
Distance below the current hot face to the first node cooler than T_iso [m].
Definition at line 224 of file wall_conduction.py.
References max, T, xPSR_Type.T, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
| float engine.pipeline.thermal.wall_conduction.WallModel.interface_temperature | ( | self, | |
| int | index ) |
Temperature at the back of layers[index] (the bondline for index 0).
Definition at line 236 of file wall_conduction.py.
References layers, receded, T, xPSR_Type.T, Adafruit_LIS3DH.y, y, and feedtwin.model.curve.Curve.y.
Referenced by soak().
| dict engine.pipeline.thermal.wall_conduction.WallModel.soak | ( | self, | |
| float | duration, | ||
| float | dt = 0.05 ) |
Continue with an adiabatic hot face after shutdown; peak back-face and bondline temperatures reached while the stored heat redistributes.
Definition at line 245 of file wall_conduction.py.
References interface_temperature(), max, min, copv.blowdown_solver.TankState.step(), engine.control.robust_ddp.controller.RobustDDPController.step(), step(), feedtwin.session.core.Session.step(), feedtwin.session.model.AssemblyError.step, feedtwin.vessels.tank.Tank.step(), feedtwin.vessels.volume.GasVolume.step(), fsw::calibration::PtSmoother.step(), fsw::control::RobustDDPController.step(), and T_back().
| dict engine.pipeline.thermal.wall_conduction.WallModel.step | ( | self, | |
| float | dt, | ||
| Callable[[float], float] | q_in, | ||
| Optional[float] | T_ablation = None, | ||
| Optional[float] | H_surface = None, | ||
| Optional[float] | rho_surface = None, | ||
| Optional[Callable[[float], float]] | chemical_mass_flux = None, | ||
| Tuple[float, float] | T_bracket = (150.0, 4500.0) ) |
Advance by dt. Returns the surface temperature, the recession this step [m] and the surface mass flux [kg/(m^2 s)].
Definition at line 168 of file wall_conduction.py.
References _C, _G, _interior(), _remap(), _set_capacity(), _varying, max, min, T, xPSR_Type.T, T_back_peak, T_surface_peak, and thickness_first().
| float engine.pipeline.thermal.wall_conduction.WallModel.T_back | ( | self | ) |
Definition at line 242 of file wall_conduction.py.
References T, and xPSR_Type.T.
Referenced by soak().
| float engine.pipeline.thermal.wall_conduction.WallModel.thickness_first | ( | self | ) |
|
protected |
Definition at line 132 of file wall_conduction.py.
Referenced by _interior(), and step().
|
protected |
Definition at line 119 of file wall_conduction.py.
Referenced by _set_capacity().
|
protected |
Definition at line 120 of file wall_conduction.py.
Referenced by _interior(), and step().
|
protected |
Definition at line 114 of file wall_conduction.py.
|
protected |
Definition at line 115 of file wall_conduction.py.
Referenced by _set_capacity().
|
protected |
Definition at line 116 of file wall_conduction.py.
Referenced by _set_capacity(), and step().
|
static |
Definition at line 81 of file wall_conduction.py.
Referenced by _build_grid().
|
static |
Definition at line 77 of file wall_conduction.py.
Referenced by _build_grid(), interface_temperature(), and thickness_first().
|
static |
Definition at line 79 of file wall_conduction.py.
Referenced by _build_grid().
|
static |
Definition at line 80 of file wall_conduction.py.
Referenced by _build_grid().
|
static |
Definition at line 82 of file wall_conduction.py.
Referenced by _build_grid(), _remap(), interface_temperature(), and thickness_first().
|
static |
Definition at line 84 of file wall_conduction.py.
Referenced by __post_init__(), _interior(), _remap(), _set_capacity(), advance(), depth_of_isotherm(), interface_temperature(), step(), and T_back().
|
static |
Definition at line 86 of file wall_conduction.py.
Referenced by __post_init__(), and step().
|
static |
Definition at line 85 of file wall_conduction.py.
Referenced by __post_init__(), and step().
|
static |
Definition at line 83 of file wall_conduction.py.
Referenced by __post_init__(), _build_grid(), _remap(), _set_capacity(), depth_of_isotherm(), and interface_temperature().