https://mooseframework.inl.gov
SCMQuadFlowAreaIC.C
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 #include "SCMQuadFlowAreaIC.h"
11 
12 #include "QuadSubChannelMesh.h"
13 
14 registerMooseObject("SubChannelApp", SCMQuadFlowAreaIC);
15 
18 {
20  params.addClassDescription(
21  "Computes subchannel flow area in the square lattice subchannel arrangement");
22  return params;
23 }
24 
26 {
27 }
28 
29 Real
31 {
33  return _mesh.getSubchannelFlowArea(i, p(2));
34 }
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...
An abstract class for ICs for quadrilateral subchannels.
This class calculates the cross-sectional flow area of the quadrilateral subchannel.
SCMQuadFlowAreaIC(const InputParameters &params)
const QuadSubChannelMesh & _mesh
static InputParameters validParams()
unsigned int getSubchannelIndexFromPoint(const Point &p) const override
Return a subchannel index for a given physical point p
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real p
void addClassDescription(const std::string &doc_string)
Real value(const Point &p) override
registerMooseObject("SubChannelApp", SCMQuadFlowAreaIC)