https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSPressureNeumannBC.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"
13#include "NSPressureDerivs.h"
14
15// Forward Declarations
16
29{
30public:
32
34
36
37protected:
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
56private:
57 // Computes the Jacobian value for this term for variable 'm'
58 // in the canonical ordering.
59 Real computeJacobianHelper(unsigned m);
60};
const InputParameters & parameters() const
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Class outside the Moose hierarchy that contains common functionality for computing derivatives of the...
This kernel is appropriate for use with a "zero normal flow" boundary condition in the context of the...
Real computeJacobianHelper(unsigned m)
static InputParameters validParams()
virtual Real computeQpOffDiagJacobian(unsigned jvar)
virtual Real computeQpJacobian()
virtual Real computeQpResidual()
const VariableValue & _pressure
NSPressureDerivs< NSPressureNeumannBC > _pressure_derivs
VariableValueTempl< false > VariableValue