pyskyfire.regen.channel_placement.ChannelPlacement¶
- class pyskyfire.regen.channel_placement.ChannelPlacement(n_channel_positions: int, channel_angular_width=None, occludes: bool = True, helix_angle=0.0)¶
Base class defining how coolant channels are wound around the contour.
A placement owns the circumferential packing and the winding rate; where a section then sits radially is resolved from the cross section and the wall stack rather than from the placement. On its own this class describes plain axial channels, and subclasses (surface, internal) refine it.
- Parameters:
- n_channel_positions
int Number of circumferential channel locations (“leaves”).
- channel_angular_width
callable()orNone,optional Function returning angular width [rad]. May be None if uniform.
- occludesbool,
optional Whether this placement blocks part of the wall from hot gas view.
- n_channel_positions
- Attributes:
- n_channel_positions
int Number of circumferential positions.
- channel_angular_width
callable()orNone Angular width function or constant.
- occludesbool
Whether the placement occludes hot surface area.
- n_channel_positions
See also
SurfacePlacementInternalPlacement
- __setstate__(state)¶
Load placements serialized before the angular-width rename.
- _context(x, contour=None, circuit=None, *, include_section: bool) DesignContext¶
Build the design-input context for one station.
A placement may be shared by several circuits, so the circuit is passed in per call rather than stored. Without one, only tier A is available.
- channel_angular_width(x, contour=None, circuit=None) float¶
Return the user-specified angular width [rad] at
x.
- dtheta_dx(x: float, contour, circuit=None) float¶
Return dθ/dx [rad/m] for the representative lane centerline. Default: 0 (axial/vertical channels).