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_positionsint

Number of circumferential channel locations (“leaves”).

channel_angular_widthcallable() or None, 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.

Attributes:
n_channel_positionsint

Number of circumferential positions.

channel_angular_widthcallable() or None

Angular width function or constant.

occludesbool

Whether the placement occludes hot surface area.

See also

SurfacePlacement
InternalPlacement
__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.

channel_count() → int
dtheta_dx(x: float, contour, circuit=None) → float

Return dθ/dx [rad/m] for the representative lane centerline. Default: 0 (axial/vertical channels).

helix_angle(x, contour=None, circuit=None) → float

Return the local helix angle [rad], measured from the meridian.

property has_channel_angular_width: bool

Whether this placement defines its own angular-width law.