20 "Computes flow area of inter-wrapper cells in a triangualar subchannel lattice");
35 auto element_side = flat_to_flat * std::tan(
libMesh::pi / 6.0);
43 return (
pitch - flat_to_flat) * element_side * 3.0 / 2.0 +
48 if (tight_side_bypass)
49 return (
pitch - flat_to_flat) * element_side * 0.5 + gap * element_side * 2 +
52 return (
pitch - flat_to_flat) * element_side * 1.0 / 2.0 +
53 (element_side + gap * std::tan(
libMesh::pi / 6.0) / 2.0) * gap;
57 if (tight_side_bypass)
58 return (element_side + gap * std::tan(
libMesh::pi / 6.0)) * gap;
60 return (element_side + gap * std::tan(
libMesh::pi / 6.0) / 2.0) * gap;
An abstract class for ICs for hexagonal fuel assemblies.
virtual EChannelType getSubchannelType(unsigned int index) const override
Return the type of the inter-wrapper for given inter-wrapper index.
This class calculates the area of the triangular, edge, and corner subchannels for hexagonal fuel ass...
virtual const Real & getSideX() const
Return side lengths of the assembly.
static InputParameters validParams()
Real value(const Point &p) override
static InputParameters validParams()
static const std::string pitch
TriInterWrapperMesh & _mesh
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual const bool & getIsTightSide() const
virtual unsigned int getSubchannelIndexFromPoint(const Point &p) const override
Return a inter-wrapper index for a given physical point p
TriInterWrapperFlowAreaIC(const InputParameters ¶ms)
virtual const Real & getPitch() const
Return the pitch between 2 inter-wrappers.
registerMooseObject("SubChannelApp", TriInterWrapperFlowAreaIC)
virtual const Real & getDuctToPinGap() const