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
16 
29 {
30 public:
32 
34 
35 protected:
39  virtual Real computeQpResidual();
40  virtual Real computeQpJacobian();
41  virtual Real computeQpOffDiagJacobian(unsigned jvar);
42 
43  // Which spatial component of the momentum equations (0,1, or 2) is this
44  // kernel applied in?
45  const unsigned _component;
46 
47  // An object for computing viscous stress tensor derivatives.
48  // Constructed via a reference to ourself so we can access all of our data.
50 
51  // Declare ourselves friend to the helper class.
52  template <class U>
54 };
virtual Real computeQpJacobian()
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
virtual Real computeQpOffDiagJacobian(unsigned jvar)
const unsigned _component
static InputParameters validParams()
NSViscStressTensorDerivs< NSMomentumViscousBC > _vst_derivs
This class corresponds to the viscous part of the "natural" boundary condition for the momentum equat...
NSMomentumViscousBC(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions...
const InputParameters & parameters() const