https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FlowBoundary1PhaseBase.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
12
19
21 : FlowBoundary(params), _boundary_uo_name(genName(name(), "boundary_uo"))
22{
23}
24
25void
27{
29
30 if (hasComponentByName<FlowChannel1PhaseBase>(_connected_component_name))
31 {
32 const auto & flow_channel =
35 }
36}
const std::string name
Definition Setup.h:21
std::string _connected_component_name
Name of the connected component.
THMProblem & getTHMProblem() const
Gets the THM problem.
Definition Component.C:135
UserObjectName _numerical_flux_name
Numerical flux user object name.
static InputParameters validParams()
virtual void init() override
Initializes the component.
FlowBoundary1PhaseBase(const InputParameters &params)
Base class for components that connect to flow channel boundaries.
static InputParameters validParams()
virtual void init() override
Initializes the component.
Base class for single-phase flow channels.
const UserObjectName & getNumericalFluxUserObjectName() const
Gets the numerical flux user object name.
const T & getComponentByName(const std::string &name) const
Get component by its name.
Definition Simulation.h:504