https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ShaftConnectedMotor.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "Component.h"
13#include "ShaftConnectable.h"
14
19{
20public:
22
23 virtual void addVariables() override;
24 virtual void addMooseObjects() override;
25
26protected:
27 virtual void check() const override;
28
30 const FunctionName & _torque_fn_name;
32 const FunctionName & _inertia_fn_name;
33
34public:
36};
Base class for THM components.
Definition Component.h:32
Interface class for components that connect to a shaft.
Motor to drive a shaft component.
const FunctionName & _torque_fn_name
Torque function name.
virtual void addMooseObjects() override
virtual void check() const override
Check the component integrity.
static InputParameters validParams()
virtual void addVariables() override
const FunctionName & _inertia_fn_name
Moment of inertia function name.