www.mooseframework.org
NSPenalizedNormalFlowBC.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 NSPENALIZEDNORMALFLOWBC_H
8 #define NSPENALIZEDNORMALFLOWBC_H
9 
10 #include "NSIntegratedBC.h"
11 
12 // Forward Declarations
14 
15 template <>
16 InputParameters validParams<NSPenalizedNormalFlowBC>();
17 
23 {
24 public:
25  NSPenalizedNormalFlowBC(const InputParameters & parameters);
26 
27 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned jvar);
34 
35  // Required parameters
36  const Real _penalty;
37  const Real _specified_udotn;
38 };
39 
40 #endif // NSPENALIZEDNORMALFLOWBC_H
NSPenalizedNormalFlowBC(const InputParameters &parameters)
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
This class penalizes the the value of u.n on the boundary so that it matches some desired value...
InputParameters validParams< NSPenalizedNormalFlowBC >()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual Real computeQpResidual()
The standard interface functions.