27 virtual void execute()
override;
virtual void finalize() override
const Function & _inertia_fn
Moment of inertia as a function of shaft speed.
virtual ADReal getTorque() const override
const Function & _torque_fn
Torque as a function of shaft speed.
User object to provide data for a shaft-connected motor.
const ADVariableValue & _shaft_speed
Shaft speed.
ADShaftConnectedMotorUserObject(const InputParameters ¶ms)
virtual ADReal getMomentOfInertia() const override
static InputParameters validParams()
virtual void initialize() override
Interface class for user objects that are connected to a shaft.
virtual void execute() override