https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
20public:
22
23protected:
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
49public:
51};
Computes drag coefficient using the Colebrook-White formula for the Darcy friction factor.
const ADMaterialProperty< Real > & _mu
Dynamic viscosity.
const unsigned int _max_its
max iterations for iterative solve
const ADMaterialProperty< Real > & _rho
Density of the phase.
const ADMaterialProperty< Real > & _D_h
Hydraulic diameter.
const MaterialPropertyName _f_D_name
Darcy wall friction coefficient.
const ADMaterialProperty< Real > & _vel
Velocity (x-component)
MooseEnum _max_its_behavior
Whether to error, warn or accept on reaching max its.
const InputParameters & parameters() const