https://mooseframework.inl.gov
ExponentialFrictionFunctorMaterial.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 "FunctorMaterial.h"
13 
24 {
25 public:
28 
29 private:
35  const Real _c1;
37  const Real _c2;
39  const std::string _friction_factor_name;
42 };
const std::string _friction_factor_name
The name of the output friction factor functor.
const Real _c1
$C_1$ in $f(Re) = C_1 Re^{C_2}$
const bool _include_velocity_factor
If a factor of velocity should be included or not.
const Moose::Functor< ADReal > & _Re
Functor for the Reynolds number.
ExponentialFrictionFunctorMaterial(const InputParameters &parameters)
Class responsible for generating a friction factor for the friction-based pressure loss terms in the ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const Real _c2
$C_2$ in $f(Re) = C_1 Re^{C_2}$
const InputParameters & parameters() const
const Moose::Functor< ADReal > *const _speed
Speed (velocity magnitude) of the fluid.