www.mooseframework.org
Functions
NSGravityForce.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("NavierStokesApp", NSGravityForce)
 
template<>
InputParameters validParams< NSGravityForce > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesApp"  ,
NSGravityForce   
)

◆ validParams< NSGravityForce >()

template<>
InputParameters validParams< NSGravityForce > ( )

Definition at line 16 of file NSGravityForce.C.

17 {
18  InputParameters params = validParams<NSKernel>();
19  params.addClassDescription("This class computes the gravity force contribution.");
20  // The strength of the acceleration in the _component direction. Make this
21  // value negative if you want force in the -_component direction.
22  params.addRequiredParam<Real>("acceleration", "The body force vector component.");
23  return params;
24 }
validParams< NSKernel >
InputParameters validParams< NSKernel >()
Definition: NSKernel.C:22