www.mooseframework.org
NSPressureNeumannBC.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"
13 #include "NSPressureDerivs.h"
14 
15 // Forward Declarations
16 
29 {
30 public:
32 
34 
35  virtual ~NSPressureNeumannBC() {}
36 
37 protected:
38  virtual Real computeQpResidual();
39  virtual Real computeQpJacobian();
40  virtual Real computeQpOffDiagJacobian(unsigned jvar);
41 
42  // Coupled vars
44 
45  // Required parameters
46  unsigned _component;
47 
48  // An object for computing pressure derivatives.
49  // Constructed via a reference to ourself
51 
52  // Declare ourselves friend to the helper class.
53  template <class U>
54  friend class NSPressureDerivs;
55 
56 private:
57  // Computes the Jacobian value for this term for variable 'm'
58  // in the canonical ordering.
59  Real computeJacobianHelper(unsigned m);
60 };
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
virtual Real computeQpOffDiagJacobian(unsigned jvar)
static InputParameters validParams()
This kernel is appropriate for use with a "zero normal flow" boundary condition in the context of the...
NSPressureNeumannBC(const InputParameters &parameters)
OutputTools< Real >::VariableValue VariableValue
const VariableValue & _pressure
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpResidual()
const InputParameters & parameters() const
Real computeJacobianHelper(unsigned m)
NSPressureDerivs< NSPressureNeumannBC > _pressure_derivs
virtual Real computeQpJacobian()