www.mooseframework.org
navier_stokes
include
kernels
NSGravityForce.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 "
NSKernel.h
"
13
14
// Forward Declarations
15
class
NSGravityForce
;
16
17
template
<>
18
InputParameters
validParams<NSGravityForce>
();
19
20
class
NSGravityForce
:
public
NSKernel
21
{
22
public
:
23
NSGravityForce
(
const
InputParameters & parameters);
24
25
protected
:
26
virtual
Real
computeQpResidual
();
27
virtual
Real
computeQpJacobian
();
28
virtual
Real
computeQpOffDiagJacobian
(
unsigned
int
jvar);
29
30
const
Real
_acceleration
;
31
};
32
NSGravityForce::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSGravityForce.C:39
NSGravityForce::_acceleration
const Real _acceleration
Definition:
NSGravityForce.h:30
NSGravityForce::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSGravityForce.C:32
NSKernel
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition:
NSKernel.h:29
validParams< NSGravityForce >
InputParameters validParams< NSGravityForce >()
Definition:
NSGravityForce.C:16
NSGravityForce
Definition:
NSGravityForce.h:20
NSGravityForce::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition:
NSGravityForce.C:45
NSKernel.h
NSGravityForce::NSGravityForce
NSGravityForce(const InputParameters ¶meters)
Definition:
NSGravityForce.C:26
Generated on Sat Jan 25 2020 12:04:38 for www.mooseframework.org by
1.8.16