www.mooseframework.org
navier_stokes
test
include
kernels
Advection.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 "
INSBase.h
"
13
14
// Forward Declarations
15
class
Advection
;
16
17
template
<>
18
InputParameters
validParams<Advection>
();
19
24
class
Advection
:
public
INSBase
25
{
26
public
:
27
Advection
(
const
InputParameters & parameters);
28
29
virtual
~Advection
() {}
30
31
protected
:
32
virtual
Real
computeQpResidual
();
33
virtual
Real
computeQpJacobian
();
34
virtual
Real
computeQpOffDiagJacobian
(
unsigned
/*jvar*/
) {
return
0; }
35
const
Function &
_ffn
;
36
MooseEnum
_tau_type
;
37
};
Advection::_ffn
const Function & _ffn
Definition:
Advection.h:35
Advection::~Advection
virtual ~Advection()
Definition:
Advection.h:29
Advection::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
Advection.C:47
validParams< Advection >
InputParameters validParams< Advection >()
Definition:
Advection.C:17
INSBase.h
Advection
This class is responsible for solving the scalar advection equation, possibly with a forcing function...
Definition:
Advection.h:24
Advection::Advection
Advection(const InputParameters ¶meters)
Definition:
Advection.C:30
Advection::computeQpResidual
virtual Real computeQpResidual()
Definition:
Advection.C:38
Advection::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned)
Definition:
Advection.h:34
Advection::_tau_type
MooseEnum _tau_type
Definition:
Advection.h:36
INSBase
This class computes strong and weak components of the INS governing equations.
Definition:
INSBase.h:24
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16