openmc.model.Vessel¶
- class openmc.model.Vessel(r: float, p1: float, p2: float, h1: float, h2: float, center: Sequence[float] = (0.0, 0.0), axis: str = 'z', **kwargs)[source]¶
Vessel composed of cylinder with semi-ellipsoid top and bottom.
This composite surface is represented by a finite cylinder with ellipsoidal top and bottom surfaces. This surface is equivalent to the ‘vesesl’ surface in Serpent.
New in version 0.15.1.
- Parameters
r (float) – Radius of vessel.
p1 (float) – Minimum coordinate for cylindrical part of vessel.
p2 (float) – Maximum coordinate for cylindrical part of vessel.
h1 (float) – Height of bottom ellipsoidal part of vessel.
h2 (float) – Height of top ellipsoidal part of vessel.
center (2-tuple of float) – Coordinate for central axis of the cylinder in the (y, z), (x, z), or (x, y) basis. Defaults to (0,0).
axis ({'x', 'y', 'z'}) – Central axis of the cylinder.