www.mooseframework.org
Functions
PressureAction.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< PressureAction > ()
 

Function Documentation

template<>
InputParameters validParams< PressureAction > ( )

Definition at line 14 of file PressureAction.C.

15 {
16  InputParameters params = validParams<Action>();
17  params.addClassDescription("Set up Pressure boundary conditions");
18 
19  params.addRequiredParam<std::vector<BoundaryName>>(
20  "boundary", "The list of boundary IDs from the mesh where the pressure will be applied");
21 
22  params.addParam<NonlinearVariableName>("disp_x", "The x displacement");
23  params.addParam<NonlinearVariableName>("disp_y", "The y displacement");
24  params.addParam<NonlinearVariableName>("disp_z", "The z displacement");
25 
26  params.addParam<std::vector<NonlinearVariableName>>(
27  "displacements",
28  "The displacements appropriate for the simulation geometry and coordinate system");
29 
30  params.addParam<std::vector<AuxVariableName>>("save_in_disp_x",
31  "The save_in variables for x displacement");
32  params.addParam<std::vector<AuxVariableName>>("save_in_disp_y",
33  "The save_in variables for y displacement");
34  params.addParam<std::vector<AuxVariableName>>("save_in_disp_z",
35  "The save_in variables for z displacement");
36 
37  params.addParam<Real>("factor", 1.0, "The factor to use in computing the pressure");
38  params.addParam<Real>("alpha", 0.0, "alpha parameter for HHT time integration");
39  params.addParam<FunctionName>("function", "The function that describes the pressure");
40  return params;
41 }