SMACO Example

 

SMACO is an option of the SMAC Animation program which allows users to illustrate the simple movements that a free body would following during a collision.

The Following are the files in the Project:

File Name

Description

SMAC Occupant Example.si5

This is the main SI5 file. SI5 files are Smac Input files unit5

A simple offset impact.

SMAC Occupant Example.SA5

This is the SMAC Animation unit5 input file. SA5 is the suffix for input files for the SMAC Animation program. In this example we will go right to smac animation at completion of msmac, rather than the normal msmac graphics.

SMAC Occupant Example.SCE

This is a simple SCE scene file, simply displaying the origin. animation.

SMAC Occupant Example.VEH

This is the VEH file which is how we display the vehicle ‘top’ and interior in msmac animation.

SMAC Occupant Example.ACC

This is an include file which contains VEHob commands to display the acceleration vectors.

SMAC Occupant Example.SG5

This is the Smac Graphics Input unit5 file. Sg5 is the suffix for input files for the Smac Graphics program which displays the summary results of smac

 

This is a write-up to accompany some sample files prepared for the smaco option in smac Animation (mGraphics).

SMAC Occupant Example – Contained in the DEMOS directory

The project illustrates some of the changes to the smac Animation (mGraphics) program and the smaco option.

To run:

•    Open the SMAC Occupant Example Project file and the SMAC Occupant Exampl.SI5 m-smac input file will automatically open.

•    Run the SMAC Occupant Exampl.SI5 m-smac run

•    You can do this simply by clicking on the RUN button

•    Or you can select medit menu RUN and the msmac Run dialog will open.

Notice that in the Automatic Graphics Call section, smac Animation (mGraphics) is selected so the animation program will run on completion of msmac

 

Once msmac completes and the animation program is loaded, the program loads in 'space fixed' frame of reference with a simple circle display for the two 'occupants'

•    Press the space bar to animate

•    Once loaded and running try the following are some new key functions:

 

 

Key

Description

 

O, o

Pressing the o key toggles the 'occupant ball' display. Simple circle, circle with cross hatch at origin, filled polygon, filled polygon with cross hatch at origin

 

V, v

Pressing the v key toggles the display to vehicle-fixed (VF). Note that the F2-F5 keys can also be used to rotate the display.

 

S, s

Pressing the S key toggles the display to space-fixed (SF). Note that the F2-F5 keys can be used to rotate the display

 

 

NOTE: when swapping between SF and VF display the path from the other display may remain. Simply press R to rewind and the path will correct.

m-smac inputs:

You should run m-smac with 0.001 sec increments for all integration time increments and printout increments. Try to limit the duration of the run as the use of 0.001 printout produces a large amount of output files.

You can also use the variable output time increment option, msmac Input Card 1, Sequence 1 discussed below.

For this example, you will note that we set the Time history option to 1.0 (m­smac input card 9999, field 7). This is not required for smaco, but for this OCC1 demo, we are also going to display the acceleration vector during the display.


Variable Output time increment