aerosandbox.dynamics.rigid_body.common_rigid_body
#
Module Contents#
Classes#
Helper class that provides a standard way to create an ABC using |
- class aerosandbox.dynamics.rigid_body.common_rigid_body._DynamicsRigidBodyBaseClass(mass_props=None, **state_variables_and_indirect_control_variables)[source]#
Bases:
aerosandbox.dynamics.point_mass.common_point_mass._DynamicsPointMassBaseClass
,abc.ABC
Helper class that provides a standard way to create an ABC using inheritance.
- Parameters:
mass_props (aerosandbox.MassProperties) –
- property op_point[source]#
Returns an OperatingPoint object that represents the current state of the dynamics instance.
This OperatingPoint object is effectively a subset of the state variables, and is used to compute aerodynamic forces and moments.
- property rotational_kinetic_energy[source]#
Computes the kinetic energy [J] from rotational motion.
KE = 0.5 * I * w^2
- Returns:
Kinetic energy [J]
- property kinetic_energy[source]#
Computes the kinetic energy [J] from translational and rotational motion.
KE = 0.5 * m * v^2 + 0.5 * I * w^2
- Returns:
Kinetic energy [J]
- abstract add_moment(Mx=0, My=0, Mz=0, axes='body')[source]#
Adds a moment (in whichever axis system you choose) to this Dynamics instance.
- Parameters:
Mx (Union[float, aerosandbox.numpy.ndarray]) – Moment about the x-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm]
My (Union[float, aerosandbox.numpy.ndarray]) – Moment about the y-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm]
Mz (Union[float, aerosandbox.numpy.ndarray]) – Moment about the z-axis in the axis system chosen. Assumed these moments are applied about the center of mass. [Nm]
axes – The axis system that the specified moment is in. One of: * “geometry” * “body” * “wind” * “stability” * “earth”
- Return type:
None
Returns: None (in-place)