www.mooseframework.org
NSMomentumViscousBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "NSIntegratedBC.h"
14 
15 // Forward Declarations
17 
18 template <>
19 InputParameters validParams<NSMomentumViscousBC>();
20 
33 {
34 public:
35  NSMomentumViscousBC(const InputParameters & parameters);
36 
37 protected:
41  virtual Real computeQpResidual();
42  virtual Real computeQpJacobian();
43  virtual Real computeQpOffDiagJacobian(unsigned jvar);
44 
45  // Which spatial component of the momentum equations (0,1, or 2) is this
46  // kernel applied in?
47  const unsigned _component;
48 
49  // An object for computing viscous stress tensor derivatives.
50  // Constructed via a reference to ourself so we can access all of our data.
52 
53  // Declare ourselves friend to the helper class.
54  template <class U>
56 };
57 
NSMomentumViscousBC::computeQpResidual
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions....
Definition: NSMomentumViscousBC.C:35
NSViscStressTensorDerivs.h
validParams< NSMomentumViscousBC >
InputParameters validParams< NSMomentumViscousBC >()
Definition: NSMomentumViscousBC.C:16
NSMomentumViscousBC::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition: NSMomentumViscousBC.C:72
NSMomentumViscousBC
This class corresponds to the viscous part of the "natural" boundary condition for the momentum equat...
Definition: NSMomentumViscousBC.h:32
NSViscStressTensorDerivs< NSMomentumViscousBC >
NSMomentumViscousBC::_vst_derivs
NSViscStressTensorDerivs< NSMomentumViscousBC > _vst_derivs
Definition: NSMomentumViscousBC.h:51
NSMomentumViscousBC::computeQpJacobian
virtual Real computeQpJacobian()
Definition: NSMomentumViscousBC.C:51
NSIntegratedBC
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition: NSIntegratedBC.h:29
NSMomentumViscousBC::NSMomentumViscousBC
NSMomentumViscousBC(const InputParameters &parameters)
Definition: NSMomentumViscousBC.C:26
NSMomentumViscousBC::_component
const unsigned _component
Definition: NSMomentumViscousBC.h:47
NSIntegratedBC.h