https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADDummyDisplaceBoundaryIntegratedBC.C
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
11
13
16{
19 "This object adds Jacobian entries for the boundary displacement dependence on the velocity");
20 params.addRequiredParam<MooseFunctorName>("velocity", "The velocity at which to displace");
21 params.addRequiredParam<unsigned short>(
22 "component", "What component of velocity/displacement this object is acting on.");
23 return params;
24}
25
27 const InputParameters & parameters)
28 : ADIntegratedBC(parameters),
29 _velocity(getFunctor<ADRealVectorValue>("velocity")),
30 _component(getParam<unsigned short>("component"))
31{
32}
33
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", INSADDummyDisplaceBoundaryIntegratedBC)
static InputParameters validParams()
This object adds the sparsity dependence of the surface displacement degrees of freedom on surface ve...
const Moose::Functor< ADRealVectorValue > & _velocity
The velocity vector.
INSADDummyDisplaceBoundaryIntegratedBC(const InputParameters &parameters)
const unsigned short _component
What component of velocity/displacement this object is acting on.
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
const unsigned int & _current_side
const QBase *const & _qrule
unsigned int _qp
const Elem *const & _current_elem
const MooseArray< Point > & _q_point
Moose::StateArg determineState() const