https://mooseframework.inl.gov
AdvectionSUPG.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 "INSBase.h"
13 
14 // Forward Declarations
15 
20 class AdvectionSUPG : public INSBase
21 {
22 public:
24 
26 
27  virtual ~AdvectionSUPG() {}
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned /*jvar*/) { return 0; }
33  const Function & _ffn;
35 };
const Function & _ffn
Definition: AdvectionSUPG.h:33
This class computes strong and weak components of the INS governing equations.
Definition: INSBase.h:18
static InputParameters validParams()
Definition: AdvectionSUPG.C:16
virtual ~AdvectionSUPG()
Definition: AdvectionSUPG.h:27
virtual Real computeQpJacobian()
Definition: AdvectionSUPG.C:46
MooseEnum _tau_type
Definition: AdvectionSUPG.h:34
AdvectionSUPG(const InputParameters &parameters)
Definition: AdvectionSUPG.C:29
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpOffDiagJacobian(unsigned)
Definition: AdvectionSUPG.h:32
virtual Real computeQpResidual()
Definition: AdvectionSUPG.C:37
const InputParameters & parameters() const
This class is responsible for solving the scalar advection equation, possibly with a forcing function...
Definition: AdvectionSUPG.h:20