https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoupledPressureIncompressibleMomentumSPScalarKernel.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
14template <bool is_ad>
17{
19
20public:
22 virtual bool isADObject() const override { return is_ad; };
24
25protected:
26 virtual GenericReal<is_ad> massFlowRate() const override { return _mc[0]; };
27 virtual GenericReal<is_ad> pressureDrop() const override { return -Base::_u[0]; };
28 virtual Real computeQpJacobian() override;
31};
32
CoupledPressureIncompressibleMomentumSPScalarKernelTempl< false > CoupledPressureIncompressibleMomentumSPScalarKernel
CoupledPressureIncompressibleMomentumSPScalarKernelTempl< true > ADCoupledPressureIncompressibleMomentumSPScalarKernel
Moose::GenericType< Real, is_ad > GenericReal
const VariableValue & _mc
Coupled mass flow rate through the flow path.
VariableValueTempl< false > VariableValue