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