PRIMER 22.1

Create Lower Leg Impact Models

Create Lower Leg Impact Models

First set the Type to Lower Leg Impacts.

Automatically create points

You then need to set how you want to automatically create impact points. There are a number of ways to do this:

  • Define a distance between points
  • Define N points per zone (GTR / UN R127 only)
  • Nothing

If you set the Method to Define Distance, you will need to select the distance between points.

If you set the Method to N points, you will need to select the number of points and a spacing factor.

The spacing factor can be in the range 0-N, where 0 will put the impact points on the edge of the zone and N will put them all at the centre. Set it to 1 to space the points equally.

N=2, Spacing factor = 0

N=2, Spacing factor = 1

N=2, Spacing factor = 2

You can set the Method to Nothing, in which case no points will be created automatically.

To create models you will need to create points manually.

Manually create points

Pressing the CREATE MANUALLY button will bring up a menu where you can manually create impact points.

Press the PICK button to start picking points on the vehicle. If you select outside the markup line boundaries then a point will not be created.

Once you have selected all the points you want, press the FINISH button in the window that has popped up.

The menu will be filled with the labels and coordinates of the points created.

If you have created enough points you can move to different pages in the menu to view them.

You can also edit the coordinates by typing in the appropriate textboxes. Only the X and Y coordinate can be modified as the Z coordinate is specified below.

To view the points press SKETCH ALL or SKETCH

To delete points press DELETE ALL or DELETE

Once you have finished press the FINISH button to close the menu.

Build Models

To build models, the pedestrian markup tool uses PRIMERs model build from a CSV file functionality. You can either write out a CSV file and then use the model build menu or you can build the models directly in the pedestrian markup tool.

Lower leg

For lower leg impacts you need to specify the Z coordinate of the bottom of the impactor. By default this is set to 25mm above the ground level.

Now select where you want to save the CSV file that will be used by PRIMERs model build function.

The WRITE button should now become active, meaning you can write out the CSV file. However, this will only write out data for each impact point (name and coordinates). To be able to build the models more information is required (see Appendix N ), e.g.

  • The location of the vehicle keyword file
  • The location of the impactor keyword file
  • Information on the impactor orientation
  • How to depenetrate the impactor from the vehicle

This information needs to be written to the top of the CSV file and can be specified here via a template and additional options. The lower legform template can be automatically selected using the following PRIMER preference:

primer*pm_lower_leg_template: <lower legform template file with full path>

The Impactor Parameters menu may be used to create a template file if one doesn't exist. The template file should only need to be created once for each vehicle-impactor combination.

Impactor Params button (lower leg) Impactor Params menu (lower leg)

If you don't select a template file comments are written at the top of the CSV file showing what needs to be in the template file:

$ -----------------------------------------------------------------------
$ THE FOLLOWING NEEDS TO BE HAND EDITED
$
$ Remove the '$$'s from the following lines and put in the correct values
$
$ MODELS
$ ------
$$ model, <model_filename>
$$ impactor, <impactor_filename>
$
$ IMPACTOR ORIENTATION
$ --------------------
$$ orient, define, <coord system name/id>
$$ or
$$ orient, nodes, <base node name/id>, <x node name/id>, <y node name/id>
$
$ DEPENETRATION METHOD
$ --------------------
$
$$ depenetrate, contact, <contact name/id>, <dof (X, XZ or XYZ)>
$$ or
$$ depenetrate, partset, <partset name/id>, <dof (X, XZ or XYZ)>
$
$ END OF SECTION THAT NEEDS TO BE HAND EDITED
$ --------------------------------------------

Additional optional information that can be used by the model build (from csv) function may be specified using the Run Parameters menu.

Run Params button Run Params menu

If you do select a template file the BUILD button should become active. If you press this the CSV file should get written out with the information from the template file copied into the top. Assuming the information is correct, the models should get built.