https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DashpotBC.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 "IntegratedBC.h"
13
14// Forward Declarations
15
20class DashpotBC : public IntegratedBC
21{
22public:
24
30
31protected:
32 virtual Real computeQpResidual();
33 virtual Real computeQpJacobian();
34 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
35
36private:
38 unsigned int _component;
40
41 unsigned int _disp_x_var;
42 unsigned int _disp_y_var;
43 unsigned int _disp_z_var;
44
48};
Implements a simple constant Dashpot BC where grad(u)=value on the boundary.
Definition DashpotBC.h:21
const VariableValue & _disp_z_dot
Definition DashpotBC.h:47
unsigned int _disp_z_var
Definition DashpotBC.h:43
unsigned int _component
Component of the velocity vector.
Definition DashpotBC.h:38
const VariableValue & _disp_x_dot
Definition DashpotBC.h:45
virtual Real computeQpResidual()
Definition DashpotBC.C:47
unsigned int _disp_y_var
Definition DashpotBC.h:42
Real _coefficient
Definition DashpotBC.h:39
virtual Real computeQpJacobian()
Definition DashpotBC.C:55
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition DashpotBC.C:64
unsigned int _disp_x_var
Definition DashpotBC.h:41
static InputParameters validParams()
Definition DashpotBC.C:15
const VariableValue & _disp_y_dot
Definition DashpotBC.h:46
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue