next up previous contents
Up: FG-User-Routines Previous: The FEMGV Resource File

Example of Moving Load File

  Defining moving loads in FEMGEN requires a moving load file that contains the moving load data and any picture data for the load display in FEMGEN. This Appendix describes the format of the moving load file. FEMGEN expects the data file to be either in the current working directory or in the directory specified by the environment variable FG_PRE_LOD.

The moving load file is free format with comments, keyword controlled and allows omission of data items to imply default values. The recognised keywords are as follows:

FEMGEN checks if the pivot point is one of the extremes in the sequence of point loads locations. If it is the case it is used as the front axle of the vehicle; if not or if the pivot point is not specified then the front axle is taken as the location of the first of the two extremes in the sequence of point load locations.

The only local coordinate system currently supported is the global cartesian system.

An example of moving load file is shown below.

C
C ********************************************************
C This file defines the loads for vehicle type h20-s16-t16
C and optional pictorial information.
C ********************************************************
C
C Load coordinate system as local x,y,z vectors.
C Xx Xy Xz Yx Yy Yz Zx Zy Zx
C Optional, default = global cartesian
C
system_definition
1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0
C
C Pivot point in local system
C Optional, default = location of the first defined point load
C
pivot_point
0 0 0
C
C Point loads as location x,y,z and value fx,fy,fz
C
point_load
  0 0 0 0 -8E3 0
point_load
  6 0 0 0 -32E3 0
point_load
 21 0 0 0 -32E3 0
point_load
 24 0 0 0 -16E3 0
C
C --- Pictoral data: (optional)
C
C Arc definitions for vehicle visualisation
C x1, y1, z1, x2, y2, z2, xc, yc, zc
C
arc_definition
0 0 0 1 1 0 0 1 0
arc_definition
1 1 0 0 2 0 0 1 0
arc_definition
0 2 0 -1 1 0 0 1 0
arc_definition
-1 1 0 0 0 0 0 1 0
c
arc_definition
6 0 0 7 1 0 6 1 0
arc_definition
7 1 0 6 2 0 6 1 0
arc_definition
6 2 0 5 1 0 6 1 0
arc_definition
5 1 0 6 0 0 6 1 0
c
arc_definition
21 0 0 22 1 0 21 1 0
arc_definition
22 1 0 21 2 0 21 1 0
arc_definition
21 2 0 20 1 0 21 1 0
arc_definition
20 1 0 21 0 0 21 1 0
c
arc_definition
24 0 0 25 1 0 24 1 0
arc_definition
25 1 0 24 2 0 24 1 0
arc_definition
24 2 0 23 1 0 24 1 0
arc_definition
23 1 0 24 0 0 24 1 0
C
C Straight Line definitions for vehicle visualisation
C x1, y1, z1, x2, y2, z2
C
line_definition
1.2 1 0 4.8 1 0
arc_definition
4.8 1 0 6 2.2 0 6 1 0
arc_definition
6 2.2 0 7.2 1 0 6 1 0
line_definition
7.2 1 0 7.6 1 0
line_definition
7.6 1 0 7.6 2.6 0
line_definition
7.6 2.6 0 2.5 2.6 0
line_definition
2.5 2.6 0 2.5 7 0
line_definition
2.5 7 0 -2 7 0
line_definition
-2 7 0 -2 2 0
line_definition
-2 2 0 -2.4 2 0
line_definition
-2.4 2 0 -2.4 1 0
line_definition
-2.4 1 0 -1.2 1 0
arc_definition
-1.2 1 0 0 2.2 0 0 1 0
arc_definition
0 2.2 0 1.2 1 0 0 1 0
line_definition
2.5 7 0 2.5 9 0
arc_definition
2.5 9 0 -2 7 0 2.5 7 0
c
line_definition
3.5 3 0 3.5 9 0
line_definition
3.5 9 0 28 9 0
line_definition
28 9 0 28 1 0
line_definition
28 1 0 25.2 1 0
arc_definition
25.2 1 0 24 2.2 0 24 1 0
line_definition
24 2.2 0 21 2.2 0
arc_definition
21 2.2 0 19.8 1 0 21 1 0
line_definition
19.8 1 0 10 1 0
line_definition
10 1 0 10 3 0
line_definition
10 3 0 3.5 3 0


 
Figure D.1: Representation of vehicle type h20-s16-t16 in FEMGEN
\begin{figure}
\centerline{
\psfig {figure=mvl1.ps,width=3.0in}
}\end{figure}


next up previous contents
Up: FG-User-Routines Previous: The FEMGV Resource File

Femsys Limited
8/18/1999