ADPressure applies a pressure on a given boundary in the direction defined by component.
More...
#include <ADPressure.h>
template<ComputeStage compute_stage>
class ADPressure< compute_stage >
ADPressure applies a pressure on a given boundary in the direction defined by component.
Definition at line 17 of file ADPressure.h.
◆ ADPressure()
template<ComputeStage compute_stage>
Definition at line 36 of file ADPressure.C.
37 : ADIntegratedBC<compute_stage>(parameters),
38 _component(getParam<unsigned int>(
"component")),
40 _function(isParamValid(
"function") ? &this->getFunction(
"function") :
nullptr),
41 _postprocessor(isParamValid(
"postprocessor") ? &this->getPostprocessorValue(
"postprocessor")
43 _alpha(getParam<Real>(
"alpha"))
◆ computeQpResidual()
template<ComputeStage compute_stage>
ADReal ADPressure< compute_stage >::computeQpResidual |
( |
| ) |
|
|
overrideprotected |
◆ validParams()
template<ComputeStage compute_stage>
InputParameters ADPressure< compute_stage >::validParams |
( |
| ) |
|
|
static |
Definition at line 20 of file ADPressure.C.
23 params.addClassDescription(
"Applies a pressure on a given boundary in a given direction");
24 params.addRequiredRangeCheckedParam<
unsigned int>(
25 "component",
"component <= 2",
"The component for the pressure");
26 params.addParam<Real>(
"constant", 1.0,
"The magnitude to use in computing the pressure");
27 params.addParam<FunctionName>(
"function",
"The function that describes the pressure");
28 params.addParam<PostprocessorName>(
"postprocessor",
29 "Postprocessor that will supply the pressure value");
30 params.addParam<Real>(
"alpha", 0.0,
"alpha parameter required for HHT time integration scheme");
31 params.set<
bool>(
"use_displaced_mesh") =
true;
◆ _alpha
template<ComputeStage compute_stage>
_alpha Parameter for HHT time integration scheme
Definition at line 45 of file ADPressure.h.
◆ _component
template<ComputeStage compute_stage>
displacement component to apply the kernel to
Definition at line 36 of file ADPressure.h.
◆ _constant
template<ComputeStage compute_stage>
Pressure value constant factor, function factor, and postprocessor factor.
Definition at line 39 of file ADPressure.h.
◆ _function
template<ComputeStage compute_stage>
const Function* const ADPressure< compute_stage >::_function |
|
protected |
◆ _postprocessor
template<ComputeStage compute_stage>
const PostprocessorValue* const ADPressure< compute_stage >::_postprocessor |
|
protected |
◆ usingIntegratedBCMembers
template<ComputeStage compute_stage>
ADPressure< compute_stage >::usingIntegratedBCMembers |
|
protected |
The documentation for this class was generated from the following files: