https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADIncompressibleMomentumSPScalarKernel.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
13
15{
17
18public:
21
22protected:
23 virtual ADReal massFlowRate() const override { return Base::_u[0]; };
24 virtual ADReal pressureDrop() const override { return _dPc[0]; };
27};
DualNumber< Real, DNDerivativeType, true > ADReal
const ADVariableValue & _dPc
Coupled reference pressure drop from inlet to outlet of the path.
const ADVariableValue & _u
const InputParameters & parameters() const
VariableValueTempl< true > ADVariableValue