openmc.model.RightCircularCylinder

class openmc.model.RightCircularCylinder(center_base, height, radius, axis='z', upper_fillet_radius=0.0, lower_fillet_radius=0.0, **kwargs)[source]

Right circular cylinder composite surface

A right circular cylinder is composed of a cylinder and two planar surface perpendicular to the axis of the cylinder. This class acts as a proper surface, meaning that unary + and - operators applied to it will produce a half-space. The negative side is defined to be the region inside of the right circular cylinder.

New in version 0.12.

Parameters
  • center_base (iterable of float) – Cartesian coordinate of the center of the base of the cylinder

  • height (float) – Height of the cylinder

  • radius (float) – Radius of the cylinder

  • axis ({'x', 'y', 'z'}) – Axis of the cylinder

  • upper_fillet_radius (float) – Upper edge fillet radius in [cm].

  • lower_fillet_radius (float) – Lower edge fillet radius in [cm].

  • **kwargs – Keyword arguments passed to underlying cylinder and plane classes

Variables
  • cyl (openmc.Cylinder) – Underlying cylinder surface

  • bottom (openmc.Plane) – Bottom planar surface of the cylinder

  • top (openmc.Plane) – Top planar surface of the cylinder

  • upper_fillet_torus (openmc.Torus) – Surface that creates the filleted edge for the upper end of the cylinder. Only present if upper_fillet_radius is set.

  • upper_fillet_cylinder (openmc.Cylinder) – Surface that bounds upper_fillet_torus radially. Only present if upper_fillet_radius is set.

  • upper_fillet_plane (openmc.Plane) – Surface that bounds upper_fillet_torus axially. Only present if upper_fillet_radius is set.

  • lower_fillet_torus (openmc.Torus) – Surface that creates the filleted edge for the lower end of the cylinder. Only present if lower_fillet_radius is set.

  • lower_fillet_cylinder (openmc.Cylinder) – Surface that bounds lower_fillet_torus radially. Only present if lower_fillet_radius is set.

  • lower_fillet_plane (openmc.Plane) – Surface that bounds lower_fillet_torus axially. Only present if lower_fillet_radius is set.