Mesh class for triangular, edge and corner subchannels for hexagonal lattice fuel assemblies. More...
#include <TriSubChannelMesh.h>
Public Types | |
| enum | ParallelType { ParallelType::DEFAULT, ParallelType::REPLICATED, ParallelType::DISTRIBUTED } |
| typedef std::pair< const Node *, BoundaryID > | PeriodicNodeInfo |
| typedef DataFileName | DataFileParameterType |
Public Member Functions | |
| TriSubChannelMesh (const InputParameters ¶meters) | |
| TriSubChannelMesh (const TriSubChannelMesh &other_mesh) | |
| std::unique_ptr< MooseMesh > | safeClone () const override |
| void | buildMesh () override |
| void | computeAssemblyHydraulicParameters () |
| Compute undeformed bundle-average inlet hydraulic quantities from generated mesh geometry. More... | |
| Real | getSubchannelFlowArea (unsigned int i_chan, Real z) const override |
| Return undeformed flow area for a subchannel at an axial location, including any blockage reduction. More... | |
| Real | getSubchannelWettedPerimeter (unsigned int i_chan) const override |
| Return undeformed wetted perimeter for a subchannel. More... | |
| unsigned int | getNumOfPins () const override |
| Return the number of pins. More... | |
| Node * | getPinNode (unsigned int i_pin, unsigned int iz) const override |
| Get the pin mesh node for a given pin index and elevation index. More... | |
| const Real & | getDuctToPinGap () const |
| Return the the gap thickness between the duct and peripheral fuel pins. More... | |
| const unsigned int & | getNumOfRings () const |
| Return the number of rings. More... | |
| const unsigned int & | getPinIndex (const unsigned int channel_idx, const unsigned int neighbor_idx) |
| Return Pin index given subchannel index and local neighbor index. More... | |
| const Real & | getWireDiameter () const |
| Return wire diameter. More... | |
| const Real & | getFlatToFlat () const |
| Return flat to flat [m]. More... | |
| const Real & | getWireLeadLength () const |
| Return the wire lead length. More... | |
| Node * | getChannelNode (unsigned int i_chan, unsigned int iz) const override |
| Get the subchannel mesh node for a given channel index and elevation index. More... | |
| unsigned int | getNumOfChannels () const override |
| Return the number of channels per layer. More... | |
| unsigned int | getNumOfGapsPerLayer () const override |
| Return the number of gaps per layer. More... | |
| const std::pair< unsigned int, unsigned int > & | getGapChannels (unsigned int i_gap) const override |
| Return a pair of subchannel indices for a given gap index. More... | |
| const std::pair< unsigned int, unsigned int > & | getGapPins (unsigned int i_gap) const override |
| Return a pair of pin indices for a given gap index. More... | |
| const std::vector< unsigned int > & | getChannelGaps (unsigned int i_chan) const override |
| Return a vector of gap indices for a given channel index. More... | |
| const Real & | getCrossflowSign (unsigned int i_chan, unsigned int i_local) const override |
| Return a sign for the crossflow given a subchannel index and local neighbor index. More... | |
| unsigned int | getSubchannelIndexFromPoint (const Point &p) const override |
Return a subchannel index for a given physical point p More... | |
| unsigned int | channelIndex (const Point &point) const override |
| EChannelType | getSubchannelType (unsigned int index) const override |
| Return the type of the subchannel for given subchannel index. More... | |
| Real | getGapWidth (unsigned int axial_index, unsigned int gap_index) const override |
| Return gap width for a given gap index. More... | |
| void | setGapWidth (unsigned int axial_index, unsigned int gap_index, Real gap_width) |
| Set the gap width for a given axial cell and gap index. More... | |
| const std::pair< unsigned int, unsigned int > & | getSweepFlowGaps (unsigned int i_chan) const |
| const std::pair< unsigned int, unsigned int > & | getSweepFlowChans (unsigned int i_chan) const |
| const std::vector< unsigned int > & | getPinChannels (unsigned int i_pin) const override |
| Return a vector of channel indices for a given Pin index. More... | |
| const std::vector< unsigned int > & | getChannelPins (unsigned int i_chan) const override |
| Return a vector of pin indices for a given channel index. More... | |
| unsigned int | getPinIndexFromPoint (const Point &p) const override |
Return a pin index for a given physical point p More... | |
| unsigned int | pinIndex (const Point &p) const override |
| virtual const std::vector< Real > & | getZGrid () const |
| Get axial location of layers. More... | |
| virtual unsigned int | getZIndex (const Point &point) const |
| Get axial index of point. More... | |
| virtual const std::vector< std::vector< Real > > & | getKGrid () const |
| Get axial cell location and value of loss coefficient. More... | |
| virtual const std::vector< Real > & | getZBlockage () const |
| Get axial location of blockage (in,out) [m]. More... | |
| virtual const std::vector< unsigned int > & | getIndexBlockage () const |
| Get index of blocked subchannels. More... | |
| virtual const std::vector< Real > & | getReductionBlockage () const |
| Get area reduction of blocked subchannels. More... | |
| virtual const Real & | getKij () const |
| Return lateral loss coefficient. More... | |
| virtual unsigned int | getNumOfAxialCells () const |
| Return the number of axial cells. More... | |
| Node * | getChannelNodeFromDuct (Node *duct_node) const |
| Function that gets the channel node from the duct node. More... | |
| Node * | getDuctNodeFromChannel (Node *channel_node) const |
| Function that gets the duct node from the channel node. More... | |
| bool | pinMeshExist () const |
| Return if Pin Mesh exists or not. More... | |
| bool | ductMeshExist () const |
| Return if Duct Mesh exists or not. More... | |
| virtual const Real & | getPitch () const |
| Return the undeformed pitch between 2 subchannels. More... | |
| virtual const Real & | getPinDiameter () const |
| Return undeformed Pin diameter. More... | |
| Real | getAssemblyFlowArea () const |
| Return undeformed bundle inlet flow area. More... | |
| Real | getAssemblyWettedPerimeter () const |
| Return undeformed bundle inlet wetted perimeter. More... | |
| Real | getAssemblyHydraulicDiameter () const |
| Return undeformed bundle-average hydraulic diameter. More... | |
| virtual const Real & | getHeatedLengthEntry () const |
| Return unheated length at entry. More... | |
| virtual const Real & | getHeatedLength () const |
| Return heated length. More... | |
| virtual const Real & | getHeatedLengthExit () const |
| Return unheated length at exit. More... | |
| const std::vector< Node * > & | getDuctNodes () const |
| Function that returns the vector with the duct nodes. More... | |
| void | setChannelToDuctMaps (const std::vector< Node *> &duct_nodes) |
| Function that sets the channel-to-duct maps. More... | |
| virtual MooseMesh & | clone () const |
| void | determineUseDistributedMesh () |
| std::unique_ptr< MeshBase > | buildMeshBaseObject (unsigned int dim=libMesh::invalid_uint) |
| std::unique_ptr< T > | buildTypedMesh (unsigned int dim=libMesh::invalid_uint) |
| void | setMeshBase (std::unique_ptr< MeshBase > mesh_base) |
| virtual void | init () |
| virtual unsigned int | dimension () const |
| virtual unsigned int | spatialDimension () const |
| virtual unsigned int | effectiveSpatialDimension () const |
| unsigned int | getBlocksMaxDimension (const std::vector< SubdomainName > &blocks) const |
| std::vector< BoundaryID > | getBoundaryIDs (const Elem *const elem, const unsigned short int side) const |
| std::vector< std::vector< BoundaryID > > | getBoundaryIDs (const Elem *const elem) const |
| const std::set< BoundaryID > & | getBoundaryIDs () const |
| std::vector< BoundaryID > | getBoundaryIDs (const std::vector< BoundaryName > &boundary_name, bool generate_unknown=false) const |
| const Elem * | getLowerDElem (const Elem *, unsigned short int) const |
| unsigned int | getHigherDSide (const Elem *elem) const |
| void | buildNodeList () |
| void | buildBndElemList () |
| const std::map< dof_id_type, std::vector< dof_id_type > > & | nodeToElemMap () |
| const std::map< dof_id_type, std::vector< dof_id_type > > & | nodeToActiveSemilocalElemMap () |
| virtual bnd_node_iterator | bndNodesBegin () |
| virtual bnd_node_iterator | bndNodesEnd () |
| virtual bnd_elem_iterator | bndElemsBegin () |
| virtual bnd_elem_iterator | bndElemsEnd () |
| void | buildNodeListFromSideList () |
| std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type > > | buildSideList () |
| std::vector< std::tuple< dof_id_type, unsigned short int, boundary_id_type > > | buildActiveSideList () const |
| unsigned int | sideWithBoundaryID (const Elem *const elem, const BoundaryID boundary_id) const |
| MeshBase::node_iterator | localNodesBegin () |
| MeshBase::const_node_iterator | localNodesBegin () const |
| MeshBase::node_iterator | localNodesEnd () |
| MeshBase::const_node_iterator | localNodesEnd () const |
| MeshBase::element_iterator | activeLocalElementsBegin () |
| MeshBase::const_element_iterator | activeLocalElementsBegin () const |
| const MeshBase::element_iterator | activeLocalElementsEnd () |
| const MeshBase::const_element_iterator | activeLocalElementsEnd () const |
| virtual dof_id_type | nNodes () const |
| virtual dof_id_type | nElem () const |
| virtual dof_id_type | nLocalNodes () const |
| virtual dof_id_type | nActiveElem () const |
| virtual dof_id_type | nActiveLocalElem () const |
| virtual SubdomainID | nSubdomains () const |
| virtual unsigned int | nPartitions () const |
| virtual bool | skipPartitioning () const |
| virtual bool | skipNoncriticalPartitioning () const |
| virtual dof_id_type | maxNodeId () const |
| virtual dof_id_type | maxElemId () const |
| virtual const Node & | node (const dof_id_type i) const |
| virtual Node & | node (const dof_id_type i) |
| virtual const Node & | nodeRef (const dof_id_type i) const |
| virtual Node & | nodeRef (const dof_id_type i) |
| virtual const Node * | nodePtr (const dof_id_type i) const |
| virtual Node * | nodePtr (const dof_id_type i) |
| virtual const Node * | queryNodePtr (const dof_id_type i) const |
| virtual Node * | queryNodePtr (const dof_id_type i) |
| virtual Elem * | elem (const dof_id_type i) |
| virtual const Elem * | elem (const dof_id_type i) const |
| virtual Elem * | elemPtr (const dof_id_type i) |
| virtual const Elem * | elemPtr (const dof_id_type i) const |
| virtual Elem * | queryElemPtr (const dof_id_type i) |
| virtual const Elem * | queryElemPtr (const dof_id_type i) const |
| bool | prepared () const |
| virtual void | prepared (bool state) |
| void | needsPrepareForUse () |
| void | meshChanged () |
| virtual void | onMeshChanged () |
| void | cacheChangedLists () |
| ConstElemPointerRange * | refinedElementRange () const |
| ConstElemPointerRange * | coarsenedElementRange () const |
| const std::vector< const Elem *> & | coarsenedElementChildren (const Elem *elem) const |
| void | updateActiveSemiLocalNodeRange (std::set< dof_id_type > &ghosted_elems) |
| bool | isSemiLocal (Node *const node) const |
| const std::unordered_map< boundary_id_type, std::unordered_set< dof_id_type > > & | getBoundariesToElems () const |
| const std::unordered_map< boundary_id_type, std::unordered_set< dof_id_type > > & | getBoundariesToActiveSemiLocalElemIds () const |
| std::unordered_set< dof_id_type > | getBoundaryActiveSemiLocalElemIds (BoundaryID bid) const |
| std::unordered_set< dof_id_type > | getBoundaryActiveNeighborElemIds (BoundaryID bid) const |
| bool | isBoundaryFullyExternalToSubdomains (BoundaryID bid, const std::set< SubdomainID > &blk_group) const |
| const std::set< SubdomainID > & | meshSubdomains () const |
| const std::set< BoundaryID > & | meshBoundaryIds () const |
| const std::set< BoundaryID > & | meshSidesetIds () const |
| const std::set< BoundaryID > & | meshNodesetIds () const |
| void | setBoundaryToNormalMap (std::unique_ptr< std::map< BoundaryID, RealVectorValue >> boundary_map) |
| void | setBoundaryToNormalMap (std::map< BoundaryID, RealVectorValue > *boundary_map) |
| void | setMeshBoundaryIDs (std::set< BoundaryID > boundary_IDs) |
| const RealVectorValue & | getNormalByBoundaryID (BoundaryID id) const |
| bool | prepare (const MeshBase *mesh_to_clone) |
| void | update () |
| unsigned int | uniformRefineLevel () const |
| void | setUniformRefineLevel (unsigned int, bool deletion=true) |
| bool | skipDeletionRepartitionAfterRefine () const |
| bool | skipRefineWhenUseSplit () const |
| void | addGhostedBoundary (BoundaryID boundary_id) |
| void | setGhostedBoundaryInflation (const std::vector< Real > &inflation) |
| const std::set< unsigned int > & | getGhostedBoundaries () const |
| const std::vector< Real > & | getGhostedBoundaryInflation () const |
| void | ghostGhostedBoundaries () |
| void | needGhostGhostedBoundaries (bool needghost) |
| unsigned int | getPatchSize () const |
| unsigned int | getGhostingPatchSize () const |
| unsigned int | getMaxLeafSize () const |
| void | setPatchUpdateStrategy (Moose::PatchUpdateType patch_update_strategy) |
| const Moose::PatchUpdateType & | getPatchUpdateStrategy () const |
| libMesh::BoundingBox | getInflatedProcessorBoundingBox (Real inflation_multiplier=0.01) const |
| operator libMesh::MeshBase & () | |
| operator const libMesh::MeshBase & () const | |
| MeshBase & | getMesh () |
| MeshBase & | getMesh (const std::string &name) |
| const MeshBase & | getMesh () const |
| const MeshBase & | getMesh (const std::string &name) const |
| const MeshBase * | getMeshPtr () const |
| Moose::Kokkos::Mesh * | getKokkosMesh () |
| const Moose::Kokkos::Mesh * | getKokkosMesh () const |
| void | printInfo (std::ostream &os=libMesh::out, const unsigned int verbosity=0) const |
| const std::set< SubdomainID > & | getNodeBlockIds (const Node &node) const |
| const std::vector< dof_id_type > & | getNodeList (boundary_id_type nodeset_id) const |
| const Node * | addUniqueNode (const Point &p, Real tol=1e-6) |
| Node * | addQuadratureNode (const Elem *elem, const unsigned short int side, const unsigned int qp, BoundaryID bid, const Point &point) |
| Node * | getQuadratureNode (const Elem *elem, const unsigned short int side, const unsigned int qp) |
| void | clearQuadratureNodes () |
| BoundaryID | getBoundaryID (const BoundaryName &boundary_name) const |
| SubdomainID | getSubdomainID (const SubdomainName &subdomain_name) const |
| std::vector< SubdomainID > | getSubdomainIDs (const std::vector< SubdomainName > &subdomain_names) const |
| std::set< SubdomainID > | getSubdomainIDs (const std::set< SubdomainName > &subdomain_names) const |
| void | setSubdomainName (SubdomainID subdomain_id, const SubdomainName &name) |
| const std::string & | getSubdomainName (SubdomainID subdomain_id) const |
| std::vector< SubdomainName > | getSubdomainNames (const std::vector< SubdomainID > &subdomain_ids) const |
| void | setBoundaryName (BoundaryID boundary_id, BoundaryName name) |
| const std::string & | getBoundaryName (const BoundaryID boundary_id) const |
| std::string | getBoundaryString (const BoundaryID boundary_id) const |
| void | buildPeriodicNodeMap (std::multimap< dof_id_type, dof_id_type > &periodic_node_map, unsigned int var_number, libMesh::PeriodicBoundaries *pbs) const |
| void | buildPeriodicNodeSets (std::map< BoundaryID, std::set< dof_id_type >> &periodic_node_sets, unsigned int var_number, libMesh::PeriodicBoundaries *pbs) const |
| Real | dimensionWidth (unsigned int component) const |
| bool | detectOrthogonalDimRanges (Real tol=1e-6) |
| void | addPeriodicVariable (const unsigned int sys_num, const unsigned int var_num, const BoundaryID primary, const BoundaryID secondary) |
| const std::array< bool, 3 > & | queryPeriodicDimensions (const unsigned int sys_num, const unsigned int var_num) const |
| const std::array< bool, 3 > & | queryPeriodicDimensions (const MooseVariableBase &var) const |
| bool | isTranslatedPeriodic (const unsigned int sys_num, const unsigned int var_num, const unsigned int component) const |
| bool | isTranslatedPeriodic (const MooseVariableBase &var, const unsigned int component) const |
| bool | isTranslatedPeriodic (const unsigned int var_num, const unsigned int component) const |
| RealVectorValue | minPeriodicVector (const unsigned int sys_num, const unsigned int var_num, Point p, Point q) const |
| RealVectorValue | minPeriodicVector (const MooseVariableBase &var, const Point &p, const Point &q) const |
| RealVectorValue | minPeriodicVector (const unsigned int var_num, const Point &p, const Point &q) const |
| Real | minPeriodicDistance (const unsigned int sys_num, const unsigned int var_num, const Point &p, const Point &q) const |
| Real | minPeriodicDistance (const MooseVariableBase &var, const Point &p, const Point &q) const |
| Real | minPeriodicDistance (const unsigned int var_num, const Point &p, const Point &q) const |
| void | detectPairedSidesets () |
| bool | hasDetectedPairedSidesets () const |
| const std::pair< BoundaryID, BoundaryID > * | getPairedBoundaryMapping (unsigned int component) const |
| void | buildRefinementAndCoarseningMaps (Assembly *assembly) |
| const std::vector< std::vector< QpMap > > & | getRefinementMap (const Elem &elem, int parent_side, int child, int child_side) |
| const std::vector< std::pair< unsigned int, QpMap > > & | getCoarseningMap (const Elem &elem, int input_side) |
| void | changeBoundaryId (const boundary_id_type old_id, const boundary_id_type new_id, bool delete_prev) |
| const std::set< BoundaryID > & | getSubdomainBoundaryIds (const SubdomainID subdomain_id) const |
| std::set< BoundaryID > | getSubdomainInterfaceBoundaryIds (const SubdomainID subdomain_id) const |
| std::set< SubdomainID > | getBoundaryConnectedBlocks (const BoundaryID bid) const |
| std::set< SubdomainID > | getBoundaryConnectedSecondaryBlocks (const BoundaryID bid) const |
| std::set< SubdomainID > | getInterfaceConnectedBlocks (const BoundaryID bid) const |
| const std::set< SubdomainID > & | getBlockConnectedBlocks (const SubdomainID subdomain_id) const |
| bool | isBoundaryNode (dof_id_type node_id) const |
| bool | isBoundaryNode (dof_id_type node_id, BoundaryID bnd_id) const |
| bool | isBoundaryElem (dof_id_type elem_id) const |
| bool | isBoundaryElem (dof_id_type elem_id, BoundaryID bnd_id) const |
| void | errorIfDistributedMesh (std::string name) const |
| virtual bool | isDistributedMesh () const |
| bool | isParallelTypeForced () const |
| void | setParallelType (ParallelType parallel_type) |
| ParallelType | getParallelType () const |
| const MooseEnum & | partitionerName () const |
| bool | isPartitionerForced () const |
| void | allowRecovery (bool allow) |
| void | setCustomPartitioner (libMesh::Partitioner *partitioner) |
| bool | isRegularOrthogonal () |
| bool | hasSecondOrderElements () |
| virtual std::unique_ptr< libMesh::PointLocatorBase > | getPointLocator () const |
| virtual std::string | getFileName () const |
| void | needsRemoteElemDeletion (bool need_delete) |
| bool | needsRemoteElemDeletion () const |
| void | allowRemoteElementRemoval (bool allow_removal) |
| bool | allowRemoteElementRemoval () const |
| void | deleteRemoteElements () |
| bool | hasMeshBase () const |
| bool | hasElementID (const std::string &id_name) const |
| unsigned int | getElementIDIndex (const std::string &id_name) const |
| dof_id_type | maxElementID (unsigned int elem_id_index) const |
| dof_id_type | minElementID (unsigned int elem_id_index) const |
| bool | areElemIDsIdentical (const std::string &id_name1, const std::string &id_name2) const |
| std::set< dof_id_type > | getAllElemIDs (unsigned int elem_id_index) const |
| std::set< dof_id_type > | getElemIDsOnBlocks (unsigned int elem_id_index, const std::set< SubdomainID > &blks) const |
| unsigned int | getMaxSidesPerElem () const |
| unsigned int | getMaxNodesPerElem () const |
| unsigned int | getMaxNodesPerSide () const |
| std::unordered_map< dof_id_type, std::set< dof_id_type > > | getElemIDMapping (const std::string &from_id_name, const std::string &to_id_name) const |
| void | cacheFaceInfoVariableOwnership () const |
| void | cacheFVElementalDoFs () const |
| void | computeFiniteVolumeCoords () const |
| void | isDisplaced (bool is_displaced) |
| bool | isDisplaced () const |
| const std::map< boundary_id_type, std::vector< dof_id_type > > & | nodeSetNodes () const |
| Moose::CoordinateSystemType | getCoordSystem (SubdomainID sid) const |
| const std::map< SubdomainID, Moose::CoordinateSystemType > & | getCoordSystem () const |
| Moose::CoordinateSystemType | getUniqueCoordSystem () const |
| void | setCoordSystem (const std::vector< SubdomainName > &blocks, const MultiMooseEnum &coord_sys) |
| void | setAxisymmetricCoordAxis (const MooseEnum &rz_coord_axis) |
| void | setGeneralAxisymmetricCoordAxes (const std::vector< SubdomainName > &blocks, const std::vector< std::pair< Point, RealVectorValue >> &axes) |
| const std::pair< Point, RealVectorValue > & | getGeneralAxisymmetricCoordAxis (SubdomainID subdomain_id) const |
| bool | usingGeneralAxisymmetricCoordAxes () const |
| unsigned int | getAxisymmetricRadialCoord () const |
| void | checkCoordinateSystems () |
| void | setCoordData (const MooseMesh &other_mesh) |
| void | markFiniteVolumeInfoDirty () |
| bool | isFiniteVolumeInfoDirty () const |
| MooseAppCoordTransform & | coordTransform () |
| const MooseUnits & | lengthUnit () const |
| const std::unordered_map< std::pair< const Elem *, unsigned short int >, const Elem *> & | getLowerDElemMap () const |
| bool | isSplit () const |
| void | buildFiniteVolumeInfo () const |
| void | setupFiniteVolumeMeshData () const |
| void | doingPRefinement (bool doing_p_refinement) |
| bool | doingPRefinement () const |
| unsigned int | maxPLevel () const |
| unsigned int | maxHLevel () const |
| const std::vector< QpMap > & | getPRefinementMap (const Elem &elem) const |
| const std::vector< QpMap > & | getPRefinementSideMap (const Elem &elem) const |
| const std::vector< QpMap > & | getPCoarseningMap (const Elem &elem) const |
| const std::vector< QpMap > & | getPCoarseningSideMap (const Elem &elem) const |
| void | buildPRefinementAndCoarseningMaps (Assembly *assembly) |
| bool | hasLowerD () const |
| const std::set< SubdomainID > & | interiorLowerDBlocks () const |
| const std::set< SubdomainID > & | boundaryLowerDBlocks () const |
| bool | getConstructNodeListFromSideList () |
| bool | getDisplaceNodeListBySideList () |
| virtual bool | enabled () const |
| std::shared_ptr< MooseObject > | getSharedPtr () |
| std::shared_ptr< const MooseObject > | getSharedPtr () const |
| bool | isKokkosObject () const |
| MooseApp & | getMooseApp () const |
| const std::string & | type () const |
| const std::string & | name () const |
| std::string | typeAndName () const |
| MooseObjectParameterName | uniqueParameterName (const std::string ¶meter_name) const |
| MooseObjectName | uniqueName () const |
| const InputParameters & | parameters () const |
| const hit::Node * | getHitNode () const |
| bool | hasBase () const |
| const std::string & | getBase () const |
| const T & | getParam (const std::string &name) const |
| std::vector< std::pair< T1, T2 > > | getParam (const std::string ¶m1, const std::string ¶m2) const |
| const T * | queryParam (const std::string &name) const |
| const T & | getRenamedParam (const std::string &old_name, const std::string &new_name) const |
| T | getCheckedPointerParam (const std::string &name, const std::string &error_string="") const |
| bool | haveParameter (const std::string &name) const |
| bool | isParamValid (const std::string &name) const |
| bool | isParamSetByUser (const std::string &name) const |
| void | connectControllableParams (const std::string ¶meter, const std::string &object_type, const std::string &object_name, const std::string &object_parameter) const |
| void | paramError (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramWarning (const std::string ¶m, Args... args) const |
| void | paramInfo (const std::string ¶m, Args... args) const |
| std::string | messagePrefix (const bool hit_prefix=true) const |
| std::string | errorPrefix (const std::string &) const |
| void | mooseError (Args &&... args) const |
| void | mooseDocumentedError (const std::string &repo_name, const unsigned int issue_num, Args &&... args) const |
| void | mooseErrorNonPrefixed (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarning (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseWarningNonPrefixed (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecated (Args &&... args) const |
| void | mooseDeprecatedNoTrace (Args &&... args) const |
| void | mooseInfo (Args &&... args) const |
| void | callMooseError (std::string msg, const bool with_prefix, const hit::Node *node=nullptr, const bool show_trace=true) const |
| std::string | getDataFileName (const std::string ¶m) const |
| std::string | getDataFileNameByName (const std::string &relative_path) const |
| std::string | getDataFilePath (const std::string &relative_path) const |
| PerfGraph & | perfGraph () |
| libMesh::ConstElemRange * | getActiveLocalElementRange () |
| libMesh::ConstElemRange * | getActiveLocalElementRange () |
| libMesh::NodeRange * | getActiveNodeRange () |
| libMesh::NodeRange * | getActiveNodeRange () |
| SemiLocalNodeRange * | getActiveSemiLocalNodeRange () const |
| SemiLocalNodeRange * | getActiveSemiLocalNodeRange () const |
| libMesh::ConstNodeRange * | getLocalNodeRange () |
| libMesh::ConstNodeRange * | getLocalNodeRange () |
| libMesh::StoredRange< MooseMesh::const_bnd_node_iterator, const BndNode *> * | getBoundaryNodeRange () |
| libMesh::StoredRange< MooseMesh::const_bnd_node_iterator, const BndNode *> * | getBoundaryNodeRange () |
| libMesh::StoredRange< MooseMesh::const_bnd_elem_iterator, const BndElement *> * | getBoundaryElementRange () |
| libMesh::StoredRange< MooseMesh::const_bnd_elem_iterator, const BndElement *> * | getBoundaryElementRange () |
| virtual Real | getMinInDimension (unsigned int component) const |
| virtual Real | getMinInDimension (unsigned int component) const |
| virtual Real | getMaxInDimension (unsigned int component) const |
| virtual Real | getMaxInDimension (unsigned int component) const |
| bool | isCustomPartitionerRequested () const |
| bool | isCustomPartitionerRequested () const |
| void | setIsCustomPartitionerRequested (bool cpr) |
| void | setIsCustomPartitionerRequested (bool cpr) |
| unsigned int | nFace () const |
| unsigned int | nFace () const |
| const std::vector< const FaceInfo *> & | faceInfo () const |
| const FaceInfo * | faceInfo (const Elem *elem, unsigned int side) const |
| const std::vector< const FaceInfo *> & | faceInfo () const |
| const FaceInfo * | faceInfo (const Elem *elem, unsigned int side) const |
| face_info_iterator | ownedFaceInfoBegin () |
| face_info_iterator | ownedFaceInfoBegin () |
| face_info_iterator | ownedFaceInfoEnd () |
| face_info_iterator | ownedFaceInfoEnd () |
| elem_info_iterator | ownedElemInfoBegin () |
| elem_info_iterator | ownedElemInfoBegin () |
| elem_info_iterator | ownedElemInfoEnd () |
| elem_info_iterator | ownedElemInfoEnd () |
| const ElemInfo & | elemInfo (const dof_id_type id) const |
| const ElemInfo & | elemInfo (const dof_id_type id) const |
| const std::vector< const ElemInfo *> & | elemInfoVector () const |
| const std::vector< const ElemInfo *> & | elemInfoVector () const |
| const std::vector< FaceInfo > & | allFaceInfo () const |
| const std::vector< FaceInfo > & | allFaceInfo () const |
| const Parallel::Communicator & | comm () const |
| processor_id_type | n_processors () const |
| processor_id_type | processor_id () const |
Static Public Member Functions | |
| static InputParameters | validParams () |
| static void | pinPositions (std::vector< Point > &positions, unsigned int nrings, Real pitch, Point center) |
| Calculates and stores the pin positions/centers for a hexagonal assembly containing the given number of rings in a triangular/alternating row grid spaced 'pitch' apart. More... | |
| static void | generateZGrid (Real unheated_length_entry, Real heated_length, Real unheated_length_exit, unsigned int n_cells, std::vector< Real > &z_grid) |
| Generate the spacing in z-direction using heated and unteaded lengths. More... | |
| static void | setSubdomainName (MeshBase &mesh, SubdomainID subdomain_id, const SubdomainName &name) |
| static void | changeBoundaryId (MeshBase &mesh, const boundary_id_type old_id, const boundary_id_type new_id, bool delete_prev) |
| static void | callMooseError (MooseApp *const app, const InputParameters ¶ms, std::string msg, const bool with_prefix, const hit::Node *node, const bool show_trace=true) |
| static MooseEnum | partitioning () |
| static MooseEnum | elemTypes () |
| static void | setPartitioner (MeshBase &mesh_base, MooseEnum &partitioner, bool use_distributed_mesh, const InputParameters ¶ms, MooseObject &context_obj) |
Public Attributes | |
| bool | _pin_mesh_exist = false |
| bool | _duct_mesh_exist = false |
| std::vector< std::vector< Real > > | _subchannel_position |
| x,y coordinates of the subchannel centroids More... | |
| usingCombinedWarningSolutionWarnings | |
| const ConsoleStream | _console |
Static Public Attributes | |
| static const unsigned int | N_CORNERS = 6 |
| number of corners in the duct x-sec More... | |
| static const std::array< bool, 3 > | periodic_dim_default |
| static const std::string | type_param |
| static const std::string | name_param |
| static const std::string | unique_name_param |
| static const std::string | app_param |
| static const std::string | moose_base_param |
| static const std::string | kokkos_object_param |
Protected Types | |
| typedef std::vector< BndNode *>::iterator | bnd_node_iterator_imp |
| typedef std::vector< BndNode *>::const_iterator | const_bnd_node_iterator_imp |
| typedef std::vector< BndElement *>::iterator | bnd_elem_iterator_imp |
| typedef std::vector< BndElement *>::const_iterator | const_bnd_elem_iterator_imp |
Protected Member Functions | |
| void | cacheInfo () |
| void | freeBndNodes () |
| void | freeBndElems () |
| void | setPartitionerHelper (MeshBase *mesh=nullptr) |
| void | flagInvalidSolutionInternal (const InvalidSolutionID invalid_solution_id) const |
| InvalidSolutionID | registerInvalidSolutionInternal (const std::string &message, const bool warning) const |
| T & | declareRestartableData (const std::string &data_name, Args &&... args) |
| ManagedValue< T > | declareManagedRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
| const T & | getRestartableData (const std::string &data_name) const |
| T & | declareRestartableDataWithContext (const std::string &data_name, void *context, Args &&... args) |
| T & | declareRecoverableData (const std::string &data_name, Args &&... args) |
| T & | declareRestartableDataWithObjectName (const std::string &data_name, const std::string &object_name, Args &&... args) |
| T & | declareRestartableDataWithObjectNameWithContext (const std::string &data_name, const std::string &object_name, void *context, Args &&... args) |
| std::string | restartableName (const std::string &data_name) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level) const |
| PerfID | registerTimedSection (const std::string §ion_name, const unsigned int level, const std::string &live_message, const bool print_dots=true) const |
| std::string | timedSectionName (const std::string §ion_name) const |
Protected Attributes | |
| unsigned int | _n_rings |
| number of rings of fuel pins More... | |
| unsigned int | _n_channels |
| number of subchannels More... | |
| Real | _flat_to_flat |
| the distance between flat surfaces of the duct facing each other More... | |
| Real | _dwire |
| wire diameter More... | |
| Real | _hwire |
| wire lead length More... | |
| Real | _duct_to_pin_gap |
| the gap thickness between the duct and peripheral fuel pins More... | |
| std::vector< std::vector< Node * > > | _nodes |
| nodes More... | |
| std::vector< std::vector< Node * > > | _pin_nodes |
| pin nodes More... | |
| std::vector< std::pair< unsigned int, unsigned int > > | _gap_to_chan_map |
| stores the channel pairs for each gap More... | |
| std::vector< std::pair< unsigned int, unsigned int > > | _gap_to_pin_map |
| stores the fuel pins belonging to each gap More... | |
| std::vector< std::vector< unsigned int > > | _chan_to_gap_map |
| stores the gaps that forms each subchannel More... | |
| std::vector< std::vector< Real > > | _sign_id_crossflow_map |
| Defines the global cross-flow direction -1 or 1 for each subchannel and for all gaps that are belonging to the corresponding subchannel. More... | |
| std::vector< std::vector< Real > > | _gij_map |
| gap size More... | |
| std::vector< Point > | _pin_position |
| x,y coordinates of the fuel pins More... | |
| std::vector< std::vector< Real > > | _pins_in_rings |
| fuel pins that are belonging to each ring More... | |
| std::vector< std::vector< unsigned int > > | _chan_to_pin_map |
| stores the fuel pins belonging to each subchannel More... | |
| unsigned int | _npins |
| number of fuel pins More... | |
| unsigned int | _n_gaps |
| number of gaps More... | |
| std::vector< EChannelType > | _subch_type |
| subchannel type More... | |
| std::vector< EChannelType > | _gap_type |
| gap type More... | |
| std::vector< std::pair< unsigned int, unsigned int > > | _gap_pairs_sf |
| sweeping flow model gap pairs per channel to specify directional edge flow More... | |
| std::vector< std::pair< unsigned int, unsigned int > > | _chan_pairs_sf |
| sweeping flow model channel pairs to specify directional edge flow More... | |
| std::vector< std::vector< unsigned int > > | _pin_to_chan_map |
| channel indices corresponding to a given pin index More... | |
| Real | _unheated_length_entry |
| unheated length of the fuel Pin at the entry of the assembly More... | |
| Real | _heated_length |
| heated length of the fuel Pin More... | |
| Real | _unheated_length_exit |
| unheated length of the fuel Pin at the exit of the assembly More... | |
| std::vector< Real > | _z_grid |
| axial location of nodes More... | |
| std::vector< std::vector< Real > > | _k_grid |
| axial form loss coefficient per computational cell More... | |
| std::vector< Node * > | _duct_nodes |
| A list of all mesh nodes that form the (elements of) the duct mesh that surrounds the pins/subchannels. More... | |
| std::map< Node *, Node * > | _chan_to_duct_node_map |
| Maps between channel nodes and duct nodes. More... | |
| std::map< Node *, Node * > | _duct_node_to_chan_map |
| std::vector< Real > | _spacer_z |
| axial location of the spacers More... | |
| std::vector< Real > | _spacer_k |
| form loss coefficient of the spacers More... | |
| std::vector< Real > | _z_blockage |
| axial location of blockage (inlet, outlet) [m] More... | |
| std::vector< unsigned int > | _index_blockage |
| index of subchannels affected by blockage More... | |
| std::vector< Real > | _reduction_blockage |
| area reduction of subchannels affected by blockage More... | |
| Real | _kij |
| Lateral form loss coefficient. More... | |
| Real | _pitch |
| Distance between the neighbor fuel pins, pitch. More... | |
| Real | _pin_diameter |
| fuel Pin diameter More... | |
| Real | _assembly_flow_area |
| Undeformed bundle inlet flow area. More... | |
| Real | _assembly_wetted_perimeter |
| Undeformed bundle inlet wetted perimeter. More... | |
| Real | _assembly_hydraulic_diameter |
| Undeformed bundle-average hydraulic diameter. More... | |
| unsigned int | _n_cells |
| number of axial cells More... | |
| X | |
| Y | |
| Z | |
| MIN | |
| MAX | |
| std::vector< std::unique_ptr< libMesh::GhostingFunctor > > | _ghosting_functors |
| std::vector< std::shared_ptr< RelationshipManager > > | _relationship_managers |
| bool | _built_from_other_mesh |
| ParallelType | _parallel_type |
| bool | _use_distributed_mesh |
| bool | _distribution_overridden |
| bool | _parallel_type_overridden |
| std::unique_ptr< libMesh::MeshBase > | _mesh |
| std::unique_ptr< Moose::Kokkos::Mesh > | _kokkos_mesh |
| MooseEnum | _partitioner_name |
| bool | _partitioner_overridden |
| std::unique_ptr< libMesh::Partitioner > | _custom_partitioner |
| bool | _custom_partitioner_requested |
| unsigned int | _uniform_refine_level |
| bool | _skip_refine_when_use_split |
| bool | _skip_deletion_repartition_after_refine |
| bool | _is_changed |
| bool | _is_nemesis |
| bool | _moose_mesh_prepared |
| std::unique_ptr< ConstElemPointerRange > | _refined_elements |
| std::unique_ptr< ConstElemPointerRange > | _coarsened_elements |
| std::map< const Elem *, std::vector< const Elem *> > | _coarsened_element_children |
| std::set< Node *> | _semilocal_node_list |
| std::unique_ptr< libMesh::ConstElemRange > | _active_local_elem_range |
| std::unique_ptr< SemiLocalNodeRange > | _active_semilocal_node_range |
| std::unique_ptr< libMesh::NodeRange > | _active_node_range |
| std::unique_ptr< libMesh::ConstNodeRange > | _local_node_range |
| std::unique_ptr< libMesh::StoredRange< MooseMesh::const_bnd_node_iterator, const BndNode *> > | _bnd_node_range |
| std::unique_ptr< libMesh::StoredRange< MooseMesh::const_bnd_elem_iterator, const BndElement *> > | _bnd_elem_range |
| std::map< dof_id_type, std::vector< dof_id_type > > | _node_to_elem_map |
| bool | _node_to_elem_map_built |
| std::map< dof_id_type, std::vector< dof_id_type > > | _node_to_active_semilocal_elem_map |
| bool | _node_to_active_semilocal_elem_map_built |
| std::set< SubdomainID > | _mesh_subdomains |
| std::unique_ptr< std::map< BoundaryID, RealVectorValue > > | _boundary_to_normal_map |
| std::vector< BndNode *> | _bnd_nodes |
| std::map< boundary_id_type, std::set< dof_id_type > > | _bnd_node_ids |
| std::vector< BndElement *> | _bnd_elems |
| std::unordered_map< boundary_id_type, std::unordered_set< dof_id_type > > | _bnd_elem_ids |
| std::map< dof_id_type, Node *> | _quadrature_nodes |
| std::map< dof_id_type, std::map< unsigned int, std::map< dof_id_type, Node *> > > | _elem_to_side_to_qp_to_quadrature_nodes |
| std::vector< BndNode > | _extra_bnd_nodes |
| std::map< dof_id_type, std::set< SubdomainID > > | _block_node_list |
| std::map< boundary_id_type, std::vector< dof_id_type > > | _node_set_nodes |
| std::set< unsigned int > | _ghosted_boundaries |
| std::vector< Real > | _ghosted_boundaries_inflation |
| unsigned int | _patch_size |
| unsigned int | _ghosting_patch_size |
| unsigned int | _max_leaf_size |
| Moose::PatchUpdateType | _patch_update_strategy |
| std::vector< Node *> | _node_map |
| bool | _regular_orthogonal_mesh |
| std::vector< std::vector< Real > > | _bounds |
| std::optional< std::vector< std::pair< BoundaryID, BoundaryID > > > | _paired_boundary |
| const bool | _is_split |
| const bool & | _enabled |
| MooseApp & | _app |
| Factory & | _factory |
| ActionFactory & | _action_factory |
| const std::string & | _type |
| const std::string & | _name |
| const InputParameters & | _pars |
| MooseApp & | _restartable_app |
| const std::string | _restartable_system_name |
| const THREAD_ID | _restartable_tid |
| const bool | _restartable_read_only |
| MooseApp & | _pg_moose_app |
| const std::string | _prefix |
| std::set< BoundaryID > | _mesh_boundary_ids |
| std::set< BoundaryID > | _mesh_sideset_ids |
| std::set< BoundaryID > | _mesh_nodeset_ids |
| const Parallel::Communicator & | _communicator |
Friends | |
| class | SCMTriSubChannelMeshGenerator |
| class | SCMTriDuctMeshGenerator |
| class | SCMTriPinMeshGenerator |
| class | SCMDetailedTriPinMeshGenerator |
Mesh class for triangular, edge and corner subchannels for hexagonal lattice fuel assemblies.
Definition at line 22 of file TriSubChannelMesh.h.
| TriSubChannelMesh::TriSubChannelMesh | ( | const InputParameters & | parameters | ) |
Definition at line 25 of file TriSubChannelMesh.C.
| TriSubChannelMesh::TriSubChannelMesh | ( | const TriSubChannelMesh & | other_mesh | ) |
Definition at line 27 of file TriSubChannelMesh.C.
|
overridevirtual |
|
overridevirtual |
Function that returns the subchannel index given a point Determining a channel index given a point Looping over all subchannels to determine the closest one to the point Special treatment for edge and corner subchannels since deformed elements may lead to wrong transfers
Implements SubChannelMesh.
Definition at line 68 of file TriSubChannelMesh.C.
Referenced by getSubchannelIndexFromPoint().
| void TriSubChannelMesh::computeAssemblyHydraulicParameters | ( | ) |
Compute undeformed bundle-average inlet hydraulic quantities from generated mesh geometry.
Definition at line 156 of file TriSubChannelMesh.C.
|
inlineinherited |
|
staticinherited |
Generate the spacing in z-direction using heated and unteaded lengths.
Definition at line 58 of file SubChannelMesh.C.
Referenced by SCMQuadDuctMeshGenerator::SCMQuadDuctMeshGenerator(), SCMQuadSubChannelMeshGenerator::SCMQuadSubChannelMeshGenerator(), SCMTriDuctMeshGenerator::SCMTriDuctMeshGenerator(), and SCMTriSubChannelMeshGenerator::SCMTriSubChannelMeshGenerator().
|
inlineinherited |
Return undeformed bundle inlet flow area.
Definition at line 152 of file SubChannelMesh.h.
Referenced by SubChannel1PhaseProblem::externalSolve().
|
inlineinherited |
Return undeformed bundle-average hydraulic diameter.
Definition at line 162 of file SubChannelMesh.h.
Referenced by SubChannel1PhaseProblem::externalSolve().
|
inlineinherited |
Return undeformed bundle inlet wetted perimeter.
Definition at line 157 of file SubChannelMesh.h.
|
inlineoverridevirtual |
Return a vector of gap indices for a given channel index.
Implements SubChannelMesh.
Definition at line 98 of file TriSubChannelMesh.h.
|
inlineoverridevirtual |
Get the subchannel mesh node for a given channel index and elevation index.
Implements SubChannelMesh.
Definition at line 79 of file TriSubChannelMesh.h.
|
inherited |
Function that gets the channel node from the duct node.
Definition at line 104 of file SubChannelMesh.C.
Referenced by SubChannel1PhaseProblem::externalSolve().
|
inlineoverridevirtual |
Return a vector of pin indices for a given channel index.
Implements SubChannelMesh.
Definition at line 141 of file TriSubChannelMesh.h.
Referenced by SCMTriPowerAux::computeValue(), and SCMTriPowerIC::value().
|
inlineoverridevirtual |
Return a sign for the crossflow given a subchannel index and local neighbor index.
Implements SubChannelMesh.
Definition at line 103 of file TriSubChannelMesh.h.
|
inherited |
Function that gets the duct node from the channel node.
Definition at line 97 of file SubChannelMesh.C.
Referenced by SubChannel1PhaseProblem::computeAddedHeatDuct().
|
inlineinherited |
Function that returns the vector with the duct nodes.
Definition at line 223 of file SubChannelMesh.h.
Referenced by SubChannel1PhaseProblem::externalSolve().
|
inline |
Return the the gap thickness between the duct and peripheral fuel pins.
Definition at line 49 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), SCMFrictionUpdatedChengTodreas::computeTriLatticeFrictionFactor(), TriSubChannel1PhaseProblem::getSubChannelPeripheralDuctWidth(), TriSubChannel1PhaseProblem::initializeSolution(), MarvelTriWettedPerimIC::value(), and MarvelTriFlowAreaIC::value().
|
inline |
Return flat to flat [m].
Definition at line 72 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::initializeSolution().
|
inlineoverridevirtual |
Return a pair of subchannel indices for a given gap index.
Implements SubChannelMesh.
Definition at line 88 of file TriSubChannelMesh.h.
|
inlineoverridevirtual |
Return a pair of pin indices for a given gap index.
Implements SubChannelMesh.
Definition at line 93 of file TriSubChannelMesh.h.
|
inlineoverridevirtual |
Return gap width for a given gap index.
Implements SubChannelMesh.
Definition at line 113 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::initializeSolution().
|
inlinevirtualinherited |
Return heated length.
Definition at line 188 of file SubChannelMesh.h.
Referenced by QuadSubChannel1PhaseProblem::computeAddedHeatPin(), TriSubChannel1PhaseProblem::computeAddedHeatPin(), SCMTriPowerAux::computeValue(), SCMQuadPowerAux::computeValue(), SCMPlanarMean::execute(), SCMPinSurfaceTemperature::execute(), SCMQuadPowerIC::initialSetup(), SCMQuadPowerAux::initialSetup(), SCMTriPowerIC::initialSetup(), SCMTriPowerAux::initialSetup(), QuadSubChannelNormalSliceValues::output(), SCMQuadPowerIC::SCMQuadPowerIC(), SCMTriPowerIC::SCMTriPowerIC(), FCTFdisplacementIC::value(), SCMQuadPowerIC::value(), and SCMTriPowerIC::value().
|
inlinevirtualinherited |
Return unheated length at entry.
Definition at line 183 of file SubChannelMesh.h.
Referenced by QuadSubChannel1PhaseProblem::computeAddedHeatPin(), TriSubChannel1PhaseProblem::computeAddedHeatPin(), SCMTriPowerAux::computeValue(), SCMQuadPowerAux::computeValue(), SCMPinSurfaceTemperature::execute(), SCMPlanarMean::execute(), SCMQuadPowerIC::initialSetup(), SCMQuadPowerAux::initialSetup(), SCMTriPowerIC::initialSetup(), SCMTriPowerAux::initialSetup(), QuadSubChannelNormalSliceValues::output(), SCMQuadPowerIC::value(), FCTFdisplacementIC::value(), and SCMTriPowerIC::value().
|
inlinevirtualinherited |
Return unheated length at exit.
Definition at line 193 of file SubChannelMesh.h.
Referenced by SCMPinSurfaceTemperature::execute(), SCMPlanarMean::execute(), and QuadSubChannelNormalSliceValues::output().
|
inlinevirtualinherited |
Get index of blocked subchannels.
Definition at line 51 of file SubChannelMesh.h.
Referenced by QuadSubChannel1PhaseProblem::initializeSolution(), TriSubChannel1PhaseProblem::initializeSolution(), and MarvelTriFlowAreaIC::value().
|
inlinevirtualinherited |
Get axial cell location and value of loss coefficient.
Definition at line 41 of file SubChannelMesh.h.
Referenced by SubChannel1PhaseProblem::computeDP().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Return the number of axial cells.
Definition at line 66 of file SubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMPlanarMean::execute(), SCMPinSurfaceTemperature::execute(), SubChannelDelta::execute(), SCMDuctHeatRatePostprocessor::execute(), SCMTHPowerPostprocessor::execute(), SCMPinPowerPostprocessor::execute(), SCMQuadPowerIC::initialSetup(), SCMTriPowerIC::initialSetup(), SCMTriPowerAux::initialSetup(), SCMQuadPowerAux::initialSetup(), QuadSubChannelNormalSliceValues::output(), and SubChannel1PhaseProblem::SubChannel1PhaseProblem().
|
inlineoverridevirtual |
Return the number of channels per layer.
Implements SubChannelMesh.
Definition at line 84 of file TriSubChannelMesh.h.
|
inlineoverridevirtual |
Return the number of gaps per layer.
Implements SubChannelMesh.
Definition at line 86 of file TriSubChannelMesh.h.
|
inlineoverridevirtual |
Return the number of pins.
Implements SubChannelMesh.
Definition at line 39 of file TriSubChannelMesh.h.
Referenced by SCMTriPowerAux::initialSetup(), SCMTriPowerIC::initialSetup(), SCMTriPowerAux::SCMTriPowerAux(), and SCMTriPowerIC::SCMTriPowerIC().
|
inline |
Return the number of rings.
Definition at line 54 of file TriSubChannelMesh.h.
Referenced by SCMMixingChengTodreas::computeMixingParameter(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), TriSubChannel1PhaseProblem::initializeSolution(), SCMFrictionUpdatedChengTodreas::SCMFrictionUpdatedChengTodreas(), and SCMMixingChengTodreas::SCMMixingChengTodreas().
|
inlineoverridevirtual |
Return a vector of channel indices for a given Pin index.
Implements SubChannelMesh.
Definition at line 136 of file TriSubChannelMesh.h.
|
inlinevirtualinherited |
Return undeformed Pin diameter.
Definition at line 147 of file SubChannelMesh.h.
Referenced by SubChannelAddInitialConditionsAction::act(), TriSubChannel1PhaseProblem::computeh(), SCMMixingKimAndChung::computeLatticeMixingParameter(), SCMMixingChengTodreas::computeMixingParameter(), SCMHTCClosureBase::computeNusseltNumberPreInfo(), SCMFrictionUpdatedChengTodreas::computeQuadLatticeFrictionFactor(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), SCMFrictionUpdatedChengTodreas::computeTriLatticeFrictionFactor(), SubChannel1PhaseProblem::detectDeformation(), TriSubChannel1PhaseProblem::getSubChannelPeripheralDuctWidth(), TriSubChannel1PhaseProblem::initializeSolution(), SCMFrictionUpdatedChengTodreas::SCMFrictionUpdatedChengTodreas(), SCMMixingChengTodreas::SCMMixingChengTodreas(), MarvelTriWettedPerimIC::value(), and MarvelTriFlowAreaIC::value().
|
inline |
Return Pin index given subchannel index and local neighbor index.
Definition at line 59 of file TriSubChannelMesh.h.
|
overridevirtual |
Return a pin index for a given physical point p
Function that returns the pin number given a point
Implements SubChannelMesh.
Definition at line 239 of file TriSubChannelMesh.C.
Referenced by SCMTriPowerAux::computeValue(), and SCMTriPowerIC::value().
|
inlineoverridevirtual |
Get the pin mesh node for a given pin index and elevation index.
Implements SubChannelMesh.
Definition at line 41 of file TriSubChannelMesh.h.
|
inlinevirtualinherited |
Return the undeformed pitch between 2 subchannels.
Reimplemented in QuadSubChannelMesh.
Definition at line 142 of file SubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMMixingChengTodreas::computeMixingParameter(), SCMHTCClosureBase::computeNusseltNumberPreInfo(), SCMFrictionUpdatedChengTodreas::computeQuadLatticeFrictionFactor(), SCMMixingKimAndChung::computeQuadLatticeMixingParameter(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), SCMFrictionUpdatedChengTodreas::computeTriLatticeFrictionFactor(), SCMMixingKimAndChung::computeTriLatticeMixingParameter(), SubChannel1PhaseProblem::computeWijResidual(), TriSubChannel1PhaseProblem::getSubChannelPeripheralDuctWidth(), TriSubChannel1PhaseProblem::initializeSolution(), SCMFrictionUpdatedChengTodreas::SCMFrictionUpdatedChengTodreas(), SCMMixingChengTodreas::SCMMixingChengTodreas(), MarvelTriWettedPerimIC::value(), FCTFdisplacementIC::value(), and MarvelTriFlowAreaIC::value().
|
inlinevirtualinherited |
Get area reduction of blocked subchannels.
Definition at line 56 of file SubChannelMesh.h.
Referenced by QuadSubChannel1PhaseProblem::initializeSolution(), TriSubChannel1PhaseProblem::initializeSolution(), and MarvelTriFlowAreaIC::value().
Return undeformed flow area for a subchannel at an axial location, including any blockage reduction.
Implements SubChannelMesh.
Definition at line 177 of file TriSubChannelMesh.C.
Referenced by computeAssemblyHydraulicParameters(), and SCMTriFlowAreaIC::value().
|
overridevirtual |
Return a subchannel index for a given physical point p
Function that returns the subchannel index given a point
Implements SubChannelMesh.
Definition at line 61 of file TriSubChannelMesh.C.
Referenced by SCMTriPowerAux::computeValue(), MarvelTriWettedPerimIC::value(), SCMTriWettedPerimIC::value(), FCTFdisplacementIC::value(), SCMTriPowerIC::value(), SCMTriFlowAreaIC::value(), and MarvelTriFlowAreaIC::value().
|
inlineoverridevirtual |
Return the type of the subchannel for given subchannel index.
Implements SubChannelMesh.
Definition at line 111 of file TriSubChannelMesh.h.
Referenced by SCMTriPowerAux::computeValue(), getSubchannelFlowArea(), getSubchannelWettedPerimeter(), MarvelTriWettedPerimIC::value(), FCTFdisplacementIC::value(), SCMTriPowerIC::value(), and MarvelTriFlowAreaIC::value().
Return undeformed wetted perimeter for a subchannel.
Implements SubChannelMesh.
Definition at line 220 of file TriSubChannelMesh.C.
Referenced by computeAssemblyHydraulicParameters(), and SCMTriWettedPerimIC::value().
|
inline |
Definition at line 131 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh().
|
inline |
Definition at line 126 of file TriSubChannelMesh.h.
|
inline |
Return wire diameter.
Definition at line 67 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMMixingChengTodreas::computeMixingParameter(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), SCMFrictionUpdatedChengTodreas::computeTriLatticeFrictionFactor(), TriSubChannel1PhaseProblem::initializeSolution(), SCMFrictionUpdatedChengTodreas::SCMFrictionUpdatedChengTodreas(), SCMMixingChengTodreas::SCMMixingChengTodreas(), MarvelTriWettedPerimIC::value(), and MarvelTriFlowAreaIC::value().
|
inline |
Return the wire lead length.
Definition at line 77 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMMixingChengTodreas::computeMixingParameter(), SCMMixingChengTodreas::computeSweepFlowMixingParameter(), SCMFrictionUpdatedChengTodreas::computeTriLatticeFrictionFactor(), TriSubChannel1PhaseProblem::initializeSolution(), SCMFrictionUpdatedChengTodreas::SCMFrictionUpdatedChengTodreas(), SCMMixingChengTodreas::SCMMixingChengTodreas(), MarvelTriWettedPerimIC::value(), and MarvelTriFlowAreaIC::value().
|
inlinevirtualinherited |
Get axial location of blockage (in,out) [m].
Definition at line 46 of file SubChannelMesh.h.
Referenced by QuadSubChannel1PhaseProblem::initializeSolution(), TriSubChannel1PhaseProblem::initializeSolution(), and MarvelTriFlowAreaIC::value().
|
inlinevirtualinherited |
Get axial location of layers.
Definition at line 31 of file SubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::computeh(), SCMPinSurfaceTemperature::execute(), SCMPlanarMean::execute(), SCMQuadPowerIC::initialSetup(), SCMTriPowerAux::initialSetup(), SCMQuadPowerAux::initialSetup(), SCMTriPowerIC::initialSetup(), QuadSubChannelNormalSliceValues::output(), and SubChannel1PhaseProblem::SubChannel1PhaseProblem().
|
virtualinherited |
Get axial index of point.
Definition at line 71 of file SubChannelMesh.C.
Referenced by SubChannel1PhaseProblem::externalSolve(), SCMSolutionTransfer::getFromNode(), SCMPinSolutionTransfer::getFromNode(), and SubChannelMesh::setChannelToDuctMaps().
|
overridevirtual |
Function that returns the pin number given a point
Implements SubChannelMesh.
Definition at line 247 of file TriSubChannelMesh.C.
Referenced by getPinIndexFromPoint().
|
inlineinherited |
Return if Pin Mesh exists or not.
Definition at line 96 of file SubChannelMesh.h.
Referenced by SubChannelAddInitialConditionsAction::act(), SCMQuadPowerAux::computeValue(), SCMTriPowerAux::computeValue(), SCMPinSurfaceTemperature::SCMPinSurfaceTemperature(), SCMQuadPowerIC::value(), and SCMTriPowerIC::value().
|
static |
Calculates and stores the pin positions/centers for a hexagonal assembly containing the given number of rings in a triangular/alternating row grid spaced 'pitch' apart.
The points are generated such that the duct is centered at the given center point.
Defining parameters
Definition at line 275 of file TriSubChannelMesh.C.
Referenced by SCMDetailedTriPinMeshGenerator::generate(), SCMTriPinMeshGenerator::generate(), pinIndex(), SCMDetailedTriSubChannelMeshGenerator::SCMDetailedTriSubChannelMeshGenerator(), SCMTriSubChannelMeshGenerator::SCMTriSubChannelMeshGenerator(), and TEST().
|
overridevirtual |
Implements MooseMesh.
Definition at line 55 of file TriSubChannelMesh.C.
|
inherited |
Function that sets the channel-to-duct maps.
Definition at line 111 of file SubChannelMesh.C.
Referenced by SCMQuadDuctMeshGenerator::generate(), and SCMTriDuctMeshGenerator::generate().
|
inline |
Set the gap width for a given axial cell and gap index.
Definition at line 121 of file TriSubChannelMesh.h.
Referenced by TriSubChannel1PhaseProblem::initializeSolution().
|
static |
Definition at line 17 of file TriSubChannelMesh.C.
|
friend |
Definition at line 226 of file TriSubChannelMesh.h.
|
friend |
Definition at line 224 of file TriSubChannelMesh.h.
|
friend |
Definition at line 225 of file TriSubChannelMesh.h.
|
friend |
Definition at line 223 of file TriSubChannelMesh.h.
|
protectedinherited |
Undeformed bundle inlet flow area.
Definition at line 273 of file SubChannelMesh.h.
Referenced by computeAssemblyHydraulicParameters(), QuadSubChannelMesh::computeAssemblyHydraulicParameters(), and SubChannelMesh::getAssemblyFlowArea().
|
protectedinherited |
Undeformed bundle-average hydraulic diameter.
Definition at line 277 of file SubChannelMesh.h.
Referenced by computeAssemblyHydraulicParameters(), QuadSubChannelMesh::computeAssemblyHydraulicParameters(), and SubChannelMesh::getAssemblyHydraulicDiameter().
|
protectedinherited |
Undeformed bundle inlet wetted perimeter.
Definition at line 275 of file SubChannelMesh.h.
Referenced by computeAssemblyHydraulicParameters(), QuadSubChannelMesh::computeAssemblyHydraulicParameters(), and SubChannelMesh::getAssemblyWettedPerimeter().
sweeping flow model channel pairs to specify directional edge flow
Definition at line 206 of file TriSubChannelMesh.h.
Referenced by getSweepFlowChans().
|
protectedinherited |
Maps between channel nodes and duct nodes.
Definition at line 251 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getDuctNodeFromChannel(), and SubChannelMesh::setChannelToDuctMaps().
|
protected |
stores the gaps that forms each subchannel
Definition at line 173 of file TriSubChannelMesh.h.
Referenced by getChannelGaps().
|
protected |
stores the fuel pins belonging to each subchannel
Definition at line 191 of file TriSubChannelMesh.h.
Referenced by getChannelPins(), and getPinIndex().
|
inherited |
Definition at line 231 of file SubChannelMesh.h.
Referenced by SubChannelMesh::ductMeshExist(), and SubChannelMesh::setChannelToDuctMaps().
|
protectedinherited |
Definition at line 252 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getChannelNodeFromDuct(), and SubChannelMesh::setChannelToDuctMaps().
|
protectedinherited |
A list of all mesh nodes that form the (elements of) the duct mesh that surrounds the pins/subchannels.
Definition at line 248 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getDuctNodes(), and SubChannelMesh::setChannelToDuctMaps().
|
protected |
the gap thickness between the duct and peripheral fuel pins
Definition at line 161 of file TriSubChannelMesh.h.
Referenced by channelIndex(), getDuctToPinGap(), getSubchannelFlowArea(), and getSubchannelWettedPerimeter().
|
protected |
wire diameter
Definition at line 157 of file TriSubChannelMesh.h.
Referenced by getSubchannelFlowArea(), getSubchannelWettedPerimeter(), and getWireDiameter().
|
protected |
the distance between flat surfaces of the duct facing each other
Definition at line 155 of file TriSubChannelMesh.h.
Referenced by channelIndex(), and getFlatToFlat().
sweeping flow model gap pairs per channel to specify directional edge flow
Definition at line 204 of file TriSubChannelMesh.h.
Referenced by getSweepFlowGaps().
stores the channel pairs for each gap
Definition at line 169 of file TriSubChannelMesh.h.
Referenced by getGapChannels().
stores the fuel pins belonging to each gap
Definition at line 171 of file TriSubChannelMesh.h.
Referenced by getGapPins().
|
protected |
gap type
Definition at line 201 of file TriSubChannelMesh.h.
|
protected |
gap size
Definition at line 182 of file TriSubChannelMesh.h.
Referenced by getGapWidth(), and setGapWidth().
|
protectedinherited |
heated length of the fuel Pin
Definition at line 237 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getHeatedLength().
|
protected |
wire lead length
Definition at line 159 of file TriSubChannelMesh.h.
Referenced by getSubchannelFlowArea(), getSubchannelWettedPerimeter(), and getWireLeadLength().
|
protectedinherited |
index of subchannels affected by blockage
Definition at line 262 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getIndexBlockage(), getSubchannelFlowArea(), and QuadSubChannelMesh::getSubchannelFlowArea().
|
protectedinherited |
axial form loss coefficient per computational cell
Definition at line 244 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getKGrid().
|
protectedinherited |
Lateral form loss coefficient.
Definition at line 267 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getKij().
|
protectedinherited |
number of axial cells
Definition at line 280 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getNumOfAxialCells().
|
protected |
number of subchannels
Definition at line 153 of file TriSubChannelMesh.h.
Referenced by channelIndex(), computeAssemblyHydraulicParameters(), and getNumOfChannels().
|
protected |
number of gaps
Definition at line 196 of file TriSubChannelMesh.h.
Referenced by getNumOfGapsPerLayer().
|
protected |
number of rings of fuel pins
Definition at line 151 of file TriSubChannelMesh.h.
Referenced by channelIndex(), getNumOfRings(), and pinIndex().
|
protected |
|
protected |
number of fuel pins
Definition at line 194 of file TriSubChannelMesh.h.
Referenced by getNumOfPins(), and pinIndex().
|
protectedinherited |
fuel Pin diameter
Definition at line 271 of file SubChannelMesh.h.
Referenced by channelIndex(), SubChannelMesh::getPinDiameter(), getSubchannelFlowArea(), QuadSubChannelMesh::getSubchannelFlowArea(), getSubchannelWettedPerimeter(), and QuadSubChannelMesh::getSubchannelWettedPerimeter().
|
inherited |
Definition at line 230 of file SubChannelMesh.h.
Referenced by SubChannelMesh::pinMeshExist().
|
protected |
pin nodes
Definition at line 166 of file TriSubChannelMesh.h.
Referenced by SCMTriPinMeshGenerator::generate(), and getPinNode().
|
protected |
x,y coordinates of the fuel pins
Definition at line 185 of file TriSubChannelMesh.h.
|
protected |
channel indices corresponding to a given pin index
Definition at line 209 of file TriSubChannelMesh.h.
Referenced by getPinChannels().
|
protected |
fuel pins that are belonging to each ring
Definition at line 188 of file TriSubChannelMesh.h.
|
protectedinherited |
Distance between the neighbor fuel pins, pitch.
Definition at line 269 of file SubChannelMesh.h.
Referenced by QuadSubChannelMesh::channelIndex(), channelIndex(), QuadSubChannelMesh::getPinIndexFromPoint(), QuadSubChannelMesh::getPitch(), SubChannelMesh::getPitch(), getSubchannelFlowArea(), QuadSubChannelMesh::getSubchannelFlowArea(), QuadSubChannelMesh::getSubchannelIndexFromPoint(), getSubchannelWettedPerimeter(), QuadSubChannelMesh::getSubchannelWettedPerimeter(), QuadSubChannelMesh::pinIndex(), and pinIndex().
|
protectedinherited |
area reduction of subchannels affected by blockage
Definition at line 264 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getReductionBlockage(), getSubchannelFlowArea(), and QuadSubChannelMesh::getSubchannelFlowArea().
|
protected |
Defines the global cross-flow direction -1 or 1 for each subchannel and for all gaps that are belonging to the corresponding subchannel.
Given a subchannel and a gap, if the neighbor subchannel index belonging to the same gap is lower, set it to -1, otherwise set it to 1.
Definition at line 179 of file TriSubChannelMesh.h.
Referenced by getCrossflowSign().
|
protectedinherited |
form loss coefficient of the spacers
Definition at line 257 of file SubChannelMesh.h.
|
protectedinherited |
axial location of the spacers
Definition at line 255 of file SubChannelMesh.h.
|
protected |
subchannel type
Definition at line 199 of file TriSubChannelMesh.h.
Referenced by channelIndex(), and getSubchannelType().
|
inherited |
x,y coordinates of the subchannel centroids
Definition at line 284 of file SubChannelMesh.h.
Referenced by channelIndex(), SubChannelMesh::setChannelToDuctMaps(), SubChannelMesh::SubChannelMesh(), and SubChannelPointValue::SubChannelPointValue().
|
protectedinherited |
unheated length of the fuel Pin at the entry of the assembly
Definition at line 235 of file SubChannelMesh.h.
Referenced by SCMTriSubChannelMeshGenerator::generate(), SCMQuadSubChannelMeshGenerator::generate(), and SubChannelMesh::getHeatedLengthEntry().
|
protectedinherited |
unheated length of the fuel Pin at the exit of the assembly
Definition at line 239 of file SubChannelMesh.h.
Referenced by SubChannelMesh::getHeatedLengthExit().
|
protectedinherited |
axial location of blockage (inlet, outlet) [m]
Definition at line 260 of file SubChannelMesh.h.
Referenced by getSubchannelFlowArea(), QuadSubChannelMesh::getSubchannelFlowArea(), and SubChannelMesh::getZBlockage().
|
protectedinherited |
axial location of nodes
Definition at line 242 of file SubChannelMesh.h.
Referenced by computeAssemblyHydraulicParameters(), QuadSubChannelMesh::computeAssemblyHydraulicParameters(), SubChannelMesh::getZGrid(), SubChannelMesh::getZIndex(), and SubChannelMesh::setChannelToDuctMaps().
|
static |
number of corners in the duct x-sec
Definition at line 229 of file TriSubChannelMesh.h.
Referenced by SCMTriDuctMeshGenerator::ductCorners().
1.8.14