armi.reactor.components.complexShapes module¶
Components represented by complex shapes, and typically less widely used.
Here ARMI implements its support for: Holed Hexagons, Holed Rectangles, Holed Squares, and Helixes. |
- class armi.reactor.components.complexShapes.HoledHexagon(name, material, Tinput, Thot, op, holeOD, nHoles, mult=1.0, modArea=None, isotopics=None, mergeWith=None, components=None)[source]¶
Bases:
armi.reactor.components.basicShapes.Hexagon
Hexagon with n uniform circular holes hollowed out of it.
- THERMAL_EXPANSION_DIMS = {'holeOD', 'op'}¶
- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- getComponentArea(cold=False)[source]¶
Computes the area for the hexagon with n number of circular holes in cm^2.
- getCircleInnerDiameter(Tc=None, cold=False)[source]¶
For the special case of only one single hole, returns the diameter of that hole.
For any other case, returns 0.0 because an “circle inner diameter” becomes undefined.
- DIMENSION_NAMES = ('op', 'holeOD', 'nHoles', 'mult', 'modArea')¶
- INIT_SIGNATURE = ('name', 'material', 'Tinput', 'Thot', 'op', 'holeOD', 'nHoles', 'mult', 'modArea', 'isotopics', 'mergeWith', 'components')¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.HoledHexagonParameterCollection
- class armi.reactor.components.complexShapes.HexHoledCircle(name, material, Tinput, Thot, od, holeOP, mult=1.0, modArea=None, isotopics=None, mergeWith=None, components=None)[source]¶
Bases:
armi.reactor.components.basicShapes.Circle
Circle with a single uniform hexagonal hole hollowed out of it.
- THERMAL_EXPANSION_DIMS = {'holeOP', 'od'}¶
- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- getCircleInnerDiameter(Tc=None, cold=False)[source]¶
Returns the diameter of the hole equal to the hexagon outer pitch
- DIMENSION_NAMES = ('od', 'holeOP', 'mult', 'modArea')¶
- INIT_SIGNATURE = ('name', 'material', 'Tinput', 'Thot', 'od', 'holeOP', 'mult', 'modArea', 'isotopics', 'mergeWith', 'components')¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.HexHoledCircleParameterCollection
- class armi.reactor.components.complexShapes.HoledRectangle(name, material, Tinput, Thot, holeOD, lengthOuter=None, widthOuter=None, mult=1.0, modArea=None, isotopics=None, mergeWith=None, components=None)[source]¶
Bases:
armi.reactor.components.basicShapes.Rectangle
Rectangle with one circular hole in it.
- THERMAL_EXPANSION_DIMS = {'holeOD', 'lengthOuter', 'widthOuter'}¶
- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- getComponentArea(cold=False)[source]¶
Computes the area (in cm^2) for the the rectangle with one hole in it.
- DIMENSION_NAMES = ('holeOD', 'lengthOuter', 'widthOuter', 'mult', 'modArea')¶
- INIT_SIGNATURE = ('name', 'material', 'Tinput', 'Thot', 'holeOD', 'lengthOuter', 'widthOuter', 'mult', 'modArea', 'isotopics', 'mergeWith', 'components')¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.HoledRectangleParameterCollection
- class armi.reactor.components.complexShapes.HoledSquare(name, material, Tinput, Thot, holeOD, widthOuter=None, mult=1.0, modArea=None, isotopics=None, mergeWith=None, components=None)[source]¶
Bases:
armi.reactor.components.basicShapes.Square
Square with one circular hole in it.
- THERMAL_EXPANSION_DIMS = {'holeOD', 'widthOuter'}¶
- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- getComponentArea(cold=False)[source]¶
Computes the area (in cm^2) for the the square with one hole in it.
- DIMENSION_NAMES = ('holeOD', 'widthOuter', 'mult', 'modArea')¶
- INIT_SIGNATURE = ('name', 'material', 'Tinput', 'Thot', 'holeOD', 'widthOuter', 'mult', 'modArea', 'isotopics', 'mergeWith', 'components')¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.HoledSquareParameterCollection
- class armi.reactor.components.complexShapes.Helix(name, material, Tinput, Thot, od, axialPitch, helixDiameter, mult=1.0, id=0.0, modArea=None, isotopics=None, mergeWith=None, components=None)[source]¶
Bases:
armi.reactor.components.component.ShapedComponent
A spiral wire component used to model a pin wire-wrap.
Notes
http://mathworld.wolfram.com/Helix.html In a single rotation with an axial climb of P, the length of the helix will be a factor of 2*pi*sqrt(r^2+c^2)/2*pi*c longer than vertical length L. P = 2*pi*c.
od: outer diameter of the helix wire
id: inner diameter of the helix wire (if non-zero, helix wire is annular.)
- axialPitch: vertical distance between wraps. Is also the axial distance required to complete
a full 2*pi rotation.
- helixDiameter: The helix diameter is the distance from the center of the
wire-wrap on one side to the center of the wire-wrap on the opposite side (can be visualized if the axial pitch is 0.0 - creates a circle).
- is3D = False¶
- THERMAL_EXPANSION_DIMS = {'axialPitch', 'helixDiameter', 'id', 'od'}¶
- pDefs = <armi.reactor.parameters.parameterDefinitions.ParameterDefinitionCollection object>¶
- getBoundingCircleOuterDiameter(Tc=None, cold=False)[source]¶
the diameter of a circle which is encompassed by the exterior of the wire-wrap
- getCircleInnerDiameter(Tc=None, cold=False)[source]¶
the diameter of a circle which is encompassed by the interior of the wire-wrap
should be equal to the outer diameter of the pin in which the wire is wrapped around
- DIMENSION_NAMES = ('od', 'axialPitch', 'helixDiameter', 'mult', 'id', 'modArea')¶
- INIT_SIGNATURE = ('name', 'material', 'Tinput', 'Thot', 'od', 'axialPitch', 'helixDiameter', 'mult', 'id', 'modArea', 'isotopics', 'mergeWith', 'components')¶
- paramCollectionType¶
alias of
armi.reactor.parameters.parameterCollections.HelixParameterCollection