www.mooseframework.org
navier_stokes
include
bcs
NSMomentumInviscidSpecifiedNormalFlowBC.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 "
NSMomentumInviscidBC.h
"
13
14
// Forward Declarations
15
class
NSMomentumInviscidSpecifiedNormalFlowBC
;
16
17
template
<>
18
InputParameters
validParams<NSMomentumInviscidSpecifiedNormalFlowBC>
();
19
24
class
NSMomentumInviscidSpecifiedNormalFlowBC
:
public
NSMomentumInviscidBC
25
{
26
public
:
27
NSMomentumInviscidSpecifiedNormalFlowBC
(
const
InputParameters & parameters);
28
29
protected
:
30
virtual
Real
computeQpResidual
();
31
virtual
Real
computeQpJacobian
();
32
virtual
Real
computeQpOffDiagJacobian
(
unsigned
jvar);
33
34
const
VariableValue &
_pressure
;
35
const
Real
_rhou_udotn
;
36
};
37
NSMomentumInviscidSpecifiedNormalFlowBC::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.C:39
NSMomentumInviscidBC.h
NSMomentumInviscidSpecifiedNormalFlowBC
Momentum equation boundary condition in which pressure is specified (given) and the value of the conv...
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.h:24
validParams< NSMomentumInviscidSpecifiedNormalFlowBC >
InputParameters validParams< NSMomentumInviscidSpecifiedNormalFlowBC >()
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.C:18
NSMomentumInviscidSpecifiedNormalFlowBC::_rhou_udotn
const Real _rhou_udotn
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.h:35
NSMomentumInviscidBC
This class corresponds to the inviscid part of the "natural" boundary condition for the momentum equa...
Definition:
NSMomentumInviscidBC.h:59
NSMomentumInviscidSpecifiedNormalFlowBC::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.C:45
NSMomentumInviscidSpecifiedNormalFlowBC::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.C:54
NSMomentumInviscidSpecifiedNormalFlowBC::NSMomentumInviscidSpecifiedNormalFlowBC
NSMomentumInviscidSpecifiedNormalFlowBC(const InputParameters ¶meters)
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.C:30
NSMomentumInviscidSpecifiedNormalFlowBC::_pressure
const VariableValue & _pressure
Definition:
NSMomentumInviscidSpecifiedNormalFlowBC.h:34
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16