www.mooseframework.org
NSMassSpecifiedNormalFlowBC.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 NSMASSSPECIFIEDNORMALFLOWBC_H
8 #define NSMASSSPECIFIEDNORMALFLOWBC_H
9 
10 #include "NSMassBC.h"
11 
12 // Forward Declarations
14 
15 template <>
17 
26 {
27 public:
28  NSMassSpecifiedNormalFlowBC(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual();
32  virtual Real computeQpJacobian();
33  virtual Real computeQpOffDiagJacobian(unsigned jvar);
34 
35  // Required parameters
36  const Real _rhoun;
37 };
38 
39 #endif // NSMASSSPECIFIEDNORMALFLOWBC_H
InputParameters validParams< NSMassSpecifiedNormalFlowBC >()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
This class corresponds to the "natural" boundary condition for the mass equation, i...
Definition: NSMassBC.h:31
This class implements the mass equation boundary term with a specified value of rho*(u.n) imposed weakly.
NSMassSpecifiedNormalFlowBC(const InputParameters &parameters)