Home
Reference Manuals
Return
Track Group Documentation
Users Manual for Program VAMPIRE2GENSYS
Table of Contents
Introduction
Postprocessing
Input data commands
Example
Introduction
Program VAMPIRE2GENSYS translates a Vampire input data file into Gensys format.
Postprocessing
Program VAMPIRE2GENSYS does a lot of the translation work.
However there are some translation work that needs to be done manually.
Before running program VAMPIRE2GENSYS:
- Change all $ to S in all variable names
In nedit this can be done by setting "Regular Expression" and replacing:
\$(.)
with:
S\1
- Change all @ to a in all variable names
In nedit this can be done by setting "Regular Expression" and replacing:
@(.)
with:
a\1
- Remove longitudinal offsets in car-bodies c.g.
In gensys the position of c.g. of all bodies are given relative to the local coordinate system of the body.
The local coordinate system is often located in the geometric mid point of the body.
In contrast Vampire defines c.g. of the bodies in absolute coordinates.
To avoid complicated expressions for all longitudinal positions of all couplings connected to the car-body,
please set c.g. in longitudinal direction of the car-body equal to its mid point.
When the translation is ready add the offset in c.g. to the car-body manually.
After running program VAMPIRE2GENSYS:
- Stiffness in longitudinal direction
In order to keep the speed up through long simulation it is necessary to apply a longitudinal force on the train-set.
The longitudinal force is applied via the spring kxcg.
Program VAMPIRE2GENSYS assumes that the total weight of the vehicle is 60e3 [kg].
In order to make a better assumption please make a better calculation of the total weight mvhe.
- Names of masses and couplings
In Vampire the user cannot set names on the masses and couplings.
Therefore they will in Gensys be called: mass0001, mass0002, ,,, etc.
In order to give more descriptive names of the masses and the couplings.
The names can be changed by replacing all occurrences of
massXXXX with something else by a text editor.
- Double signs
Replace +- or -+ expressions with a - sign
Replace ++ or -- expressions with a + sign
Input data commands
Input data is read in free format, valid separators between the input values are <space>,
<comma>, <tab>, <equal sign> or <carriage return>.
The commands can be written both in lower and upper case letters.
The operation of the program is controlled by the commands
described below; some of the commands also need arguments.
INFIL
- Vampire *.run-file
On the third line of the *.run-file program VAMPIRE2GENSYS expects to find the reference
to the Vampire *.veh-file.
If the name of the *.veh-file starts with the letters C: they will be removed from the file name.
Declared= Character*132 Default= Blank
UTFIL
- Output written in Gensys format.
Declared= Character*132 Default= Blank
Example of an input data file
Following example: Master.vampire2gensysf can be used as a master file:
##
## Input data for program VAMPIRE2GENSYS
##
INFIL= workegnl.run
UTFIL= workegnl.tsimf