www.mooseframework.org
Functions
DistributedPower.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesApp"  ,
DistributedPower   
)

◆ validParams< DistributedPower >()

template<>
InputParameters validParams< DistributedPower > ( )

Definition at line 16 of file DistributedPower.C.

17 {
18  InputParameters params = validParams<Kernel>();
19 
20  // The acceleration vector.
21  params.addParam<RealVectorValue>(
22  "acceleration",
23  RealVectorValue(0, 0, 0),
24  "The acceleration components for an applied distributed force in an element.");
25 
26  // Momentum components.
27  params.addRequiredCoupledVar("rho_u", "x-component of the momentum vector");
28  params.addCoupledVar("rho_v", "y-component of the momentum vector");
29  params.addCoupledVar("rho_w", "z-component of the momentum vector");
30 
31  return params;
32 }