www.mooseframework.org
Advection.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ADVECTION_H
8 #define ADVECTION_H
9 
10 #include "INSBase.h"
11 
12 // Forward Declarations
13 class Advection;
14 
15 template <>
16 InputParameters validParams<Advection>();
17 
22 class Advection : public INSBase
23 {
24 public:
25  Advection(const InputParameters & parameters);
26 
27  virtual ~Advection() {}
28 
29 protected:
30  virtual Real computeQpResidual();
31  virtual Real computeQpJacobian();
32  virtual Real computeQpOffDiagJacobian(unsigned /*jvar*/) { return 0; }
33  Function & _ffn;
34  MooseEnum _tau_type;
35 };
36 
37 #endif
This class computes strong and weak components of the INS governing equations.
Definition: INSBase.h:22
MooseEnum _tau_type
Definition: Advection.h:34
Function & _ffn
Definition: Advection.h:33
virtual Real computeQpResidual()
Definition: Advection.C:34
This class is responsible for solving the scalar advection equation, possibly with a forcing function...
Definition: Advection.h:22
virtual Real computeQpJacobian()
Definition: Advection.C:43
InputParameters validParams< Advection >()
Definition: Advection.C:13
Advection(const InputParameters &parameters)
Definition: Advection.C:26
virtual ~Advection()
Definition: Advection.h:27
virtual Real computeQpOffDiagJacobian(unsigned)
Definition: Advection.h:32