www.mooseframework.org
NSMomentumInviscidSpecifiedNormalFlowBC.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 NSMOMENTUMINVISCIDSPECIFIEDNORMALFLOWBC_H
8 #define NSMOMENTUMINVISCIDSPECIFIEDNORMALFLOWBC_H
9 
10 #include "NSMomentumInviscidBC.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
23 {
24 public:
25  NSMomentumInviscidSpecifiedNormalFlowBC(const InputParameters & parameters);
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpJacobian();
30  virtual Real computeQpOffDiagJacobian(unsigned jvar);
31 
32  const VariableValue & _pressure;
33  const Real _rhou_udotn;
34 };
35 
36 #endif // NSMOMENTUMINVISCIDSPECIFIEDPRESSUREBC_H
This class corresponds to the inviscid part of the "natural" boundary condition for the momentum equa...
InputParameters validParams< NSMomentumInviscidSpecifiedNormalFlowBC >()
NSMomentumInviscidSpecifiedNormalFlowBC(const InputParameters &parameters)
Momentum equation boundary condition in which pressure is specified (given) and the value of the conv...