https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSMomentumViscousBC.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
30public:
32
34
35protected:
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};
const InputParameters & parameters() const
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
This class corresponds to the viscous part of the "natural" boundary condition for the momentum equat...
virtual Real computeQpJacobian()
static InputParameters validParams()
virtual Real computeQpResidual()
Just like other kernels, we must overload the Residual and Jacobian contributions....
NSViscStressTensorDerivs< NSMomentumViscousBC > _vst_derivs
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...