www.mooseframework.org
navier_stokes
include
bcs
NSEnergyInviscidSpecifiedDensityAndVelocityBC.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
NSEnergyInviscidSpecifiedDensityAndVelocityBC
;
16
17
template
<>
18
InputParameters
validParams<NSEnergyInviscidSpecifiedDensityAndVelocityBC>
();
19
24
class
NSEnergyInviscidSpecifiedDensityAndVelocityBC
:
public
NSEnergyInviscidBC
25
{
26
public
:
27
NSEnergyInviscidSpecifiedDensityAndVelocityBC
(
const
InputParameters & parameters);
28
29
virtual
~NSEnergyInviscidSpecifiedDensityAndVelocityBC
() {}
30
31
protected
:
32
virtual
Real
computeQpResidual
();
33
virtual
Real
computeQpJacobian
();
34
virtual
Real
computeQpOffDiagJacobian
(
unsigned
jvar);
35
36
// Aux Variables
37
const
VariableValue &
_pressure
;
38
39
// Required parameters
40
Real
_specified_density
;
41
42
Real
_specified_u
;
// FIXME: Read these as a single RealVectorValue
43
Real
_specified_v
;
// FIXME: Read these as a single RealVectorValue
44
Real
_specified_w
;
// FIXME: Read these as a single RealVectorValue
45
};
46
NSEnergyInviscidSpecifiedDensityAndVelocityBC::NSEnergyInviscidSpecifiedDensityAndVelocityBC
NSEnergyInviscidSpecifiedDensityAndVelocityBC(const InputParameters ¶meters)
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.C:40
NSEnergyInviscidSpecifiedDensityAndVelocityBC::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.C:68
NSEnergyInviscidSpecifiedDensityAndVelocityBC::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.C:60
validParams< NSEnergyInviscidSpecifiedDensityAndVelocityBC >
InputParameters validParams< NSEnergyInviscidSpecifiedDensityAndVelocityBC >()
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.C:19
NSEnergyInviscidBC.h
NSEnergyInviscidSpecifiedDensityAndVelocityBC
The inviscid energy BC term with specified density and velocity components.
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:24
NSEnergyInviscidBC
This class corresponds to the inviscid part of the "natural" boundary condition for the energy equati...
Definition:
NSEnergyInviscidBC.h:36
NSEnergyInviscidSpecifiedDensityAndVelocityBC::_specified_u
Real _specified_u
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:42
NSEnergyInviscidSpecifiedDensityAndVelocityBC::computeQpResidual
virtual Real computeQpResidual()
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.C:52
NSEnergyInviscidSpecifiedDensityAndVelocityBC::_specified_density
Real _specified_density
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:40
NSEnergyInviscidSpecifiedDensityAndVelocityBC::_specified_v
Real _specified_v
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:43
NSEnergyInviscidSpecifiedDensityAndVelocityBC::_specified_w
Real _specified_w
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:44
NSEnergyInviscidSpecifiedDensityAndVelocityBC::_pressure
const VariableValue & _pressure
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:37
NSEnergyInviscidSpecifiedDensityAndVelocityBC::~NSEnergyInviscidSpecifiedDensityAndVelocityBC
virtual ~NSEnergyInviscidSpecifiedDensityAndVelocityBC()
Definition:
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h:29
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16