WOLFRAM SYSTEM MODELER

Soccer

Soccer model with visualizers.

Diagram

Wolfram Language

In[1]:=
SystemModel["EducationExamples.Physics.GolfAndSoccer.Components.Soccer"]
Out[1]:=

Information

 

Soccer Component

 

Soccer Ball Model

The soccer ball model consists of three visualizer arrows that show the Magnus force, drag force, and velocity vector. The golf component also contains a Modelica Standard Library MultiBody bodyShape component, some visualizer components with different CAD shapes used in the animation, and Magnus and drag forces.

Above is the diagram view of the soccer ball component. The aerodynamic forces are calculated in the MagnusForce and DragForce components.

 

Parameters (6)

ballMass

Value: 999

Type: Mass (kg)

Description: Mass of the ball

ballRadius

Value: 999

Type: Length (m)

Description: Radius of the ball

temp

Value: 293.15

Type: Real

Description: Temperature of the air

initVel

Value: {15, 5, 2}

Type: Velocity[3] (m/s)

initAngVel

Value: {0, 50, 10}

Type: AngularVelocity[3] (rad/s)

initPos

Value: {-45, 0, -50}

Type: Position[3] (m)

Description: Starting position of ball

Connectors (4)

frame_a1

Type: Frame_a

frame_b

Type: Frame_b

frame_world

Type: Frame_a

frame_transl

Type: Frame_a

Components (13)

ball

Type: BodyShape

magnusForce

Type: MagnusForce

dragForce

Type: DragForce

visualizerSoccer

Type: FixedShape

visSoccerField

Type: FixedShape

fixedTranslation

Type: FixedTranslation

goalTag2Pos

Type: FixedTranslation

goalTag1Pos

Type: FixedTranslation

visualizergoal1Tag

Type: FixedShape

visualizergoal2Tag

Type: FixedShape

velArrow

Type: FixedArrow

magnusVisualizer

Type: FixedArrow

dragVisualizer

Type: FixedArrow

Used in Components (1)

Ball

EducationExamples.Physics.GolfAndSoccer.Components

Ball subject to magnus forces.