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

Go to the source code of this file.

Classes

class  DistributedPower
 The DistributedPower kernel computes the kinetic energy contribution of the body force due to total energy in an element. More...
 

Functions

template<>
InputParameters validParams< DistributedPower > ()
 

Function Documentation

◆ 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 }