https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SCMTriFlowAreaIC.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 "SCMTriFlowAreaIC.h"
11#include "TriSubChannelMesh.h"
12
14
17{
20 "Computes flow area of subchannels in a triangular lattice arrangement");
21 return params;
22}
23
25
26Real
28{
30 return _mesh.getSubchannelFlowArea(i, p(2));
31}
const Real p
registerMooseObject("SubChannelApp", SCMTriFlowAreaIC)
void addClassDescription(const std::string &doc_string)
This class calculates the area of the triangular, edge, and corner subchannels for hexagonal fuel ass...
SCMTriFlowAreaIC(const InputParameters &params)
Real value(const Point &p) override
static InputParameters validParams()
An abstract class for ICs for hexagonal fuel assemblies.
static InputParameters validParams()
const TriSubChannelMesh & _mesh
unsigned int getSubchannelIndexFromPoint(const Point &p) const override
Return a subchannel index for a given physical point p
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.