trick/trick_sims/Ball
2019-07-10 11:36:09 -05:00
..
images Updates for Example Sims (#655) 2018-07-31 19:01:47 -05:00
models Create a simple Java graphics client for the Ball sims. Ref #472 2017-09-08 16:33:56 -05:00
SIM_ball_L1 DP file in SIM_ball_L1 does not work #302 2016-09-07 09:31:52 -05:00
SIM_ball_L2 Create a simple Java graphics client for the Ball sims. Ref #472 2017-09-08 16:33:56 -05:00
SIM_ball_L3 Create a simple Java graphics client for the Ball sims. Ref #472 2017-09-08 16:33:56 -05:00
README.md Updates for Example Sims (#655) 2018-07-31 19:01:47 -05:00

Ball Sims

SIM_ball_L1

This is a simulation of a ball under the influence of a force field. The force on the ball is of constant magnitude, and always directed toward a fixed point.

Picture of Sun

Inputs

Parameter Units Default
ball.force.input.origin[2] m { 0.0, 2.0 }
ball.force.input.force N 8.0
ball.state.input.mass kg 10.0
ball.state.input.speed m/s 2.0
ball.state.input.elevation rad 45 ° x (180/π)
ball.state.input.position[2] m { 5.0, 5.0 }

Outputs

Parameter Units
ball.state.output.position[2] m
ball.state.output.velocity[2] m
ball.state.output.acceleration[2] m

SIM_ball_L2

This simulation is a derivation of SIM_ball_L1. It uses Trick "dynamic-events" to simulate walls, off of which the ball can bounce.

Picture of Sun

Inputs

(In addition to those of SIM_ball_L1) These parameters define the coordinates of the walls.

Parameter Units Default
ball.force.input.floor_y_pos m -10.0
ball.force.input.right_wall_x_pos m 10.0
ball.force.ceiling_y_pos m 10.0
ball.force.left_wall_x_pos m -10.0

The outputs are the same as those of SIM_ball_L1.

SIM_ball_L3

This simulation is a derivation of SIM_ball_L2. The SIM_ball_L3 S_define instanciates two ballSimObject's rather than just one.