https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADOneD3EqnMomentumFriction.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 "ADKernel.h"
13
20{
21public:
23
24protected:
25 virtual ADReal computeQpResidual() override;
26
29
32
35
38
41
42public:
44};
DualNumber< Real, DNDerivativeType, true > ADReal
Computes wall friction term for single phase flow.
const ADMaterialProperty< Real > & _vel
velocity
const ADVariableValue & _A
area
virtual ADReal computeQpResidual() override
static InputParameters validParams()
const ADMaterialProperty< Real > & _f_D
Darcy friction factor.
const ADMaterialProperty< Real > & _D_h
Hydraulic diameter.
const ADMaterialProperty< Real > & _rho
Density.
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue