20 params.
addRequiredParam<Real>(
"start_angle",
"Angle at which the pipe starts [degrees]");
21 params.
addRequiredParam<Real>(
"end_angle",
"Angle at which the pipe ends [degrees]");
24 params.
set<std::vector<Real>>(
"length") = {0.0};
34 _radius(getParam<Real>(
"radius")),
35 _start_angle(getParam<Real>(
"start_angle")),
36 _end_angle(getParam<Real>(
"end_angle"))
42 logError(
"The difference between the angle parameters 'end_angle' and 'start_angle' (",
44 ") is greater than 360 degrees");
58 Real x_pos = dist.norm();
registerMooseObject("ThermalHydraulicsApp", ElbowPipe1Phase)
void logError(Args &&... args) const
Logs an error.
Node * addNode(const Point &pt)
Real _length
Total axial length.
std::vector< Real > _lengths
Length of each axial section.
Bent pipe for 1-phase flow.
static InputParameters validParams()
virtual void buildMeshNodes() override
Real _central_angle
central angle
ElbowPipe1Phase(const InputParameters ¶ms)
Real _start_angle
Start angle [degrees].
Real _radius
Radius of the pipe [m].
Real _end_angle
End angle [degrees].
Single-component, single-phase flow channel.
static InputParameters validParams()
std::vector< Real > _node_locations
Node locations along the main axis.