www.mooseframework.org
NSImposedVelocityDirectionBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 "NodalBC.h"
13 
14 // Forward Declarations
15 
16 // Specialization required of all user-level Moose objects
17 
39 {
40 public:
42 
44 
45 protected:
46  // NodalBC's can (currently) only specialize the computeQpResidual function,
47  // the computeQpJacobian() function automatically assembles a "1" onto the main
48  // diagonal for this DoF.
49  virtual Real computeQpResidual();
50 
51  // Coupled variables
56 
57  // The desired value for the unit velocity component
59 };
NSImposedVelocityDirectionBC(const InputParameters &parameters)
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
This class imposes a velocity direction component as a Dirichlet condition on the appropriate momentu...