https://mooseframework.inl.gov
SCMQuadWettedPerimIC.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 "SCMQuadWettedPerimIC.h"
11 #include "QuadSubChannelMesh.h"
12 
14 
17 {
19  params.addClassDescription(
20  "Computes wetted perimeter of subchannels in a square lattice arrangement");
21  return params;
22 }
23 
25  : QuadSubChannelBaseIC(params)
26 {
27 }
28 
29 Real
31 {
34 }
static InputParameters validParams()
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 value(const Point &p) override
SCMQuadWettedPerimIC(const InputParameters &params)
Sets the wetted perimeter of the quadrilateral subchannel.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real p
void addClassDescription(const std::string &doc_string)
registerMooseObject("SubChannelApp", SCMQuadWettedPerimIC)
Real getSubchannelWettedPerimeter(unsigned int i_chan) const override
Return undeformed wetted perimeter for a subchannel.