https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSMomentumInviscidFlux.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 "NSKernel.h"
13
14// ForwardDeclarations
15
21{
22public:
24
26
27protected:
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
38private:
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};
const InputParameters & parameters() const
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition NSKernel.h:26
The inviscid flux (convective + pressure terms) for the momentum conservation equations.
static InputParameters validParams()
Real computeJacobianHelper(unsigned int m)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const VariableValue & _pressure
VariableValueTempl< false > VariableValue