https://mooseframework.inl.gov
Loading...
Searching...
No Matches
JunctionWithLossesBase.h
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#pragma once
11
12#include "FlowJunction.h"
13
18{
19public:
21
22protected:
24 std::vector<Real> _k_coeffs;
26 std::vector<Real> _kr_coeffs;
28 const Real & _ref_area;
29
30public:
32};
Base class for flow junctions.
Base class for junctions that have losses.
std::vector< Real > _kr_coeffs
A vector to store user inputed reverse K loss (form loss, minor loss) coefficients.
static InputParameters validParams()
const Real & _ref_area
A reference area for this junction to calculate its reference velocity (User input)
std::vector< Real > _k_coeffs
A vector to store user inputed K loss (form loss, minor loss) coefficients.
const InputParameters & parameters() const