www.mooseframework.org
PresetAcceleration.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef PRESETACCELERATION_H
8 #define PRESETACCELERATION_H
9 
10 #include "PresetNodalBC.h"
11 
18 class PresetAcceleration : public PresetNodalBC
19 {
20 public:
21  PresetAcceleration(const InputParameters & parameters);
22 
23 protected:
24  virtual Real computeQpValue();
25 
26  const VariableValue & _u_old;
27  const Real _scale_factor;
28  Function & _function;
29  const VariableValue & _vel_old;
30  const VariableValue & _accel_old;
31  const Real _beta;
32 };
33 
34 template <>
35 InputParameters validParams<PresetAcceleration>();
36 
37 #endif /* PRESETACCERELATION_H */
InputParameters validParams< PresetAcceleration >()
const VariableValue & _u_old
const VariableValue & _vel_old
PresetAcceleration(const InputParameters &parameters)
const VariableValue & _accel_old
virtual Real computeQpValue()
This class prescribes the acceleration on a given boundary in a given direction.