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

Go to the source code of this file.

Classes

class  CavityPressureUserObject
 

Functions

template<>
InputParameters validParams< CavityPressureUserObject > ()
 

Function Documentation

template<>
InputParameters validParams< CavityPressureUserObject > ( )

Definition at line 11 of file CavityPressureUserObject.C.

12 {
13  InputParameters params = validParams<GeneralUserObject>();
14  params.addParam<Real>(
15  "initial_pressure",
16  0,
17  "The initial pressure in the cavity. If not given, a zero initial pressure will be used.");
18  params.addParam<std::vector<PostprocessorName>>("material_input",
19  "The name of the postprocessor(s) that holds the "
20  "amount of material injected into the cavity.");
21  params.addRequiredParam<Real>("R", "The universal gas constant for the units used.");
22  params.addRequiredParam<PostprocessorName>(
23  "temperature", "The name of the average temperature postprocessor value.");
24  params.addParam<Real>("initial_temperature", "Initial temperature (optional)");
25  params.addRequiredParam<PostprocessorName>(
26  "volume", "The name of the internal volume postprocessor value.");
27  params.addParam<Real>(
28  "startup_time",
29  0,
30  "The amount of time during which the pressure will ramp from zero to its true value.");
31  params.set<bool>("use_displaced_mesh") = true;
32 
33  params.addPrivateParam<std::string>("built_by_action", ""); // Hide from input file dump
34  return params;
35 }