www.mooseframework.org
Classes | Functions
CavityPressureUOAction.h File Reference

Go to the source code of this file.

Classes

class  CavityPressureUOAction
 

Functions

template<>
InputParameters validParams< CavityPressureUOAction > ()
 

Function Documentation

template<>
InputParameters validParams< CavityPressureUOAction > ( )

Definition at line 13 of file CavityPressureUOAction.C.

14 {
15  InputParameters params = validParams<Action>();
16  params.addParam<Real>("initial_pressure", 0, "The initial pressure in the cavity");
17  params.addParam<std::vector<PostprocessorName>>("material_input",
18  "The name of the postprocessor(s) that holds the "
19  "amount of material injected into the cavity");
20  params.addRequiredParam<Real>("R", "The universal gas constant for the units used");
21  params.addRequiredParam<PostprocessorName>(
22  "temperature", "The name of the average temperature postprocessor value");
23  params.addParam<Real>("initial_temperature", "Initial temperature (optional)");
24  params.addRequiredParam<PostprocessorName>("volume",
25  "The name of the internal volume postprocessor value");
26  params.addParam<Real>(
27  "startup_time",
28  0,
29  "The amount of time during which the pressure will ramp from zero to its true value");
30  params.addParam<std::string>("output", "The name to use for the cavity pressure value");
31  params += validParams<SetupInterface>();
32  params.set<MultiMooseEnum>("execute_on") = "linear";
33  return params;
34 }