www.mooseframework.org
Pressure.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 Function;
15 class Pressure;
16 
17 template <>
18 InputParameters validParams<Pressure>();
19 
23 class Pressure : public IntegratedBC
24 {
25 public:
26  static InputParameters validParams();
27 
28  Pressure(const InputParameters & parameters);
29 
30 protected:
31  virtual Real computeQpResidual();
32 
33  const int _component;
34 
35  const Real _factor;
36 
37  const Function * const _function;
38 
39  const PostprocessorValue * const _postprocessor;
40 
42  const Real _alpha;
43 };
Pressure
Pressure applies a pressure on a given boundary in the direction defined by component.
Definition: Pressure.h:23
Pressure::computeQpResidual
virtual Real computeQpResidual()
Definition: Pressure.C:46
Pressure::_alpha
const Real _alpha
_alpha Parameter for HHT time integration scheme
Definition: Pressure.h:42
Pressure::Pressure
Pressure(const InputParameters &parameters)
Definition: Pressure.C:33
Pressure::_factor
const Real _factor
Definition: Pressure.h:35
validParams< Pressure >
InputParameters validParams< Pressure >()
Pressure::_function
const Function *const _function
Definition: Pressure.h:37
Pressure::validParams
static InputParameters validParams()
Definition: Pressure.C:19
Pressure::_component
const int _component
Definition: Pressure.h:33
Pressure::_postprocessor
const PostprocessorValue *const _postprocessor
Definition: Pressure.h:39