Cardinal
|
#include <HexagonalSubchannelGapMesh.h>
Public Member Functions | |
HexagonalSubchannelGapMesh (const InputParameters ¶meters) | |
virtual std::unique_ptr< MooseMesh > | safeClone () const override |
virtual void | buildMesh () override |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
void | addQuadElem (const Point &pt1, const Point &pt2, const Real &zmin, const Real &zmax, const unsigned int &id) |
const Point | rotatePoint (const Point &p, const Real &theta) const |
Protected Attributes | |
const unsigned int & | _n_axial |
Number of axial cells to build. More... | |
const Real & | _height |
Height of assembly. More... | |
const SubdomainID & | _interior_id |
Subdomain ID to set for the interior gaps. More... | |
const SubdomainID & | _peripheral_id |
Subdomain ID to set for the peripheral gaps. More... | |
const std::vector< std::pair< int, int > > & | _gap_indices |
Pin or side indices corresponding to the gaps. More... | |
const Real & | _bundle_pitch |
Bundle pitch (distance across bundle measured flat-to-flat on the inside of the duct) More... | |
const Real & | _pin_pitch |
Pin pitch. More... | |
const Real & | _pin_diameter |
Pin diameter. More... | |
const unsigned int & | _n_rings |
Total number of rings of pins. More... | |
const unsigned int | _axis |
Vertical axis of the bundle along which the pins are aligned. More... | |
HexagonalLatticeUtils | _hex_lattice |
Utility providing hexagonal lattice geometry calculations. More... | |
const std::vector< Point > & | _pin_centers |
Coordinates for the pin centers. More... | |
int | _elem_id_counter |
Element ID. More... | |
int | _node_id_counter |
Node ID. More... | |
Static Protected Attributes | |
static const Real | SIN30 = 0.5 |
static const Real | COS30 = std::sqrt(3.0) / 2.0 |
static const unsigned int | NODES_PER_PRISM = 6 |
Number of nodes per prism6 element. More... | |
static const unsigned int | NUM_SIDES = 6 |
Number of sides in a hexagon. More... | |
Mesh of the gaps in a triangular lattice of pins enclosed in a hexagonal duct; this mesh should ONLY be used for visualization purposes - there is no node connectivity, so you cannot solve any continuous finite element problems on this mesh (nor it is recommended because the element creation pays no attention to normal physics requirements/recommendation, like resolving near boundaries or using near-equal element sizes).
HexagonalSubchannelGapMesh::HexagonalSubchannelGapMesh | ( | const InputParameters & | parameters | ) |
|
protected |
Add a QUAD4 element
[in] | pt1 | corner point on the z=0 plane |
[in] | pt2 | corner point on the z=0 plane |
[in] | zmin | lower z coordinate for the element |
[in] | zmax | upper z coordinate for the element |
[in] | id | element subdomain ID |
|
overridevirtual |
|
protectedinherited |
Rotate a point counterclockwise about the z axis
[in] | p | point |
[in] | theta | angle (radians) by which to rotate |
|
overridevirtual |
|
static |
|
protectedinherited |
Vertical axis of the bundle along which the pins are aligned.
|
protectedinherited |
Bundle pitch (distance across bundle measured flat-to-flat on the inside of the duct)
|
protectedinherited |
Element ID.
|
protected |
Pin or side indices corresponding to the gaps.
|
protected |
Height of assembly.
|
protectedinherited |
Utility providing hexagonal lattice geometry calculations.
|
protected |
Subdomain ID to set for the interior gaps.
|
protected |
Number of axial cells to build.
|
protectedinherited |
Total number of rings of pins.
|
protectedinherited |
Node ID.
|
protected |
Subdomain ID to set for the peripheral gaps.
|
protectedinherited |
Coordinates for the pin centers.
|
protectedinherited |
Pin diameter.
|
protectedinherited |
Pin pitch.
|
staticprotectedinherited |
|
staticprotectedinherited |
Number of nodes per prism6 element.
|
staticprotectedinherited |
Number of sides in a hexagon.
|
staticprotectedinherited |