www.mooseframework.org
NSEnergyInviscidSpecifiedNormalFlowBC.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 NSENERGYINVISCIDSPECIFIEDNORMALFLOWBC_H
8 #define NSENERGYINVISCIDSPECIFIEDNORMALFLOWBC_H
9 
10 #include "NSEnergyInviscidBC.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
22 {
23 public:
24  NSEnergyInviscidSpecifiedNormalFlowBC(const InputParameters & parameters);
25 
26 protected:
27  virtual Real computeQpResidual();
28  virtual Real computeQpJacobian();
29  virtual Real computeQpOffDiagJacobian(unsigned jvar);
30 
31  // Aux Variables
32  const VariableValue & _pressure;
33 
34  // Required parameters
35  const Real _un;
36 
37 private:
38  Real computeJacobianHelper(unsigned var_number);
39 };
40 
41 #endif // NSENERGYINVISCIDSPECIFIEDNORMALFLOWBC_H
The inviscid energy BC term with specified normal flow.
NSEnergyInviscidSpecifiedNormalFlowBC(const InputParameters &parameters)
This class corresponds to the inviscid part of the "natural" boundary condition for the energy equati...
InputParameters validParams< NSEnergyInviscidSpecifiedNormalFlowBC >()