26 std::vector<dof_id_type> & dofs_j)
const override;
30 std::vector<dof_id_type> & dofs_j)
const override;
33 virtual void execute()
override;
ShaftConnectedMotorUserObject(const InputParameters ¶ms)
virtual Real getTorque() const override
virtual void initialize() override
const VariableValue & _shaft_speed
Shaft speed.
virtual Real getMomentOfInertia() const override
virtual void finalize() override
const Function & _torque_fn
Torque as a function of shaft speed.
Interface class for user objects that are connected to a shaft.
User object to provide data for a shaft-connected motor.
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void getTorqueJacobianData(DenseMatrix< Real > &jacobian_block, std::vector< dof_id_type > &dofs_j) const override
virtual void getMomentOfInertiaJacobianData(DenseMatrix< Real > &jacobian_block, std::vector< dof_id_type > &dofs_j) const override
virtual void execute() override
static InputParameters validParams()
const Function & _inertia_fn
Moment of inertia as a function of shaft speed.