https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSImposedVelocityDirectionBC.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 "NodalBC.h"
13
14// Forward Declarations
15
16// Specialization required of all user-level Moose objects
17
39{
40public:
42
44
45protected:
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};
const InputParameters & parameters() const
This class imposes a velocity direction component as a Dirichlet condition on the appropriate momentu...
VariableValueTempl< false > VariableValue