https://mooseframework.inl.gov
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 
20 class DashpotBC : public IntegratedBC
21 {
22 public:
24 
30 
31 protected:
32  virtual Real computeQpResidual();
33  virtual Real computeQpJacobian();
34  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
35 
36 private:
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 };
unsigned int _disp_z_var
Definition: DashpotBC.h:43
unsigned int _component
Component of the velocity vector.
Definition: DashpotBC.h:38
static InputParameters validParams()
Definition: DashpotBC.C:15
Real _coefficient
Definition: DashpotBC.h:39
const VariableValue & _disp_y_dot
Definition: DashpotBC.h:46
virtual Real computeQpJacobian()
Definition: DashpotBC.C:55
Implements a simple constant Dashpot BC where grad(u)=value on the boundary.
Definition: DashpotBC.h:20
OutputTools< Real >::VariableValue VariableValue
DashpotBC(const InputParameters &parameters)
Factory constructor, takes parameters so that all derived classes can be built using the same constru...
Definition: DashpotBC.C:32
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: DashpotBC.C:64
const VariableValue & _disp_z_dot
Definition: DashpotBC.h:47
const InputParameters & parameters() const
virtual Real computeQpResidual()
Definition: DashpotBC.C:47
unsigned int _disp_x_var
Definition: DashpotBC.h:41
const VariableValue & _disp_x_dot
Definition: DashpotBC.h:45
unsigned int _disp_y_var
Definition: DashpotBC.h:42