www.mooseframework.org
NSStagnationPressureBC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef NSSTAGNATIONPRESSUREBC_H
8 #define NSSTAGNATIONPRESSUREBC_H
9 
10 #include "NSStagnationBC.h"
11 
12 // Forward Declarations
14 
15 // Specialization required of all user-level Moose objects
16 template <>
17 InputParameters validParams<NSStagnationPressureBC>();
18 
25 {
26 public:
27  NSStagnationPressureBC(const InputParameters & parameters);
28 
29 protected:
30  // NodalBC's can (currently) only specialize the computeQpResidual function,
31  // the computeQpJacobian() function automatically assembles a "1" onto the main
32  // diagonal for this DoF.
33  virtual Real computeQpResidual();
34 
35  // Coupled variables
36  const VariableValue & _pressure;
37 
38  // Required paramters
40 };
41 
42 #endif // NSSTAGNATIONPRESSUREBC_H
This Dirichlet condition imposes the condition p_0 = p_0_desired, where p_0 is the stagnation pressur...
This is the base class for the "imposed stagnation" value boundary conditions.
const VariableValue & _pressure
InputParameters validParams< NSStagnationPressureBC >()
NSStagnationPressureBC(const InputParameters &parameters)