https://mooseframework.inl.gov
QuadInterWrapper1PhaseProblem.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 
11 
13 
16 {
18  params.addClassDescription(
19  "Solver class for interwrapper of assemblies in a square-lattice arrangement");
20  return params;
21 }
22 
25 {
26 }
27 
28 double
30 {
31  Real a, b;
32  if (Re < 1)
33  {
34  return 64.0;
35  }
36  else if (Re >= 1 and Re < 5000)
37  {
38  a = 64.0;
39  b = -1.0;
40  }
41  else if (Re >= 5000 and Re < 30000)
42  {
43  a = 0.316;
44  b = -0.25;
45  }
46  else
47  {
48  a = 0.184;
49  b = -0.20;
50  }
51  return a * std::pow(Re, b);
52 }
Quadrilateral interwrapper solver.
static InputParameters validParams()
Base class for the 1-phase steady-state/transient interwrapper solver.
registerMooseObject("SubChannelApp", QuadInterWrapper1PhaseProblem)
virtual Real computeFrictionFactor(Real Re) override
Returns friction factor.
QuadInterWrapper1PhaseProblem(const InputParameters &params)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
MooseUnits pow(const MooseUnits &, int)