https://mooseframework.inl.gov
Loading...
Searching...
No Matches
INSADDisplaceBoundaryBC.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 "ADNodalBC.h"
13
19{
20public:
22
23 INSADDisplaceBoundaryBC(const InputParameters & parameters);
24
25protected:
26 virtual ADReal computeQpResidual() override;
27
30
32 const Real & _u_old;
33
35 const unsigned short _component;
36
40};
DualNumber< Real, DNDerivativeType, true > ADReal
Increments the boundary displacement by the product of the surface velocity and the change in time th...
static InputParameters validParams()
const SubdomainID _sub_id
The subdomain ID along which the boundary nodeset, that this object is acting on, is associated with.
virtual ADReal computeQpResidual() override
const unsigned short _component
What component of velocity/displacement this object is acting on.
const Moose::Functor< ADRealVectorValue > & _velocity
The velocity.
const Real & _u_old
The previous timestep value of the displacement.