https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
15
18{
21 "Computes subchannel flow area in the square lattice subchannel arrangement");
22 return params;
23}
24
28
29Real
31{
33 return _mesh.getSubchannelFlowArea(i, p(2));
34}
const Real p
registerMooseObject("SubChannelApp", SCMQuadFlowAreaIC)
void addClassDescription(const std::string &doc_string)
An abstract class for ICs for quadrilateral subchannels.
const QuadSubChannelMesh & _mesh
static InputParameters validParams()
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.
This class calculates the cross-sectional flow area of the quadrilateral subchannel.
SCMQuadFlowAreaIC(const InputParameters &params)
Real value(const Point &p) override
static InputParameters validParams()