https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSSUPGMomentum.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 "NSSUPGBase.h"
13
14// Forward Declarations
15
21{
22public:
24
26
27protected:
28 virtual Real computeQpResidual();
29 virtual Real computeQpJacobian();
30 virtual Real computeQpOffDiagJacobian(unsigned int jvar);
31
32 // This kernel is to be used for the x, y, and z momentum equations.
33 // The _component parameter tells you which equation you are currently
34 // solving.
35 unsigned int _component;
36
37private:
38 // Single function for computing on and off-diagonal Jacobian
39 // entries in a single function. The input index is in Moose
40 // variable numbering.
41 Real computeJacobianHelper(unsigned int var);
42};
const InputParameters & parameters() const
This class acts as a base class for stabilization kernels.
Definition NSSUPGBase.h:22
Compute residual and Jacobian terms form the SUPG terms in the momentum equation.
Real computeJacobianHelper(unsigned int var)
unsigned int _component
virtual Real computeQpJacobian()
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
virtual Real computeQpResidual()
static InputParameters validParams()