https://mooseframework.inl.gov
HeatStructure2DCouplerBase.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "BoundaryBase.h"
13 #include "MeshAlignment.h"
14 #include "HeatStructureBase.h"
15 
20 {
21 public:
23 
24 protected:
25  virtual void setupMesh() override;
26  virtual void init() override;
27  virtual void check() const override;
28 
30  const std::vector<std::string> _hs_names;
32  const std::vector<BoundaryName> _hs_boundaries;
33 
37  std::vector<bool> _is_plate;
39  std::vector<bool> _is_cylindrical;
41  std::vector<Component2D::ExternalBoundaryType> _hs_side_types;
43  std::vector<Real> _areas;
45  std::vector<Real> _coupling_area_fractions;
46 
47 public:
49 };
static InputParameters validParams()
const std::vector< BoundaryName > _hs_boundaries
Primary and secondary heat structure boundaries.
Builds mapping between two aligned subdomains/boundaries.
Definition: MeshAlignment.h:24
Base class for components of a boundary type.
Definition: BoundaryBase.h:18
HeatStructure2DCouplerBase(const InputParameters &parameters)
std::vector< bool > _is_cylindrical
Flag for each heat structure deriving from HeatStructureCylindricalBase.
virtual void init() override
Initializes the component.
std::vector< Real > _coupling_area_fractions
Area fractions by which to multiply coupling terms.
std::vector< Real > _areas
Areas for the primary and secondary sides.
std::vector< Component2D::ExternalBoundaryType > _hs_side_types
Heat structure side types for each boundary.
MeshAlignment _mesh_alignment
Mesh alignment.
virtual void setupMesh() override
Performs mesh setup such as creating mesh or naming mesh sets.
const InputParameters & parameters() const
const std::vector< std::string > _hs_names
Primary and secondary heat structure names.
Couples boundaries of two 2D heat structures.
std::vector< bool > _is_plate
Flag for each heat structure being HeatStructurePlate.
virtual void check() const override
Check the component integrity.