www.mooseframework.org
NSMomentumInviscidFlux.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 "NSKernel.h"
13 
14 // ForwardDeclarations
15 
21 {
22 public:
24 
26 
27 protected:
28  virtual Real computeQpResidual();
29  virtual Real computeQpJacobian();
30  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31 
32  // Coupled variables
34 
35  // Parameters
36  const unsigned int _component;
37 
38 private:
39  // To be used from both the on and off-diagonal
40  // computeQpJacobian functions. Variable numbering
41  // should be in the canonical ordering regardless of
42  // Moose's numbering.
43  Real computeJacobianHelper(unsigned int m);
44 };
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition: NSKernel.h:25
const VariableValue & _pressure
The inviscid flux (convective + pressure terms) for the momentum conservation equations.
NSMomentumInviscidFlux(const InputParameters &parameters)
const unsigned int _component
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
const InputParameters & parameters() const
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Real computeJacobianHelper(unsigned int m)