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