https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
include
kernels
ADOneD3EqnMomentumFormLoss.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
14
class
Function
;
15
22
class
ADOneD3EqnMomentumFormLoss
:
public
ADKernel
23
{
24
public
:
25
ADOneD3EqnMomentumFormLoss
(
const
InputParameters
&
parameters
);
26
27
protected
:
28
virtual
ADReal
computeQpResidual
()
override
;
29
31
const
ADVariableValue
&
_A
;
33
const
ADMaterialProperty<Real>
&
_rho
;
35
const
ADMaterialProperty<Real>
&
_vel
;
37
const
ADMaterialProperty<Real>
&
_K_prime
;
38
39
public
:
40
static
InputParameters
validParams
();
41
};
ADKernel.h
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
ADKernelTempl
ADMaterialProperty
ADOneD3EqnMomentumFormLoss
Computes the force per unit length due to form loss, provided a form loss coefficient per unit length...
Definition
ADOneD3EqnMomentumFormLoss.h:23
ADOneD3EqnMomentumFormLoss::validParams
static InputParameters validParams()
Definition
ADOneD3EqnMomentumFormLoss.C:16
ADOneD3EqnMomentumFormLoss::_rho
const ADMaterialProperty< Real > & _rho
density
Definition
ADOneD3EqnMomentumFormLoss.h:33
ADOneD3EqnMomentumFormLoss::_K_prime
const ADMaterialProperty< Real > & _K_prime
form loss coefficient per unit length function
Definition
ADOneD3EqnMomentumFormLoss.h:37
ADOneD3EqnMomentumFormLoss::computeQpResidual
virtual ADReal computeQpResidual() override
Definition
ADOneD3EqnMomentumFormLoss.C:38
ADOneD3EqnMomentumFormLoss::_A
const ADVariableValue & _A
area
Definition
ADOneD3EqnMomentumFormLoss.h:31
ADOneD3EqnMomentumFormLoss::_vel
const ADMaterialProperty< Real > & _vel
velocity
Definition
ADOneD3EqnMomentumFormLoss.h:35
Function
ADKernelTempl::parameters
const InputParameters & parameters() const
ADVariableValue
VariableValueTempl< true > ADVariableValue
InputParameters
Generated on Fri Aug 21 2026 13:41:54 for https://mooseframework.inl.gov by
1.9.8