Cardinal
HexagonalSubchannelGapMesh.h
Go to the documentation of this file.
1 /********************************************************************/
2 /* SOFTWARE COPYRIGHT NOTIFICATION */
3 /* Cardinal */
4 /* */
5 /* (c) 2021 UChicago Argonne, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by UChicago Argonne, LLC */
9 /* Under Contract No. DE-AC02-06CH11357 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* Prepared by Battelle Energy Alliance, LLC */
13 /* Under Contract No. DE-AC07-05ID14517 */
14 /* With the U. S. Department of Energy */
15 /* */
16 /* See LICENSE for full restrictions */
17 /********************************************************************/
18 
19 #pragma once
20 
22 
32 {
33 public:
34  static InputParameters validParams();
35 
36  HexagonalSubchannelGapMesh(const InputParameters & parameters);
37 
38  virtual std::unique_ptr<MooseMesh> safeClone() const override;
39 
40  virtual void buildMesh() override;
41 
42 protected:
51  void addQuadElem(const Point & pt1,
52  const Point & pt2,
53  const Real & zmin,
54  const Real & zmax,
55  const unsigned int & id);
56 
58  const unsigned int & _n_axial;
59 
61  const Real & _height;
62 
64  const SubdomainID & _interior_id;
65 
67  const SubdomainID & _peripheral_id;
68 
70  const std::vector<std::pair<int, int>> & _gap_indices;
71 };
const std::vector< std::pair< int, int > > & _gap_indices
Pin or side indices corresponding to the gaps.
Definition: HexagonalSubchannelGapMesh.h:70
const unsigned int & _n_axial
Number of axial cells to build.
Definition: HexagonalSubchannelGapMesh.h:58
static InputParameters validParams()
Definition: HexagonalSubchannelGapMesh.C:26
HexagonalSubchannelGapMesh(const InputParameters &parameters)
Definition: HexagonalSubchannelGapMesh.C:41
void addQuadElem(const Point &pt1, const Point &pt2, const Real &zmin, const Real &zmax, const unsigned int &id)
Definition: HexagonalSubchannelGapMesh.C:111
Definition: HexagonalSubchannelGapMesh.h:31
Definition: HexagonalSubchannelMeshBase.h:28
const Real & _height
Height of assembly.
Definition: HexagonalSubchannelGapMesh.h:61
const SubdomainID & _interior_id
Subdomain ID to set for the interior gaps.
Definition: HexagonalSubchannelGapMesh.h:64
virtual std::unique_ptr< MooseMesh > safeClone() const override
Definition: HexagonalSubchannelGapMesh.C:52
virtual void buildMesh() override
Definition: HexagonalSubchannelGapMesh.C:58
const SubdomainID & _peripheral_id
Subdomain ID to set for the peripheral gaps.
Definition: HexagonalSubchannelGapMesh.h:67