https://mooseframework.inl.gov
ADWallFrictionColebrookWhiteMaterial.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 "Material.h"
13 #include "MooseEnum.h"
14 
19 {
20 public:
22 
23 protected:
24  virtual void computeQpProperties();
25 
27  const MaterialPropertyName _f_D_name;
29 
32 
40  const Real & _roughness;
41 
43  const unsigned int _max_its;
47  const Real _tol;
48 
49 public:
51 };
const ADMaterialProperty< Real > & _rho
Density of the phase.
const unsigned int _max_its
max iterations for iterative solve
const Real & _roughness
Roughness of the surface.
const InputParameters & parameters() const
const ADMaterialProperty< Real > & _D_h
Hydraulic diameter.
Computes drag coefficient using the Colebrook-White formula for the Darcy friction factor...
const MaterialPropertyName _f_D_name
Darcy wall friction coefficient.
const ADMaterialProperty< Real > & _mu
Dynamic viscosity.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADWallFrictionColebrookWhiteMaterial(const InputParameters &parameters)
const ADMaterialProperty< Real > & _vel
Velocity (x-component)
const Real _tol
Tolerance for implicit solve.
MooseEnum _max_its_behavior
Whether to error, warn or accept on reaching max its.