www.mooseframework.org
NSImposedVelocityBC.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 // The base class definition (part of MOOSE)
13 #include "NodalBC.h"
14 
15 // Forward Declarations
16 
17 // Specialization required of all user-level Moose objects
18 
20 {
21 public:
23 
25 
26 protected:
27  // NodalBC's can (currently) only override the computeQpResidual function,
28  // the computeQpJacobian() function automatically assembles a "1" onto the main
29  // diagonal for this DoF.
30  virtual Real computeQpResidual();
31 
32  // We need the density, since we are actually setting essential values of
33  // *momentum* not essential values of velocity.
35 
36  // The desired value for the velocity component
38 };
const VariableValue & _rho
virtual Real computeQpResidual()
OutputTools< Real >::VariableValue VariableValue
static InputParameters validParams()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
NSImposedVelocityBC(const InputParameters &parameters)