www.mooseframework.org
navier_stokes
include
bcs
NSPenalizedNormalFlowBC.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 "
NSIntegratedBC.h
"
13
14
// Forward Declarations
15
class
NSPenalizedNormalFlowBC
;
16
17
template
<>
18
InputParameters
validParams<NSPenalizedNormalFlowBC>
();
19
24
class
NSPenalizedNormalFlowBC
:
public
NSIntegratedBC
25
{
26
public
:
27
NSPenalizedNormalFlowBC
(
const
InputParameters & parameters);
28
29
protected
:
33
virtual
Real
computeQpResidual
();
34
virtual
Real
computeQpJacobian
();
35
virtual
Real
computeQpOffDiagJacobian
(
unsigned
jvar);
36
37
// Required parameters
38
const
Real
_penalty
;
39
const
Real
_specified_udotn
;
40
};
41
NSPenalizedNormalFlowBC::_specified_udotn
const Real _specified_udotn
Definition:
NSPenalizedNormalFlowBC.h:39
NSPenalizedNormalFlowBC::NSPenalizedNormalFlowBC
NSPenalizedNormalFlowBC(const InputParameters ¶meters)
Definition:
NSPenalizedNormalFlowBC.C:26
NSPenalizedNormalFlowBC
This class penalizes the the value of u.n on the boundary so that it matches some desired value.
Definition:
NSPenalizedNormalFlowBC.h:24
validParams< NSPenalizedNormalFlowBC >
InputParameters validParams< NSPenalizedNormalFlowBC >()
Definition:
NSPenalizedNormalFlowBC.C:16
NSPenalizedNormalFlowBC::_penalty
const Real _penalty
Definition:
NSPenalizedNormalFlowBC.h:38
NSPenalizedNormalFlowBC::computeQpOffDiagJacobian
virtual Real computeQpOffDiagJacobian(unsigned jvar)
Definition:
NSPenalizedNormalFlowBC.C:48
NSIntegratedBC
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
Definition:
NSIntegratedBC.h:29
NSPenalizedNormalFlowBC::computeQpJacobian
virtual Real computeQpJacobian()
Definition:
NSPenalizedNormalFlowBC.C:41
NSPenalizedNormalFlowBC::computeQpResidual
virtual Real computeQpResidual()
The standard interface functions.
Definition:
NSPenalizedNormalFlowBC.C:34
NSIntegratedBC.h
Generated on Sat Jan 25 2020 12:04:37 for www.mooseframework.org by
1.8.16