https://mooseframework.inl.gov
Loading...
Searching...
No Matches
thermal_hydraulics
include
scalarkernels
ADShaftComponentTorqueScalarKernel.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 "
ADScalarKernel.h
"
13
14
class
ADShaftConnectableUserObjectInterface
;
15
19
class
ADShaftComponentTorqueScalarKernel
:
public
ADScalarKernel
20
{
21
public
:
22
ADShaftComponentTorqueScalarKernel
(
const
InputParameters
&
parameters
);
23
24
protected
:
25
virtual
ADReal
computeQpResidual
()
override
;
26
28
const
ADShaftConnectableUserObjectInterface
&
_shaft_connected_component_uo
;
29
30
public
:
31
static
InputParameters
validParams
();
32
};
ADReal
DualNumber< Real, DNDerivativeType, true > ADReal
ADScalarKernel.h
ADScalarKernel
ADShaftComponentTorqueScalarKernel
Torque contributed by a component connected to a shaft.
Definition
ADShaftComponentTorqueScalarKernel.h:20
ADShaftComponentTorqueScalarKernel::computeQpResidual
virtual ADReal computeQpResidual() override
Definition
ADShaftComponentTorqueScalarKernel.C:35
ADShaftComponentTorqueScalarKernel::validParams
static InputParameters validParams()
Definition
ADShaftComponentTorqueScalarKernel.C:17
ADShaftComponentTorqueScalarKernel::_shaft_connected_component_uo
const ADShaftConnectableUserObjectInterface & _shaft_connected_component_uo
Shaft connected component user object.
Definition
ADShaftComponentTorqueScalarKernel.h:28
ADShaftConnectableUserObjectInterface
Interface class for user objects that are connected to a shaft.
Definition
ADShaftConnectableUserObjectInterface.h:23
ADScalarKernel::parameters
const InputParameters & parameters() const
InputParameters
Generated on Mon Aug 24 2026 19:10:51 for https://mooseframework.inl.gov by
1.9.8