www.mooseframework.org
tensor_mechanics
include
bcs
CoupledPressureBC.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 "IntegratedBC.h"
13
14
class
CoupledPressureBC
;
15
16
template
<>
17
InputParameters
validParams<CoupledPressureBC>
();
18
22
class
CoupledPressureBC
:
public
IntegratedBC
23
{
24
public
:
25
static
InputParameters
validParams
();
26
27
CoupledPressureBC
(
const
InputParameters & parameters);
28
29
protected
:
30
virtual
Real
computeQpResidual
()
override
;
31
33
const
unsigned
int
_component
;
35
const
VariableValue &
_pressure
;
36
};
CoupledPressureBC::computeQpResidual
virtual Real computeQpResidual() override
Definition:
CoupledPressureBC.C:37
CoupledPressureBC::CoupledPressureBC
CoupledPressureBC(const InputParameters ¶meters)
Definition:
CoupledPressureBC.C:29
CoupledPressureBC::_pressure
const VariableValue & _pressure
The values of pressure to be imposed.
Definition:
CoupledPressureBC.h:35
CoupledPressureBC
Pressure boundary condition using coupled variable to apply pressure in a given direction.
Definition:
CoupledPressureBC.h:22
CoupledPressureBC::_component
const unsigned int _component
Will hold 0, 1, or 2 corresponding to x, y, or z.
Definition:
CoupledPressureBC.h:33
validParams< CoupledPressureBC >
InputParameters validParams< CoupledPressureBC >()
CoupledPressureBC::validParams
static InputParameters validParams()
Definition:
CoupledPressureBC.C:17
Generated on Sat Jan 25 2020 12:04:44 for www.mooseframework.org by
1.8.16