modelQuadraticSpeedDependentForce

External force and torque acting at frame_b, defined by 3 input signals and resolved in world frame

Information

A force applied on frame_b which is quadratic dependent on the velocity of this frame. Both the measured velocity and the applied force are resolved in the same frame which is defined via parameter resolveInFrame as follows:

Types.ResolveInFrameA. Meaning
world Resolve input force in world frame (= default)
frame_a Resolve input force in frame_b
frame_resolve Resolve input force in frame_resolve (frame_resolve must be connected)

This model is e.g. suitable to simulate aerodynamic drag forces.

Parameters

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Types.ResolveInFrameAresolveInFrameModelica.Mechanics.MultiBody.Types.ResolveInFrameA.worldFrame in which output vector r_rel shall be resolved (1: world, 2: frame_a, 3: frame_resolve)
SI.ForceF_nominalNominal force (if negative, torque is acting as load)
SI.Velocityv_nominalNominal speed
SI.Torquetau_nominalNominal torque (if negative, torque is acting as load)
SI.AngularVelocityw_nominalNominal speed
Booleananimationtrue= true, if animation shall be enabled
Animation › If animation = true
RealN_to_mplanarWorld.defaultN_to_mForce arrow scaling (length = force/N_to_m)
RealNm_to_mplanarWorld.defaultNm_to_mTorque arrow scaling (length = torque/Nm_to_m)
SI.LengthzPositionplanarWorld.defaultZPositionPosition z of cylinder representing the fixed translation

Connectors

TypeNameDefaultDescription
Interfaces.Frame_bframe_bCoordinate system fixed to the component with one cut-force and cut-torque
Interfaces.Frame_resolveframe_resolveCoordinate system in which vector is optionally resolved, if useExtraFrame is true

Components

TypeNameDefaultDescription
PlanarWorldplanarWorldPlanar world model
SI.DiameterdiameterplanarWorld.defaultArrowDiameterHas no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)
MB.Types.ColorcolorPlanarMechanics.Types.Defaults.ForceColorColor of arrow
MB.Types.SpecularCoefficientspecularCoefficientplanarWorld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
SI.Force[3]forceworldForce.force
Sensors.AbsoluteVelocityabsoluteVelocity
WorldForceworldForce
Modelica.Blocks.Math.MatrixGainnormalizeSpeeds
Modelica.Blocks.Math.MatrixGainscaleForces
Utilities.Blocks.SquaretimesSignsquare

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control