www.mooseframework.org
navier_stokes
include
kernels
INSMomentumTimeDerivative.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 "TimeDerivative.h"
13
14
// Forward Declarations
15
class
INSMomentumTimeDerivative
;
16
17
template
<>
18
InputParameters
validParams<INSMomentumTimeDerivative>
();
19
25
class
INSMomentumTimeDerivative
:
public
TimeDerivative
26
{
27
public
:
28
INSMomentumTimeDerivative
(
const
InputParameters & parameters);
29
30
virtual
~INSMomentumTimeDerivative
() {}
31
32
protected
:
33
virtual
Real
computeQpResidual
();
34
virtual
Real
computeQpJacobian
();
35
virtual
Real
computeQpOffDiagJacobian
(
unsigned
jvar);
36
37
// Parameters
38
const
MaterialProperty<Real> &
_rho
;
39
};
40
validParams< INSMomentumTimeDerivative >
InputParameters validParams< INSMomentumTimeDerivative >()
Definition:
INSMomentumTimeDerivative.C:16
INSMomentumTimeDerivative::computeQpResidual
virtual Real computeQpResidual()
Definition:
INSMomentumTimeDerivative.C:31
INSMomentumTimeDerivative::_rho
const MaterialProperty< Real > & _rho
Definition:
INSMomentumTimeDerivative.h:38
INSMomentumTimeDerivative::~INSMomentumTimeDerivative
virtual ~INSMomentumTimeDerivative()
Definition:
INSMomentumTimeDerivative.h:30
INSMomentumTimeDerivative
This class computes the time derivative for the incompressible Navier-Stokes momentum equation.
Definition:
INSMomentumTimeDerivative.h:25
INSMomentumTimeDerivative::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
INSMomentumTimeDerivative.C:37
INSMomentumTimeDerivative::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition:
INSMomentumTimeDerivative.C:43
INSMomentumTimeDerivative::INSMomentumTimeDerivative
INSMomentumTimeDerivative(const InputParameters ¶meters)
Definition:
INSMomentumTimeDerivative.C:25
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16