www.mooseframework.org
navier_stokes
include
bcs
NSEnergyInviscidSpecifiedBC.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 "
NSEnergyInviscidBC.h
"
13
14
// Forward Declarations
15
class
NSEnergyInviscidSpecifiedBC
;
16
17
template
<>
18
InputParameters
validParams<NSEnergyInviscidSpecifiedBC>
();
19
23
class
NSEnergyInviscidSpecifiedBC
:
public
NSEnergyInviscidBC
24
{
25
public
:
26
NSEnergyInviscidSpecifiedBC
(
const
InputParameters & parameters);
27
28
protected
:
29
virtual
Real
computeQpResidual
();
30
virtual
Real
computeQpJacobian
();
31
virtual
Real
computeQpOffDiagJacobian
(
unsigned
jvar);
32
33
// Required parameters
34
const
Real
_specified_pressure
;
35
const
Real
_un
;
36
37
private
:
38
// Helper Jacobian function
39
Real
computeJacobianHelper
(
unsigned
var_number);
40
};
41
NSEnergyInviscidSpecifiedBC::computeJacobianHelper
Real computeJacobianHelper(unsigned var_number)
Definition:
NSEnergyInviscidSpecifiedBC.C:52
NSEnergyInviscidSpecifiedBC::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSEnergyInviscidSpecifiedBC.C:37
NSEnergyInviscidSpecifiedBC::NSEnergyInviscidSpecifiedBC
NSEnergyInviscidSpecifiedBC(const InputParameters ¶meters)
Definition:
NSEnergyInviscidSpecifiedBC.C:23
NSEnergyInviscidSpecifiedBC::_un
const Real _un
Definition:
NSEnergyInviscidSpecifiedBC.h:35
NSEnergyInviscidBC.h
NSEnergyInviscidBC
This class corresponds to the inviscid part of the "natural" boundary condition for the energy equati...
Definition:
NSEnergyInviscidBC.h:36
validParams< NSEnergyInviscidSpecifiedBC >
InputParameters validParams< NSEnergyInviscidSpecifiedBC >()
Definition:
NSEnergyInviscidSpecifiedBC.C:16
NSEnergyInviscidSpecifiedBC
The inviscid energy BC term with specified pressure.
Definition:
NSEnergyInviscidSpecifiedBC.h:23
NSEnergyInviscidSpecifiedBC::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition:
NSEnergyInviscidSpecifiedBC.C:43
NSEnergyInviscidSpecifiedBC::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSEnergyInviscidSpecifiedBC.C:31
NSEnergyInviscidSpecifiedBC::_specified_pressure
const Real _specified_pressure
Definition:
NSEnergyInviscidSpecifiedBC.h:34
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16