This
This
This
UK
Arup Group Ltd The Arup Campus Blythe Gate Blythe Valley Park Solihull West Midlands B90 8AE United Kingdom Tel: +44 (0) 121 213 3399 Fax: +44 (0) 121 213 3302 Email: [email protected] Web: www.oasys-software.com/dyna
China
Arup 39/F-41/F Huai Hai Plaza Huai Hai Road (M) Shanghai China 200031 Tel: +86 21 6126 2875 Fax: +86 21 6126 2882 Email: [email protected] Web: www.oasys-software.com/dyna
India
Arup Plot 39, Ananth Info Park Opp. Oracle Campus HiTec City Madhapur Phase II Hyderabad 500081 India Tel: +91 40 4436 9797/98 Email: [email protected] Web: www.oasys-software.com/dyna or contact your local Oasys Ltd distributor
LS-DYNA, LS-OPT and LS-PrePost are registered trademarks of Livermore Software Technology Corporation
User manual Version 10.0, June 2011 Development History New Features for version 10.0 New Features for version 9.4.1 New Features for version 9.4 New Features for version 9.3 New Features for version 9.2 New Features for version 9.0 New Features for version 8.2 New Features for version 8.1 New Features for version 8.0 Text conventions used in this manual 1 Introduction 1.1 Program Limits 1.2 Running T/HIS 1.3 Command Line Options 2 Using Screen Menus 2.1 Basic screen menu layout 2.2 Mouse and keyboard usage for screen-menu interface 2.3 Dialogue input in the screen menu interface 2.4 Window management in the screen interface 2.5 Dynamic Viewing (Using the mouse to change views). 2.6 "Tool Bar" Options 3 GRAPHS AND PAGES 3.1 Creating Graphs 3.2 Page Size 3.3 Page Layouts 3.3.1 Automatic Page Layout 3.4 Pages 3.5 Active Graphs 4 Global Commands and Pages 4.1 Page Number 4.2 PLOT (PL) 4.3 POINT (PT) 4.4 CLEAR (CL) 4.5 ZOOM (ZM) 4.6 AUTOSCALE (AU) 4.7 CENTRE (CE) 4.8 MANUAL 4.9 STOP 4.10 TIDY 4.11 Additional Commands 5 Main Menu 5.0 Selecting Curves 5.1 READ Options 5.2 WRITE Options 5.3 Curve Manager 5.4 Model Manager 5.5 EDIT Options 5.6 LINE STYLES 5.7 Command / Session Files 5.8 IMAGE Options 5.9 OPERATE Options 5.10 MATHS Options 5.11 AUTOMOTIVE Options 5.12 SEISMIC Options 5.13 MACRO Options 5.14 FAST-TCF Options 5.15 TITLE/AXES/LEGEND Options 5.16 DISPLAY Options 5.17 SETTINGS 5.18 Preferences 5.19 Curve Groups 5.20 GRAPHS 5.21 PROPERTIES 5.22 UNITS 6 Other Options 6.1 Tool Bar 6.2 Graph Tool Bar 6.3 CURVE INFORMATION 6.4 Curve Histories ... 6.5 Keyboard Shortcuts
T/HIS 0.1 0.1 0.1 0.1 0.1 0.2 0.2 0.2 0.3 0.3 0.4 1.1 1.1 1.2 1.5 2.1 2.1 2.2 2.4 2.4 2.6 2.7 3.1 3.1 3.2 3.2 3.2 3.6 3.6 4.1 4.1 4.1 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.2 4.3 5.1 5.1 5.6 5.19 5.21 5.27 5.29 5.35 5.42 5.46 5.51 5.54 5.55 5.62 5.64 5.66 5.69 5.78 5.82 5.87 5.88 5.90 5.91 5.96 6.1 6.1 6.8 6.8 6.9 6.13 Page i
T/HIS 7 FAST-TCF 7.0 FAST-TCF OVERVIEW 7.1 FAST-TCF INTRODUCTION 7.2 PAGE / GRAPH LAYOUT AND SELECTION 7.3 INPUT SYNTAX TO LOAD OTHER FILES 7.4 INPUT FOR DATA EXTRACTION REQUESTS 7.5 UNITS 7.6 CURVE TAGS 7.6.4 Using Curve Numbers 7.7 CURVE GROUPS 7.8 PERFORMING FAST-TCF CURVE OPERATIONS 7.9 APPLYING EXTRA OPTIONS TO DATA REQUESTS 7.10 Setting properties for curves 7.11 FAST-TCF IMAGE OUTPUT OPTIONS 7.12 Outputting curve properties to text files, variables and REPORTER 7.13 FAST-TCF CURVE OUTPUT 7.14 FAST-TCF ADDITIONAL APPENDICES APPENDIX A - LS-DYNA Data Components APPENDIX B - T/HIS CURVE FILE FORMAT APPENDIX C - T/HIS BULK DATA FILE FORMAT APPENDIX D - FILTERING APPENDIX E - INJURY CRITERIA APPENDIX F - Curve Correlation APPENDIX G - The ERROR Calculation APPENDIX H - The "oa_pref" preference file APPENDIX I - Windows File Associations APPENDIX J - T-HIS JavaScript API global class APPENDIX K - Typed Commands Installation organisation Version 10.0 Installation structure
User manual Version 10.0, June 2011 7.1 7.1 7.2 7.7 7.8 7.9 7.21 7.23 7.24 7.25 7.26 7.29 7.30 7.32 7.39 7.43 7.44 A.1 A.2 B.1 C.1 D.1 E.1 F.1 G.1 H.1 I.1 J.1 K.1 L.1 L.1
Page ii
T/HIS
Development History
New Features for version 10.0
Manual Section Description New Curve History menu for viewing and modifying curves New JavaScript capability for creating and modifying curves New curve palette options for default curve colours New FAST-TCF wildcard options for specifying curve tags FAST-TCF - Outputting a range of curves to a file. Added support for CPM_SENSOR ASCII file Added support for TRHIST ASCII file and LSDA data 6.4 5,23 & Appendix J 5.6.6 & 5.17.3 7.6.3 7.13.1 Appendix A16 Appendix A.27
Page 0.1
T/HIS New Postscript Driver PDF output option 2 and 4 times screen resolution output options. Background images Extended colour palette plus user defined colours Enhanced FAST-TCF options Curve Groups New Curve Correlation Function Setting File Added support for shell and solid strain data components from LSDA file Added support for Airbag Part data components from LSDA file
User manual Version 10.0, June 2011 5.8.2 5.8.2 5.8.1.2 5.8.3 5.6.2 7.0 5.19 5.11.23 & Appendix F 5.17.4 Appendix A.5 & Appendix A.7 7.4.4 & Appendix A.16
5.10.6 & 5.10.7 5.11.8 & 5.11.10 5.11.9, 5.11.15, 5.11.16, Appendix E.6 & Appendix E.7 Curve Style manipulation 5.6 & Appendix B Curve Title and axis manipulation 5.12.8 Curve tags 5.15 & Appendix B Working with more than 1000 curves 5.14 LSDA file reading 5.1.1 SETTINGS menu 5.17 New Preference file options Appendix H Fast TCF: Fast, automated LS-DYNA results extraction and plotting using 7 T/HIS
Page 0.2
User manual Version 10.0, June 2011 Read KEYWORD option Read CSV option Write NASTRAN TABLE D1 option Write CSV option User defined Grid Intervals Multiple Y Axis New plot formats Improved COMbine function Improved Automotive filter functions New Preference file options 5.1.5 5.1.8 5.2.1 5.2.1 5.15.2 5.15.4 5.15.5.4 5.9.7 5.11 Appendix H
T/HIS
Page 0.3
T/HIS
Notation
Triangular, round and square brackets have been used as follows: Triangular To show generic items, and special keys. For example:<list of integers> <filename> <data component><return> <control Z> <escape> Round To show optional items during input, for example:<command> (<optional command>) (<optional number>) And also to show defaults when the computer prompts you, eg: Give new value (10) : Give model number (12) : Square To show advisory information at computer prompts, eg Give filename: [.key] : THIS >>> [H for Help] :
Page 0.4
T/HIS
1 Introduction
T/HIS is an x/y plotting program, specifically written to perform two functions: 1. 2. To produce time-history plots from transient analyses, such as those performed using LS-DYNA. To plot any form of x/y data that is produced either by a program or by directly typing in values.
T/HIS is a graphically driven, interactive program. Input and manipulation of data is through a graphical user interface on systems capable of running X-Windows applications; selections are made through "pressing buttons" using a mouse. On machines not capable of running X-Windows it is also possible to use T/HIS in a "command line" mode of operation; instructions are entered through the keyboard to perform the required operations.
However, a further 24 predefined colours are available if required and 6 user defined ones can be created. Title Labels The title can contain up to 80 characters. Labels for axes and lines can contain up to 80 characters.
Page 1.1
T/HIS
If your system has been customised locally you may have to use some other command or icon: consult your system manager in this case.
Page 1.2
T/HIS
Both the 32 and 64 bit versions of T/HIS use 32bit (single precision) numbers to store and plot data. The 32 bit version is limited to a maximum of 4GB of memory on all platform (3GB on windows).
1.2.2.1"Batch" Mode
T/HIS 10.0 can run in "batch" mode where the main application window is not displayed on the screen. "Batch" mode is available on all platforms and it can be used with both the OpenGL and MESA drivers. To start T/HIS in batch mode use the command line option "-batch". e.g. this10.exe -tcf=script.inp -batch When running in "batch" mode T/HIS will automatically exit at the end of the script regardless of whether or not "-exit" is specified. NOTE : All image, postscript and PDF outputs require a DISPLAY on UNIX / LINUX systems. If you are running T/HIS in "batch" mode as part of a automatic post processing script then T/HIS must have a X Windows DISPLAY even though the main window is not displayed. If the machine you are using is a server or part of a cluster without an X-Server then T/HIS can be used with the Xvfb software.
Page 1.3
T/HIS
You may have to use the raw network address if the machine name has not been added to your /etc/hosts file, or possibly the "yellow pages" server hosts file. (2) Your machine (strictly the X11 "server") has not been told to accept window manager requests from remote machines. This is usually the case when you are trying to display from a remote machine over a network, and you get the message similar to: Xlib: connection to "<hostname>" refused by server Xlib: Client is not authorised to connect to server In this case go to a window with a Unix prompt on your machine, and type: xhost + Which tells your window manager to accept requests from any remote client. It will produce a confirmatory message, which will be something like: access control disabled, clients can connect from any host If T/HIS still fails to work then please contact your system manager, or contact Oasys Ltd for advice and help.
Page 1.4
User manual Version 10.0, June 2011 Q - (Quit) Abort and return to current menu ! - Go up a level in the menu structure / - Return to the top level menu ; - Equivalent to a <carriage return> in a string of commands M - Lists menu. Several commands can be strung together on one line, separated by spaces, for example: /DE GR ON Numeric data can also be included in the command line if required, for example: /OP ADX #1 7.2 # Commands can be in upper or lower case. As well as menu level commands you will be asked questions such as: THF file to read (filename_1)? The default response, if one exists, is given in parentheses.
T/HIS
Command file name FAST-TCF input file Settings file LS-DYNA Model
All the files associated with the model eg run_1.thf This should be the last argument on the are opened and the contents scanned. command line. LS-DYNA Model list -model_list=<filename> The model list file should contain the full pathname of one file from each model that Specify a file containing a list of eg -model_List=job_list T/HIS should open. Each file should be on a models for T/HIS to automatically seperate line and it should be the first item on open. each line (other items seperated with commas can be specified on the same line for use with REPORTER).
Page 1.5
User manual Version 10.0, June 2011 The model database file is an XML format file that contains information on where models are located along with a brief description of each model The model database can be used to easily select multiple models..
Specify the name of the default model eg -mdb=database.xml database file. T/HIS curve file -cur=<filename> or -curve=<filename>
Specify a T/HIS curve file containing one or more curves for T/HIS to automatically open. eg -cur=test.cur T/HIS curve file list -curve_list=<filename> The curve list file should contain the full or -curve=<filename> pathname of each cure file that you want T/HIS Specify a file containing a list of curve to open. Each file should be on a separate line. files for T/HIS to automatically open. eg -cur=test.cur T/HIS bulk data file -bdf=<filename> Specify a T/HIS BDF file containing one or more curves for T/HIS to automatically open. Automatically maximises the T/HIS window so that it occupies the full screen. Specify a directory for T/HIS to start in. Set the width of the T/HIS graph window (in pixels) Set the height of the T/HIS graph window (in pixels) eg -bdf=test.cur -maximise -start_in=<directory> Any valid directory -xres=<size> eg -xres=800 -yres=<size> Windows only. For this option to work you must also specify a command file "-cf=filename" and the name of the PTF file to open. This option will automatically set "-exit" so that D3PLOT terminates after playing the command file. -eo=<filename> is designed for the user to suppress the console and redirect logfile output to the specified filename. In order to permit multiple sessions to coexist on the same machine the process id will be appended to the <name> part of the filenameto give <name>_pid.<ext>. If plain "-eo" or "-eo=default" are found then filename generation is automatic, and the first valid of: %TEMP%\this_log_<pid>.txt %TMP%\this_log_<pid>.txt %HOMESHARE%\this_log_<pid>.txt %USERPROFILE%\this_log_<pid>.txt will be used. Stop and exit after command file Some examples for T/HIS might be: pathname/this10.exe -d=x run_2.thf pathname/this10.exe -d=tty cf=batch.tcf -exit (Use device X, open a .thf file) (No graphics, run command file) -exit
eg -yres=600 Run T/HIS without the console -noconsole window. Run T/HIS in "batch" mode where the -batch main application window is not displayed on the screen.
Redirect output from the console window to a file on Windows. To redirect output on Unix/Linux use the shell redirection options (typically > for <stdout>, & for <stderr>)
Page 1.6
User manual Version 10.0, June 2011 Note that no spaces should be left in the syntax <arg>=<value>. For example: "-d = x" is illegal. Correct syntax is:"-d=x"
T/HIS
Page 1.7
T/HIS
Page 1.8
T/HIS
The various sub-windows always exist within the master window, and may be moved and resized at will inside it. They will keep their relative size and position as the master window is changed in size and/or shape, and will reappear after the main window is de-iconised.
Page 2.1
These windows cannot be dismissed. A brief description of their functions is: Main Menu Options Graphics area Provides access to the majority of the commands and options available in T/HIS through a series of sub menus (see Section 6). Is where graphs are drawn. In T/HIS 9.4 this area can contain a maximum of 32 graphs (see Section 3). Alternativley if graphs have been organised into pages (see Section 3.3) then this area will display a single page of graphs.
Dialogue & list Allows "command-line" input and output, also provides a listing area for messages. Menu Area Displays the commands and options associated the current selection fromthe main menu options.
Global Gives access to commonly used commands (see Section 4). Commands While you are free to reposition these master windows it is recommended that you keep to this default layout. This is because when further sub-windows appear their position and size is designed assuming this layout, and aims to obscure as little useful information as possible.
Page 2.2
T/HIS
Buttons may also be greyed out to indicate that the option is not currently available. Buttons with "..." after them will usually invoke sub-menus. "Popup" window invocation: Buttons with an ">" symbol may be selected normally with the left mouse button, but if the right mouse button is depressed over them it will invoke a "popup" window. Holding the right mouse button down move the cursor into this window to make a selection, or move elsewhere and release the button to deactivate the popup.
SLIDERS: Sliders are moved by clicking on the slider button itself, and then dragging it to a new position. They may also be moved automatically by clicking on, and holding down, one of the arrows at either end. TEXT BOXES: To enter text in a text box: first make it "live" by clicking on it, then type in text, then type <return> to enter the string. Clicking on a "live" box for a second time is exactly the same as typing <return>, so clicking twice on a box effectively enters its current contents. You can use the left and right arrow keys for line editing within a box: text entry takes place after the current cursor position. RADIO BOXES A "radio" set is provided where only one selection is possible from a range of options. In this example the postscript laser output has been set to a single image per page.
MENU SELECTIONS: Menus of items are used when you need to make one or more selections from a (potentially) long list. Click on the row you want to select: clicking on a row that is already selected will have the effect of unselecting it. When the list is too long to display in the window you can use the vertical scroll-bars to move up and down it. A range of items may be selected by either 1) Click on the first item and hold down the mouse key, drag the mouse to the last item in the list. All items between the first and last including the first and last are selected. or 2) Click on the first item, hold down the SHIFT key and click on the last item in the list. All items between the first and last including the first and last are selected.
Page 2.3
T/HIS
As this example shows the dialogue box is also used for listing messages, warnings and errors to the screen. It can be scrolled back and forth (its buffer is 200 lines long) to review earlier messages. The following colours are used: Normal messages and prompts Text typed in by you Warning messages Error messages Yellow White Magenta Red
There is a minor limitation when mixing command-line and screen-menu mode: you cannot perform the same function simultaneously in both modes. If you attempt to do so you will get the message: WARNING: recursive access attempted And you will not be permitted to continue.
Page 2.4
T/HIS
If a window has got too small for its contents then horizontal and/or vertical scrollbars will appear. Click on a scrollbar slider and move it to the desired position, the window contents will scroll as you do so. Alternatively click on the arrows at either end of the scrollbar for timed motion in that direction. Click on the button in the top right hand corner of the window. When a window has been iconised it will appear in the ICON area at the bottom of the screen. Iconised windows may be restored by clicking on the icon in the ICON area.
Page 2.5
T/HIS
The cursor symbol is yellow, and looks like: The relationship between mouse and image motion is intuitive: the object tracks the mouse motion in the screen XY plane. The initial position of the mouse is irrelevant.
The cursor symbol is green, and looks like: Mouse motion to the right and up makes the image larger, left and down smaller. The initial position of the mouse is irrelevant. A horizontal movement will scale just the x-axis while a vertical movement will scale just the y-axis.
Page 2.6
T/HIS
If the graphics box is maximised to take up the whole of the main window these buttons can be used to access the rest of the T/HIS menus without having to resize the graphics box between commands. Almost all of the options and functions in these menus may also be accessed from other menu locations, e.g. the Main Menu area.
Page 2.7
T/HIS
Page 2.8
T/HIS
Page 3.1
T/HIS
When new graphs are created the initial settings for each graph can be copied from 3 different sources. Create using preference settings Create using current settings Copy settings from graph n The Display and Axis Settings are copied from the preference file. The Display and Axis Settings are copied from the current settings in the Display and Axis menus. The Display and Axis Settings are copied from the specified graph.
Page 3.2
User manual Version 10.0, June 2011 Tile Tall All of the graphs are positioned on a single page.
T/HIS
2x2 Graphs are arranged in a 2 by 2 grid. If there are more than 4 graphs then graphs 1 to 4 are positioned on page 1, 5 to 8 on page 2 ...
Page 3.3
T/HIS 3x3 Graphs are arranged in a 3 by 3 grid. If there are more than 9 graphs then graphs 1 to 9 are positioned on page 1, 10 to 18 on page 2 ...
Advanced
The Advanced option displays the Page Layout menu. This menu can be used to select which graphs appear on each page. Each graph can appear on more than one page. A range of graphs can be added/removed from pages by selecting the first graph/page combination and then holding down SHIFT while selecting the second graph/page.
Each page can have a different layout or they can all be the same.
Page 3.4
T/HIS
With the Advanced option the Graph Layout options work in exactly the same way as the Automatic Page Layout options, except they only position the graphs defined on each page. If for example T/HIS has 6 graphs defined and graphs 2,3,4,5 are defined on page 1 and graphs 1 and 6 are on page 2 then the different graph layout options would produce the following. Page 1 Tile Wide Page 2
Tile Tall
Cascade
Page 3.5
T/HIS 2x2
3x3
XxY
3.4 Pages
T/HIS can have a maximum of 32 pages, each page can contain multiple graphs. For more information on selecting the currently displayed page see Section 4.1. The Image Output options and the FAST-TCF Create option can produce output for either a single page or multiple pages if graphs are located on more than one page.
Page 3.6
User manual Version 10.0, June 2011 The options in the Display and Title/Axes menus that control the appearance of graphs are only applied to active graphs.
T/HIS
When new curves are created by reading in data from files the new curves are automatically unblanked in all of the currently active graphs and blanked in any inactive graphs.
Page 3.7
T/HIS
Page 3.8
T/HIS
Page 4.1
T/HIS
4.8 MANUAL
Displays the online (HTML) version of the manual
4.9 STOP
Some operations, like reading a file containing many curves in to T/HIS, can take a long time. This button can be used to stop some long opertaions without having to exit from T/HIS.
4.10 TIDY
This option can be used to reset the menu layout to the default settings.
Page 4.2
T/HIS
Page 4.3
T/HIS
Page 4.4
T/HIS
5 Main Menu
5.1 READ Options 5.2 WRITE Options 5.3 CURVE Manager 5.4 MODEL Manager 5.5 EDIT Options 5.6 STYLE Menu 5.7 Command File 5.8 IMAGE Options 5.9 OPERATE Options 5.10 MATHS Options 5.11 AUTOMOTIVE Options 5.12 SEISMIC Options 5.13 MACRO Options 5.14 FAST-TCF Options 5.15 TITLE/AXES Options 5.16 DISPLAY Options 5.17 SETTINGS Menu 5.18 PREFERENCES Menu 5.19 GROUPS Menu 5.20 GRAPHS Menu 5.21 PROPERTIES Menu 5.22 UNITS Menu 5.23 JavaScript Menu
The MAIN MENU provides access to a number of separate menus that perform most of the operations available within T/HIS from reading in data to producing postscript laser files.
2.
Page 5.1
T/HIS VISIBLE (Page) This option will select all of the curves that are unblanked in any graph on the current page. VISIBLE (All Pages) This option will select all curves that are unblanked in at least one graph. PICK_VISIBLE
Alternatively curves may be picked from the screen. With this option the left mouse button is used to select curves while the right button deselects curves. As each curve is selected/deselected its name and number will be reported to the user and it will be highlighted on the screen. A range of curves can be selected interactively by dragging out an area on the screen while holding down the left mouse button. FILTER... This option can be used to filter the list of curves displayed by model. When this option is selected a list containing all of the current models in T/HIS is displayed and the models can be selected or deselected. Any curves that belong to a deselected model will then be filtered out of the curve list. SHOW GROUPS This option will display a list of the currently defined curve groups instead of curves
By Curve Group
In addition to selecting individual curves it is also possible to select curves by Curve Group if they have been defined. If a curve is defined in more than one group then it will be selected if at least one of the groups is selected. If more than one group containing the same curve is selected then the curve will only be counted once as an input curve.
Page 5.2
T/HIS
By Command Line
In command line mode a single curve may be selected by typing in a range. A valid syntax is: A single curve number A "from":"to" range A compound list in "(..)" e.g. #27 e.g. #10:#30 (no gaps, ":" mandatory) e.g. (#1 #2 #10:#30 #3 #97)
In all contexts the order in which a group is defined does NOT influence the order in which it is processed. It is ALWAYS processed in ascending sequential order. Thus the addition operation /OP ADD (#30 #20 #10) (#1 #2 #3) #40 will produce the results #40 = #10 + #1 #41 = #20 + #2 #42 = #30 + #3
In all cases output will start at the relevant curve number, however defined, and will rise sequentially with no gaps. This can cause an existing curve to be overwritten, or the output curve number to exceed the limit of 999. Both conditions are checked for: a warning is given if either will occur should the operation go ahead, and an opportunity given to modify or abort the pending operation. There is a further output option that is only valid for operations where the input is a curve group: . meaning "overwrite the input curve(s)"
In this case the input curves are overwritten without warning. For example, this option might be used to integrate a set of curves, overwriting the original results with the integrated values. Any curve number between 1 and 999 may be used as an input or output curve. It is not necessary to use curves sequentially; gaps are permitted in curve number usage. Therefore curves #1 and #10 can be used, for example, without having to use the intervening curves #2 to #9. Likewise, deleting a curve will no longer cause those above it to be renumbered downwards to fill the gap.
Page 5.3
T/HIS
You can pick curves in either group from their menus, or type a range into the Key in: box. NOTE : the order in which they are processed is ascending sequential, not the order in which you define them.
Page 5.4
User manual Version 10.0, June 2011 2) Separate Functions On A Single Group These functions display a menu in which one group of curves may be selected, (see right). Operations apply separately and uniquely to each selected curve. As before, the order of processing is ascending sequential, not the order in which you define them.
T/HIS
3) Single Output From A Single Group These functions require a single group of curves as input like the functions above. The output is a single curve.
Page 5.5
T/HIS
5.1.1 LS-DYNA
Users are strongly advised to run each LS-DYNA analysis in a separate directory. Some of the default names for the files generated by LS-DYNA that T/HIS can read are not unique and T/HIS can not tell which files belong to which model. If you do read multiple models from the same directory T/HIS will generate a warning message if you read the same file for more than 1 model.
Page 5.6
T/HIS
Page 5.7
T/HIS
Page 5.8
T/HIS
To select a model database either enter its name in the text box or use the file selector. The default model database can be specified as a command line argument (see section 1.3 for more details). The default database filename and location can also be specified in the preference file (see Appendix H for more details) this*database_dir: this*database_file:
Page 5.9
T/HIS After a database file has been selected its contents will be read and T/HIS will display a Tree Like menu showing the contents of the database. As each item is displayed T/HIS will check to see if the files that it refers to exist. If a file does exist then a green tick will be displayed If a file does not exist then a red cross will be displayed The number of levels in the database that are automatically expanded when it is first displayed can be specified in the preference file (see Appendix H for more details) this*database_expand:
After selecting the required models use Apply to close the database window and return to the main menu where the selected models will be displayed along with the model numbers they will be read in as.
Page 5.10
T/HIS
Selecting Models
Models can be selected and deselected by clicking on each row. Multiple model can be selected by clicking on the 1st model and holding down SHIFT while selecting the last model in the range. As each model is selected the model number than it will be read in as is automatically displayed alongside the model description. A complete branch can be selected/deselected by selecting the branch label (Iteration 1).
Page 5.11
T/HIS Right clicking on a model description will display 3 options Modify ... Insert ... Modify the model location and description. Insert a new branch. The selected model will be moved into the new branch. Delete Delete the model
Database Format
The Model Database uses an ASCII XML file format. All items with the database are either branches or models. Each database entry has an XML name and a LABEL element. Models also contain a model element that contains the full pathname of one of the files belonging to the model. The XML name should be unique and should obey the following rules Names can contain letters, numbers, and other characters Names must not start with a number or punctuation character Names must not start with the letters xml (or XML, or Xml, etc) Names cannot contain space The LABEL is the string used to display an item within the tree view. Unlike the XML name the LABEL can contain any ASCII character.
Page 5.12
User manual Version 10.0, June 2011 <model_database version="10.000000"> <Template_Demo label="Template Demo"> <iteration_1 label="Iteration 1"> <base label="Base" model="e:\release meeting\crush\base\base.ptf"/> <run_1 label="Run 1" model="e:\release meeting\crush\run1\run1.ptf"/> <run_2 label="Run 2" model="e:\release meeting\crush\run2\run2.ptf"/> <run_3 label="Run 3" model="e:\release meeting\crush\run3\run3.ptf"/> <run_4 label="Run 4" model="e:\release meeting\crush\run4\run4.ptf"/> </iteration_1> <iteration_2 label="Iteration 2"> <base label="Base" model="e:\test\crush2\base\base.ptf"/> <run_1 label="Run 1" model="e:\test\crush2\run1\run1.ptf"/> <run_2 label="Run 2" model="e:\test\crush2\run2\run2.ptf"/> <run_3 label="Run 3" model="e:\test\crush2\run3\run3.ptf"/> <run_4 label="Run 4" model="e:\test\crush2\run4\run4.ptf"/> </iteration_2> </Template_Demo> </model_database>
T/HIS
Page 5.13
T/HIS
2.
3.
Page 5.14
T/HIS
5.1.1.6 Entities
Individual entities can be selected/deselected using the mouse. Multiple entities may be selected by 1. 2. 3. Holding down the CTRL key when selecting items to add them to the list of selected entities. Holding down the SHIFT key when selecting items to add a range of items to the list of selected entities. Clicking on the first item to be selected and then dragging down the list of items without letting go of the mouse button.
Entities can be sorted in four ways: Sort by model will list all entities in the lowest number model in order of ascending ID number, then all entities in the next-lowest model, and then move through the rest of the models in ascending order. will list all entities in ascending order showing the model ID for each entity will list only the entities with IDs that are common to all models without showing the model IDs arranges the entities in alphabetical order based on their names.
Sort by Name
5.1.2 GROUPS
This option can be used to read a file containing PART group definitions. If a model is read in which contains PART information then the PART groups can be used to read in and sum energies for a group of PARTS in one go.
5.1.3 CURVE
This option can be used to read data in from an ASCII file. In addition to reading a single file this option can also be used to search directories recursively for multiple files. After the search has finished a list showing all of the files that have been found will be displayed so that multiple files can be selected and read in one operation.
Page 5.15
T/HIS Curve file This is the default T/HIS curve file format. As well as reading this format T/HIS can also write out curves (include style information) using this format. For more details on the format see Appendix B. ISO (Multiple Channels) ISO (Single Channel) LS-PREPOST Read multiple channels of data from an ISO/TS 13499:2003 format file. Read a single channel of data from an ISO/TS 13499:2003 format file. This is the format used by LS-PREPOST
5.1.4 KEYWORD
Read data into T/HIS from an LS-DYNA KEYWORD input file. All X,/Y data defined using *DEFINE_CURVE will be read in from the specified input file. Any X and Y axis scaling or offsets defined within the *DEFINE_CURVE definition will be applied to the X,Y as it is read in. If the _TITLE option has been used the the title will be used as the curve label otherwise the curve ID number will be used. In version 9.3 onwards this option will also process any files specified using the *INCLUDE option. /re kw "filename" read all curves from KEYWORD input file "filename"
5.1.5 BULK
Read data into T/HIS from a Bulk Data file. The format of a Bulk Data file is described in Appendix C. /re bd "filename"read all curves from Bulk Data file "filename"
5.1.6 KEYBOARD
Key in curve information directly. A dialogue window is displayed upon requesting this option where the user will be prompted for title, x and y axis labels, a curve identifier and then a series of points. Once all the points required have been entered carriage return should be pressed. The user will then be prompted for the curve or file in which to store this data : # means use the next free curve.
Page 5.16
T/HIS
5.1.7 CSV
The CSV menu (see right) can be used to specify the name of a comma separated variable file to read into T/HIS. The file may contain up to 1000 columns of data (separated by commas). The maximum line length supported by this option is 10240 characters.
This option can be used to specify a column within the file that contains the X-axis data values that should be used for all of the other columns of data. This option can be used to automatically generate the X-axis values if none of the columns within the file contain the data. This option can be used to specify a row within the file that contains labels for each of the columns of data that can be used as the curve labels within T/HIS. This option can be used to automatically generate labels for each set of data. A single string can be specified which will then have the column number appended to it to generate unique labels.
Page 5.17
T/HIS
5.1.8 SCREEN
The SCREEN menu (see right) can be used to interactively create a curve T/HIS by selecting points using the mouse.
Start Curve
This option will start point selection process. Once you have started creating a curve all the other T/HIS menus will be disabled until you end the point selection using either the End Curve or Quit Curve options. Dynamic viewing will still be available.
This option will end the current curve creation and save the curve. This option will end the current curve creation without saving the curve. This option can be used delete the last point created (the middle mouse button will also delete the last point).
Page 5.18
T/HIS
This option will write out curves using the default T/HIS curve format. One curve file will be written containing all the selected curves along with their Titles, Axis Labels, Line Labels and styles. From version 9.4 onwards the curve file can also contain information on the UNIT system and the X and Y axis units for each curve (see Appendix B for more details on the curve file format) One file will be written containing all the selected curves using the LS-DYNA *DEFINE_CURVE format so that the file is suitable for inclusion in a LS-DYNA keyword file. This option will write out curves using the NASTRAN TABLE D1 format. Curves are listed sequentially in the file. This option will write out curves using as a CSV (comma separated variable) file that can be read into other programs like Microsoft EXCEL. The columns written are x-values for the 1st selected curve, y-values for the 1st selected curve, x-values for the 2nd selected curve, y-values for the 2nd selected curve ...
LS-DYNA Keyword
Page 5.19
T/HIS CSV X,Y,Y,Y,Y,Y This option also writes out a CSV file. All the curves are output using a single consistent set of X values that can either be taken from one of the curves or they can be generated automatically.
Gives a summary of the curve. This includes the type of data being plotted and the maximum and minimum values in the curve. CSV (comma separated variable) vesrion of the summary file.
From version 9.4 onwards the CSV files generated by T/HIS can also contain information on the UNIT system and the X and Y axis units for each curve. If you dont want to output this information then you can turn it off. The default setting for this option can be set via the preference option this*write_csv_units: This option can also be turned on and off in FAST-TCF scripts (see section 7.XX)
LIST Summary
This option will write out all the points in the selected curves. Gives a summary of the curve. This includes the type of data being plotted and the maximum and minimum values in the curve. Scans a group of curves and reports the maxima and minima values for each individual curve along with the overall maxima and minima
SCAN
Page 5.20
T/HIS
Page 5.21
T/HIS If the curve labels are too long to be seen in the standard Curve Manager menu then the menu can be turned into a floating menu by selecting the <<<Undock option in the menu header. After undocking the menu it can be re-docked by selecting>>>Dock.
Page 5.22
T/HIS
INSERT CURVE BEFORE INSERT CURVE AFTER COPY CURVE COPY CURVE + STYLE MOVE CURVE MOVE CURVE + STYLE DELETE CURVE
Inserts the last curve copies to a scratch definition before the selected curve. Inserts the last curve copies to a scratch definition after the selected curve. Copies the curve to a scratch definition. Copies the curve along with is line style settings to a scratch definition. Copies the curve to a scratch definition and then deletes the original curve Copies the curve along with is line style settings to a scratch definition and then deletes the original curve Deletes the selected curve
5.3.2 Blank...
Blank All Unblank All Pick Visible Reverse All Blank by Model... Unblank by Model... Blank by Group... Unblank by Group...
Blank all curves Unblank all curves Pick curves from the screen to be blanked. Reverse the blanking status of all curves Blank curves belonging to a Model Unblank curves belonging to a Model Blank curves by Curve Group Unblank curves by Curve Group
Page 5.23
T/HIS
5.3.3 Delete...
Delete All Curves... Delete by Model... Delete by Group... All Blanked All Visible
Select a groups of curves for deletion Deletes all current curves. You are prompted for confirmation first! Delete curves belonging to a Model Delete curves by Curve Group Delete all the curves that are currently blanked Delete all the curves that are currently unblanked
5.3.5 Table
The Table option can be used to give more control over which curves are blanked and unblanked in all of the currently defined graphs. By default the Curve Table displays a scrolling list of all of the currently defined curves along with a set of tick boxes that display the status of the curve in the current graphs. Multiple curves can be blanked/unblanked from one or more graphs by selecting the first curve/graph combination and then using SHIFT to select the the second. In addition to adding a curve to a single graph the All option can be used to add a curve to all of the current graphs.
Page 5.24
User manual Version 10.0, June 2011 In addition to displaying a list of curves the Curve Table can also be used to display a list of curve groups. If all of the curves in a group are unblanked in a graph then the tick box will display a black tick in a white box. If some of the curves in a group are unblanked in a graph then the tick box will display a dark grey tick in a grey box. If none of the curves in a group are unblanked in a graph then the tick box will be empty.
T/HIS
5.3.6 Summary
Displays a window from which a group of curves may be chosen. The maximum and minimum values of the selected curves are then displayed.
5.3.7 List
Displays a LIST CURVES window, from which a number of curves may be selected. The data point values for the selected curves are then listed in a listing box.
5.3.8 Scan
Displays a window from which a group of curves may be chosen. The maximum and minimum values of the selected curves are then displayed.
Page 5.25
T/HIS
Select the appropriate group of 1000 curves and press apply to display those 1000 curves in the Curve control menu.
Page 5.26
T/HIS
Clicking on the button displaying a model title will produce a menu similar to that illustrated. The number of each type of item in the model and the sources T/HIS found for that item types data will be shown. The user can select which file type is preferred for the data for each type of item (see Preferences).
Page 5.27
T/HIS
5.4.2 Re-Read
The re-read option can be used to rescan and update the model. This will find any new data written to disk since the file was last read.
5.4.3 Delete
This option allows the user to select and delete models from T/HIS. Any curves that have been read in from a model that is deleted are NOT deleted with the model. Any number of models to be deleted from T/HIS.
Page 5.28
T/HIS
The Command text-box allows control by command line (see Section 5.5.2 for more details).
Page 5.29
T/HIS
As well as being highlighted the curve points can be edited interactively and the Quick Pick menu in the main Tool Bar (see Section 6.1 for more details) is replaced with the EDIT menu.
5.5.1.1 Modify
Page 5.30
User manual Version 10.0, June 2011 Drag X,Y Modify the point nearest to the screen pick by dragging its position in both the X and Y axis directions.
T/HIS
Drag X Drag a point in the X axis direction only. Drag Y Drag a point in the Y axis direction only.
5.5.1.2 Insert
Between
Finds the nearest segment to the point selected on the screen and then projects the point onto the segment.
At Cursor
Finds the nearest segment to the point selected on the screen and then inserts the a point at the screen location between the 2 ends of the segment.
Page 5.31
T/HIS Split Segment Finds the nearest segment to the point selected on the screen and then splits the segment in 2 or more parts.
At Start At End
Inserts a new point at the screen location before the first point in the curve.
Inserts a new point at the screen location after the last point in the curve.
5.5.1.3 Delete
Point To End
Finds the nearest point to the screen pick and deletes it. Finds the nearest point to the screen pick and deletes all points in the curve from that point onwards. Finds the nearest point to the screen pick and deletes all points in the curve up to that point.
From Start
5.5.1.4 Locate
Finds the nearest point to the screen pick and updates the list of points in the main edit panel so that the points either side of the picked point are displayed.
5.5.1.5 Restart
Resets the curve being edited to the values at the start of the edit session.
Page 5.32
T/HIS
5.5.1.8 Quit
Quits the curve editor without making any changes to the curve.
D n1 n2 Delete L R Saving and Plotting the curve: W S PE PA PL Q Label Reset Write Save
Plot Edited Plot the edited curve Plot All Plot Quit Plot the edited and original curve Plot the current T/HIS curves Quit the editor
Page 5.33
T/HIS
The first three are only used on a plot if this curve is the first (or only) curve to be plotted, and the relevant labels are in "automatic" mode (see TITLE and AXIS). You can change any of these by simply overtyping whatever is currently there. When you are happy with the result use the APPLY button to dismiss this box, saving the new values. The labels here are scratch values, current only in this editor, the permanent curve labels are only overwritten with them if you SAVE this edited curve. RESET will restore the scratch labels to the original values of the permanent curve being edited. The title, axis and line labels can also be modified using the dialogue box
Page 5.34
T/HIS
5.6.1 APPLY
This button will APPLY the current line colour, symbol, width and style selection to all the curves that have been selected.
Page 5.35
T/HIS
5.6.2 COLOUR
Pressing the right mouse button while over the colour button will invoke a colour popup menu. T/HIS has a built in palette of 30 predefined colours and 6 user defined colours. Colours are defined using 6 digit Hexadecimal values using the format RRGGBB. RR GG BB Red Component (0-255) Green Component (0-255) Blue Component (0-255)
Colour ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
Name COL_1 COL_2 COL_3 COL_4 COL_5 COL_6 COL_7 COL_8 COL_9 COL_10 COL_11 COL_12 COL_13 COL_14 COL_15 COL_16 COL_17 COL_18 COL_19 COL_20 COL_21 COL_22 COL_23 COL_24 COL_25 COL_26 COL_27 COL_28 COL_29 COL_30 COL_31 COL_32 COL_33 COL_34 COL_35 COL_36
Alternative Name WHITE RED GREEN BLUE CYAN MAGENTA YELLOW ORANGE TURQUOISE INDIGO LIME SKY PINK BLACK PALE_YELLOW GOLD OLIVE DARK_MAGENTA MEDIUM_GREEN MEDIUM_BLUE HOT_PINK LIGHT_PINK SEA_GREEN MAROON DARK_GREEN PURPLE NAVY DARK_GREY MEDIUM_GREY LIGHT_GREY USER_1 USER_2 USER_3 USER_4 USER_5 USER_6
Value FFFFFF FF0000 00FF00 0000FF 00FFFF FF00FF FFFF00 FF9C00 21FF94 7B00FF BDFF39 39BDFF FF7B7B 000000 FFFF9C FFCE00 7B7B00 9C3163 9CCE00 7B7BFF FF9CCE FFCE9C 317B63 7B0000 007B00 7B007B 00007B 393939 7B7B7B BDBDBD -
As well as the 36 colour options Foreground and Background can be selected to change the colour to the Foreground and Background colours defined in the Display menu. If N/C is selected then the Apply button will have no effect on the colour of the currently selected curves..
Page 5.36
T/HIS
5.6.3 SYMBOL
Pressing the right mouse button while over the Symbol button will invoke a symbol popup menu that allow any of the 9 T/HIS symbols to be selected (the 9th is a blank symbol that can be selected so that a curve can be plotted without a symbol). As well as the 9 symbols the menu also contains a no change (N/C) option. The Symbols Frequency controls how often a symbol is drawn on a curve. By default, symbols are not drawn; they can be switched on using the Display menu.
5.6.4 WIDTH
Pressing the right mouse button while over the width button will invoke a popup menu that allows 4 different line widths to be selected or no change (N/C).
5.6.5 STYLE
Pressing the right mouse button while over the style button will invoke a popup menu that allows 8 different line styles to be selected (the 3rd is actually a blank line that can be selected so that a curve can be plotted without a line). As well as the 8 line styles the menu also contains a no change (N/C) option.
Extended Use the first 13 colours No Grey Use all 30 predefined colours except the 3 grey ones Full Use all 30 predefined colours plus any user defined ones.
The default value for the curve palette can also be specified in the "preferences" file (see Appendix H for more details).
Page 5.37
T/HIS
Multiple curve labels may be edited using the Search and Replace option to enter the string to search for and the string to replace it with ^ can be used to insert text at the beginning of a label while $ can be used to append to the end of a label. The table below shows the effect of 2 search and replace examples. Example 1 Original Label Search String Replace String Modified Label Displacement N1034 N1 Node 1 Displacement Node 1034 Example 2 Time $ (s) Time(s)
The GO button will initiate the search and replace on all the curves that are currently selected (highlighted in the bottom half of the menu), while the UNDO button can be used to reset the labels to what they were before the search and replace. Pressing the right mouse button while over the Line Label button will invoke a popup menu that allows the label that is being modified to be swapped between the Line Label, X-Axis Label and the Y-Axis Label. Line labels can also be modified by using the dialogue box
By default the Style menu will display a list of all the current defined curves so that the style for individual curves can be
Instead of displaying individual curves the style menu can be changed to display a list of any currently defined curve groups. If curve groups are selected then the style will be applied to all of the curves in the curve group.
Page 5.38
User manual Version 10.0, June 2011 The style menu can also display a list of all the models currently loaded in T/HIS. If models are selected then the style will be applied to any curve that was created using data from the model.
T/HIS
SET This option allows the user to set the style properties for individual curves. Enter the curve number (e.g #1 for curve 1) at the Select Curve? command prompt. T/HIS will prompt the user to input the desired style properties in the order: Colour; Enter the colour for the line Line Width; Enter the desired line width for the line Line Style; Enter the desired line style (e.g. dashed) for the line Symbol Type; Enter the desired Symbol Type Symbol Frequency; Enter the desired frequency of the symbols in the format
Page 5.39
T/HIS
READ This option allows the user to read a style file containing style information and apply that style to a particular curve Enter the name of the style file at the Style File? command prompt. WRITE This option allows the user to write a style file containing style information. DEFAULT This option allows the user to reset all the curve styles to the default settings. FIX This is an ON/OFF switch which resets the curve styles when they are plotted on the screen so that the curves cycle through the default T/HIS colours and styles as they are plotted. This will result in the first curve being plotted always being white, the second red, the third green, etc regardless of their curve numbers. The default is OFF. GM This option will display the Global Menu in a separate window
LA This option allows the user to edit the label for individual curves. Enter the curve number at the Select curve? prompt Enter the desired new label at the Label prompt, The current Label will be displayed in brackets
Page 5.40
User manual Version 10.0, June 2011 TI This option allows the user to edit the title for individual curves. Enter the curve number at the Select curve? prompt Enter the desired new title at the Title prompt, The current title will be displayed in brackets XL This option allows the user to edit the x-axis label for individual curves. Enter the curve number at the Select curve? prompt Enter the desired new title at the XAxis prompt, The current x-axis label will be displayed in brackets YL This option allows the user to edit the y-axis label for individual curves. Enter the curve number at the Select curve? prompt Enter the desired new title at the YAxis prompt, The current y-axis label will be displayed in brackets TA This option allows the user to edit the tag for individual curves. Enter the curve number at the Select curve? prompt Enter the desired new Tag at the Tag prompt, The current tag will be displayed in brackets
T/HIS
Page 5.41
T/HIS
Page 5.42
T/HIS
The scratch file is random access, and can be moved back and forth and reviewed at will. To help with this it is possible to switch between RECORD and REVIEW modes in the session file control box: RECORD REVIEW records all your commands when running plays back your recorded commands
A command file can be stepped through or run backwards or forwards. It may also be searched for a particular command. As with a real tape recorder, if the pointer is moved backwards and recording continued the commands that were previously stored will be overwritten from that point. The session file recording and command file playback operations are totally separate: they can be thought of as two separate tape recorders. As a consequence it is possible to record commands that are being played back: in effect it is possible to edit and combine files.
Page 5.43
T/HIS
Page 5.44
T/HIS
5.7.4 SEARCH
The SEARCH buttons can be used to find a specific command when in REVIEW mode. You can search through the command file for a match to any permutation of the following: Box name The name of a screen menu box inside which an event occurred Function The screen menu function type. This is "button press", "dialogue", etc; CommandThe command word(s) to look for. The default for all of these is "<any>", ie a wildcard search, but you can specify a value by typing into the appropriate text box. When you have filled in all the fields you need, press APPLY to start the search. "Box name" and "Function" fields are unlikely to be of use to most users, you can list all valid events using "?" button to provide a menu to pick from. The ANY button may be used for any field to restore it to its default (wildcard) status.
Page 5.45
T/HIS
All Pages
Each page will be saved as a single image to multiple files. The filenames used will be based on the filename selected by the user.. This option will only be available if T/HIS contains multiple graphs on more than one page (see section 3.2).
Current Page
A single image containing currently displayed page will be generated. This option will only be available if T/HIS contains multiple graphs on more than one page (see section 3.2).
A single image containing the selected page will be generated. This option will only be available if T/HIS contains multiple graphs on more than one page (see section 3.2).
All Graphs
A single image will be generated containing all of the graphs. This option will only be available if T/HIS only contains a single page (see Section 3.2).
A single image will be generated containing all of the currently active graphs. This option will only be available if T/HIS only contains a single page (see Section 3.2).
A single image containing the selected graph will be generated. Captures the image with a white background and black foreground. Once the image is captured the colours are reset to their original values.
Page 5.46
T/HIS
5.8.1.2 Resolution
All images can be output at either the screen resolution or at a resolution of either 2 or 4 times the screen resolution.
Page 5.47
T/HIS
5.8.2 Postscript
This menu can be used to save an image containing one or more graphs to either a PDF or Postscript file. All PDF and Postscript files are generated using raster images so that the contents of the screen is exactly reproduced.
All Pages
All T/HIS pages containing 1 or more graphs will be saved to a single file. This option will only be available if T/HIS contains multiple graphs on more than one page (see Section 3.2). The current T/HIS page will be saved. This option will only be available if T/HIS contains multiple graphs on more than one page (see Section 3.2).
Current Page
A single image containing the selected page will be generated. This option will only be available if T/HIS contains multiple graphs on more than one page (see Section 3.2).
All Graphs
A single image will be generated containing all of the graphs. This option will only be available if T/HIS only contains a single page (see Section 3.2).
Page 5.48
User manual Version 10.0, June 2011 All Active Graphs A single image will be generated containing all of the currently active graphs.
T/HIS
This option will only be available if T/HIS only contains a single page (see Section 3.2). Only Graph (n) White Background A single image containing the selected graph will be generated. Captures the image with a white background and black foreground. Once the image is captured the colours are reset to their original values.
5.8.2.3 Resolution
All images can be output at either the screen resolution or at a resolution of either 2 or 4 times the screen resolution.
5.8.2.4 Orientation
All images can be output in either landscape or portrait format.
5.8.2.7 Layout
Multiple plots on a page are also available. In landscape format there is a choice of 1, 2x2, 3x3 and 4x4 plots to a page. In portrait format there is a choice of 1, 1x2, 2x3 and 2x4 plots on a page. By default there is a single plot on a page. When multiple plots are requested the order in which they are performed can be defined.
Page 5.49
T/HIS
5.8.2.8 Margins
The Margins can be used to change the top, bottom, left and right margins for each page.
5.8.3 Background
This option can be used to add a background image to each graph (see section 5.16.7 for more details).
Page 5.50
T/HIS
The options with the OPERATE menu are split into 3 groups. The first group require 2 sets of curves as input. The second group require a single set of curves as input. The third group also require a single set of curves as input but the output from these functions is a single curve. (See Section 5.0 for more information on curve groups).
5.9.1 ABS 5.9.2 ADD 5.9.3 ADX 5.9.4 AVE 5.9.5 CAT 5.9.6 CLIP
Produces the absolute y-values of a curve. Add the y axis values together for two curves or add a constant value to all the y-values. If two curves are being added together they must have identical x-axis values. Add the x axis values together for two curves or add a constant value to all the x-values. If two curves are being added together they must have identical y-axis values. Produces a single curve that is the average of the input curves. Concatenate the second curve to the end of the first. Clip a curve to remove any points that exceed a set of specified minimum and maximum x & y axis value. The user is prompted for minimum and maximum values after the curves have been selected..
a displacement/time 5.9.7 COM Two curves are acombined to give a new curve. For example ifcurve will result. curve is combined with velocity/time curve a velocity/displacement If the 2 curves do not contain points at the same x values then the curve with the larger x-axis intervals is automatically mapped on to the x-axis values of the other curve. If the curves do not start and finish at the same x-axis values then only the points for which the two curve x-axes overlap are mapped onto each other.
A curve is differentiated with respect to the x-axis variable. Divide the y axis values of the first curve by the y axis values of the second curve (or a constant). If two curves are being used they must have identical x-axis values.
the 5.9.10 DIX Divide the x axis values ofthey first curve by the x axis values of the second curve (or a constant). If two curves are being used must have identical y-axis values.
5.9.11 ENV
Produces a single curve that bounds the maximum and minimum values of the group of input curves.
Page 5.51
T/HIS
User manual Version 10.0, June 2011 This option reports the degree of correlation between 2 input curves. The first curve selected is used as a reference curve and the following parameters are then reported : Maximum difference : Value & Time Value as a %age of reference curve Value as a %age of reference curve peak value. Average difference Area Weighted Difference Correlation Parameter Value %age of reference curve peak value 0 to 1
5.9.12 ERR
5.9.13 INT 5.9.14 LSQ 5.9.15 MAP 5.9.16 MAX 5.9.18 MON 5.9.19 MUL 5.9.20 MUX 5.9.21 NOR 5.9.22 NOX 5.9.23 ORDER 5.9.24 REC 5.9.25 RES
Page 5.52
A curve is numerically integrated with respect to the x-axis variable using Simpsons rule. Fits a straight line through the points using the least squares method.
The second curve is mapped onto the first curve, the resulting curve has identical x-axis values to the reference (first) curve with y-axis values obtained from the mapped (second) curve. Produces a single curve that bounds the maximum values of the group of input curves.
5.9.17 MIN Produces a single curve that bounds the minimum values of the group of input curves.
Sorts a curve into monotonically increasing x-axis values.
Multiply the y axis values together for two curves or multiply all the y-values by a constant. If two curves are being multiplied together they must have identical x-axis values. Multiply the x axis values together for two curves or multiply all the x-values by a constant. If two curves are being multiplied together they must have identical y-axis values. Normalize a curve so that the y axis values lie in the range [-1, +1].
Normalize a curve so that the x axis values lie in the range [-1, +1].
T/HIS
Reverses the x and y axes of a curve. For example if you start with a curve with displacement (y axis) against time (x axis) you end up with a curve of time (y axis) against displacement (x axis). Produces a single curve of the running average on the input curve.
A moving average technique is used to smooth (filter) a curve. The user will be prompted for a smoothing factor. The integer refers to the number of points included in the averaging of each point. The value you want will depend on the number of points in the curve and the amount of smoothing required. A certain amount of trial and error is necessary to get the required result.
5.9.29 SQR 5.9.30 STRESS 5.9.31 SUB 5.9.32 SUX 5.9.33 SUM 5.9.34 TRA 5.9.35 VEC 5.9.36 VEC(2-D) 5.9.37 WINDOW
Converts a stress / strain curve between True and Engineering Stress /Strain.
Subtract the y axis value (or constant) of the second curve from the first curve. If two curves are being subtracted they must have identical x-axis values. Subtract the x axis value (or constant) of the second curve from the first curve. If two curves are being subtracted they must have identical y-axis values. Calculates the sum of a group of curves. This "sums" up the y-axis values of a group of curves, and maps the result onto the x-axis of the first curve.
Translate a curve with respect to the x and y axes. The user is prompted for the x and y values.
This function is typically used to modify a curve before carrying out an FFT on it. The y-axis values for each of the input curves is multiplied by a factor between 0 and 1. Three different window shapes are available. The Store Window Curve option can be used to output the multiplying factors to a separate curve if required.
5.9.38 ZERO
Page 5.53
T/HIS
5.10.1 SQRT 5.10.2 LOG 5.10.3 EXP 5.10.4 LOG10 5.10.5 **n 5.10.6 LOG(x) 5.10.7 LOG10(x) 5.10.8 SIN 5.10.9 ASIN 5.10.10 COS 5.10.11 ACOS 5.10.12 TAN 5.10.13 ATAN
The square root of a curve. Natural log (to base e) e to power of. Log to base 10 Raise to power n. Log to base 10 (x-axis values) Log to base 10 (x-axis values) Sine (radians assumed) Arc sine Cosine Arc cosine Tangent Arc tangent
Page 5.54
T/HIS
5.11.1 C60 5.11.2 C180 5.11.3 C600 5.11.4 C1000 5.11.5 BUT
Filter a curve using a standard SAE Class 60 filter. Filter a curve using a standard SAE Class 180 filter. Filter a curve using a standard SAE Class 600 filter. Filter a curve using a standard SAE Class 1000 filter.
The curve is passed through a Butterworth filter. The user is prompted for the cutoff frequency and the order of the filter. This passes a curve through a Pure Butterworth filter. This is the same as the BUT function above, but the two refinements, described in Appendix D, to minimise end-effects and phase change errors are not included. Special filter for US "SID" dummy.
Page 5.55
T/HIS
User manual Version 10.0, June 2011 Calculates the Head Impact Criteria from an acceleration time history. The user is prompted for the time window and the acceleration conversion factor. Normally this option writes the HIC value to the screen. If required the values may also be written out to a file using the WRITE TO FILE option. The time unit for the input curve should be seconds. T/HIS look at the range of the x-axis values and if the range is >1 then T/HIS will assume the x-axis values are in ms and it will automatically divide the x-axis values by 1000. If the y-axis values are not in (G) then an optional factor can be specified that T/HIS will DIVIDE the y-axis values by to convert them to (G). Example factors for different units are : Unit m/s2 mm/s2 mm/ms2 Factor 9.81 9810
5.11.8 HIC
0.00981 In addition to calculating and reporting the HIC value the time window and value can be displayed on the graph using the Show HIC Value option. See Appendix E for more details on the Head Impact Criteria calculation.
Page 5.56
T/HIS
5.11.9 HIC(d)
HIC(d) is used to calculate the Head Injury Criteria for the Free Motion Headform used within the FMVSS201 legislation. The equivalent dummy HID(d) is calculated as follows HIC(d)= 0.75446x(free motion headform HIC)+166
5.11.10 CLI
Calculates the 3ms clip value from an acceleration time history. Normally this option writes the value to the screen, and produces a curve of the clip region. By default the screen value will be labeled as "3ms = value". This label can be modified by specifying a different Screen Label. If required the values may also be written out to a file using the WRITE TO FILE option. In addition to calculating and reporting the 3ms clip value the time window and value can be displayed on the graph using the Show 3ms Clip Value option. See Appendix E for more details on the 3ms clip calculation.
5.11.11 EXC
Calculate and displays an EXCeedence plot. This is a plot of force (y-axis) versus cumulative time (x-axis) for which the force level has been exceeded. By default the Automatic option will create an exceedence plot using either the +ve OR the -ve values depending on which the input curve contains most of. The Positive option will calculate the exceedence plot using only the points with +ve y values. The Negative option will calculate the exceedence plot using only the points with -ve y values.
5.11.12 VC
Calculates the Viscous Criteria from an acceleration time history. The user is prompted for the constants A and B. See Appendix E for more details on the VC calculation.
Page 5.57
T/HIS
User manual Version 10.0, June 2011 Acceleration Severity Index. This value is used to assess the performance of road side crash barriers. This option requires 3 acceleration input curves. The user is prompted for the acceleration limits in the 3 directions. The calculation method can be set to 2010 (BS EN 1317-1:2010) or 1998 (BS EN 1317-1:1998). See Appendix E for more details on this calculation.
5.11.13 ASI
5.11.14 THIV
Theoretical Head Impact Velocity and the Post Impact Head Deceleration. These values are used to assess the performance of road side crash barriers.
This option requires 3 input curves, a longitudinal and lateral acceleration and a rotation rate. The user is prompted for the constants Dx, Dy and Xo. See Appendix E for more details on these calculations.
Page 5.58
T/HIS
5.11.15 NIJ
Biomechanical neck injury predictor. Used as a measure of injury due to the load transferred through the occipital condyles.
This option requires 3 input curves. 1 to represent Shear force, 1 to represent Axial force and a third to represent bending moment in the dummys upper neck loadcell. Enter these curves in the corresponding input boxes. The 4 critical constants used to calculate NIJ; Fzc (tension), Fzc (comp), Myc (flexion) and Myc (extension) default to the values specified by the test creators. These can be changed by entering different values into the respective boxes. Enter the e distance into the e (distance) box. Select which curves you wish to output to in the Output box. For more information on the calculation of NIJ, refer to Appendix E NIJ will output 4 curves due to the 4 possible loading conditions for Nij;
Nte is the tension-extension condition Ntf is the tension-flexion condition Nce is the compression-extension condition Ncf is the compression-flexion condition
Page 5.59
T/HIS
User manual Version 10.0, June 2011 Thorax Trauma Index: This option requires 3 input curves. 1 to represent the Upper Rib Acceleration, 1 to represent the Lower Rib Acceleration and a third to represent the Lower Spine Acceleration. Enter these curves in the corresponding input boxes. The output can either be written to the screen, appearing in a listing box, or written to a file specified in the File: input box, or both. If the write to screen tab is highlighted, the following window will appear: For more information on the calculation of TTI, refer to Appendix E
5.11.16 TTI
Normalise the curve so that the Y values are within the range [ -1, +1].
Normalise the curve so that the X values are within the range [ -1, +1].
Make a curve have a constant time step. It is necessary for a curve to have a constant time step between points for it to be filtered. This option takes an existing curve and prompts the user for a new time step. The points of the output curve are calculated by linear interpolation. Regularising a curve may alter its peak values, and could change filtered output slightly.
Calculate the vector magnitude of three input curves. Calculate the vector magnitude of two input curves. Airbag control Unit
Page 5.60
T/HIS
5.11.23 COR1
Curve correlation function. The Correlation function provides a measure of the degree to which two curves match. When comparing curves by eye, the quality of correlation may be judged on the basis of how well matched are the patterns of peaks, the overall shapes of the curves, etc, and can allow for differences of timing as well as magnitude. Thus a simple function based on the difference of Y-values (such as T/HIS ERR function) does not measure correlation in the same way as the human eye. The T/HIS correlation function attempts to include and quantify the more subtle ways in which the correlation of two curves may be judged. The input parameters for the COR1 function have been chosen so as to produce a strict judgement of the correlation (see Appendix F for more details).
The COR2 function is the same as COR1 except the input parameters have been chosen so as to produce a less strict judgement of the correlation (see Appendix F for more details). Another curve correlation function. This function first normalises the curves using two factors either specified by the user or defaults calculated by the program (the maximum absolute X and Y values of both graphs). For each point on the first normalised curve, the shortest distance to the second normalised curve is calculated. The root mean square value of all these distances is subtracted from 1 and then multiplied by 100 to get an index between 0 and 100. The process is repeated along the second curve and the two indices are averaged to get a final index. The higher the index the closer the correlation between the two curves. Note that the choice of normalising factors is important. Incorrect factors may lead to a correlation index outside the range of 0 to 100 (see Appendix F for more details).
Page 5.61
T/HIS
5.12.1 DV 5.12.2 DA 5.12.3 VD 5.12.4 VA 5.12.5 AD 5.12.6 AV 5.12.7 DS 5.12.8 RS 5.12.9 FFT
Displacement spectrum is converted to a velocity spectrum Displacement spectrum is converted to an acceleration spectrum Velocity spectrum is converted to a displacement spectrum Velocity spectrum is converted to an acceleration spectrum Acceleration spectrum is converted to a displacement spectrum Acceleration spectrum is converted to a velocity spectrum. Produce a design spectrum from a response spectrum through the specification of a broadening factor.. Produce a response spectrum from input accelerations. This gives the response of a damped single degree of freedom system, given its damping factor and period, to the input acceleration time-history. Perform a fast Fourier transform. Convert an input signal from the time to the frequency domain. There are three options for output; magnitude only magnitude and phase real and imaginary components of the time signal. The frequency is calculated in Hz NOT radians/s if the time axis is in seconds. T/HIS automatically adds points with zero y-value to the end of the curve to pad the curve out so that the number of points is increased to the next power of 2. An option to regularise the curve before performing the function is on by default. The spacing between points on the frequency axis of the resulting curve is determined by the time duration of the padded input curve; dx = 1.0/(time). The highest frequency in the output curve is determined by the time interval of the input curve; F(max). = (#points)/dt
5.12.10 IFFT
Performs an inverse fast Fourier transform. Converts two input signals from the frequency to the time domain. The two input signals can be the magnitude and phase or real and imaginary components of the time signal. NOTE: If an FFT is performed on a curve that does not have a number of points equal to a power of 2 and then an IFFT is performed on the resulting curves you will NOT get back exactly to the original curve. This is because the FFT and IFFT both scale their output curves by the number of points in the curve, which in this case will be different. For the FFT the number of points used to scale the curves is the original number of points before padding. For the IFFT the number of points used is the original number of points plus the points needed to make it a power of 2. If the number of points in the original curve is a power of 2 and no padding is required, the IFFT of the resulting curves will get back to the original curve.
Page 5.62
T/HIS
5.12.11 NCP
dddddddddddddddddddd
By default beam element plastic rotations are always written out by LS-DYNA as being increasing +ve (i.e. cumulative). This option allows a non-cumulative plastic rotation to be calculated by taking two input curves: the moment/time and the cumulative rotation/time histories for the beam in question. Baseline correction.
5.12.12 BLC
Page 5.63
T/HIS
macro acr <name> macro title <description> macro curve <curve variable> <curve description> macro const <const variable> <curve description>
acronym for the macro button in T/HIS a more descriptive title for the macro FAST-TCF variable name for input curve followed by curve description FAST-TCF variable name for input constant followed by constant description
If one or more macro files are found with duplicate acronyms then only the last file read will be displayed so users can override SYSTEM macros with there own definitions if they want to. When the user selects one of the Macro functions the macro file associated with the function is read and T/HIS creates a selection menu for the user to define the relevant curve numbers and constant values to input into the macro script. These inputs will replace the variables used within the macro. For example: If the user selects #1 for the macro curve variable macro_input, then any occurrence of $macro_input in the macro script will be replaced by #1.
Page 5.64
T/HIS
An example macro script follows. This macro asks the user for a filter option (e.g. c60, c600, c1000) and also an input curve number. The macro then filters the input curve and divides by 9810. # Macro to convert a file to g after filtering # macro acr to_g macro title filter and convert curve to g macro curve macro_input input curve macro const macro_filter filter to use # model none model 1 oper $macro_filter $macro_input tag filtered oper div filtered 9810.0
Page 5.65
T/HIS
5.14.1 Create
T/HIS 9.2 onwards has the ability to automatically generate FAST-TCF scripts using the CREATE menu. The FAST-TCF script will contain all of the commands required to 1. Create and position multiple graphs on pages. 2. Extract the data from models or other files 3. Carry out any curve operations required to reproduce the chosen curves 4. Set any curve styles and labels 5. Set plot attributes such as titles, axis labels, colours, fonts and scaling 6. Generate the output image and/or curve file 7. Generate curve groups Before generating the FAST-TCF script the following options can be set
Page 5.66
User manual Version 10.0, June 2011 Generate For All Pages
T/HIS
The FAST-TCF script will contain all of the commands required to regenerate all of the pages that contain 1 or more graphs. If the option to generate images is selected then the FAST-TCF script will contain the commands to generate multiple images with the page number appended to the filename specified.
The FAST-TCF script will contain all of the commands required to regenerate the currently displayed page. The FAST-TCF script will contain all of the commands required to regenerate the selected page. The FAST-TCF script will contain all of the commands required to regenerate all the currently defined graphs. All of the graphs will be positioned on page 1 using the currently defined layout. This option will only be available if T/HIS only contains a single page (see Section 3.2).
The FAST-TCF script will contain all of the commands required to regenerate all of the active graphs. All of the graphs will be positioned on page 1 using the currently defined layout. This option will only be available if T/HIS only contains a single page (see Section 3.2).
The FAST-TCF script will contain all of the commands required to regenerate the selected graph. The graph will be positioned on page 1.
FAST-TCF Script : Image Output If this option is selected then the FAST-TCF script will contain the commands required to generate an image of each of the pages/graphs selected for output. The Image Format can be set to any of the supported image types (see Section 5.8). If the FAST-TCF script generates multiple pages then the Filename specified will be used for the first image. Subsequent images will use the specified filename with "_2", "_3" ... appended. FAST-TCF Script : Curve Output By default the FAST-TCF script will only contain the command needed to reproduce the curves that are unblanked in 1 or more of the graphs selected for output. This option can be used to select additional curves for which the commands required to generate them are also added to the FAST-TCF script. If a curve is selected that is also unblanked in one of the graphs the command to regenerate it are only added to the FAST-TCF script once. In addition to selecting additional curves this option can also be used to add commands to the FAST-TCF script to write the additional curves out to a T/HIS .cur curve file. FAST-TCF Script : Curve Group Output This option can be used to select additional curves for output to the FAST-TCF script by curve group. If a curve is selected that is also unblanked in one of the graphs the command to regenerate it are only added to the FAST-TCF script once. This option will also add the commands to regenerate the selected curve groups to the FAST-TCF script.
Page 5.67
T/HIS
5.14.2 Run
This menu allows the user to run a FAST-TCF file from within T/HIS. After the user has selected the FAST-TCF file T/HIS scans the file for data requests and model requests to see what input the FAST-TCF file requires. Note that there must be a model read into T/HIS before a FAST-TCF file that contains data extraction can be run. The next FAST-TCF command line is displayed in red in the upper text area, at this point the user can select to Play the FAST-TCF file or Step through it line by line. After every line of FAST-TCF the resulting command in T/HIS is shown in the lower text area. Select End during stepping through the lines to go to the end of the file. Reread will re read the file and start back at the beginning. The Model Mapping option allows the user to define which model in T/HIS should be used for the equivalent model number in the FAST-TCF script. The model number zero is equivalent to the default model in FAST-TCF if no models are defined. The default model mapping will use the same model numbers as in the FAST-TCF script. Auto confirm text boxes will force T/HIS to confirm any text boxes that should appear in the interactive playback of a FAST-TCF script (such as HIC results and so on). The FAST-TCF script will ignore any existing T/HIS curves and their tags. This guarantees that the user can run a single FAST-TCF file many times and it will only use the new curves created by FAST-TCF.
Page 5.68
T/HIS
5.15.1 TITLE
The plot title may be set AUTOmatically or manually. When the AUTO option is selected the text box will display <automatic> and the plot title will be set to the title of the first curve that is currently being plotted. The plot title may be turned on and off by toggling the ON/OFF button.
Page 5.69
T/HIS
5.15.2 X-AXIS
AXIS LABELS
The x-axis label may be set automatically or a user defined label can be specified.. When the AUTOMATIC option is selected the text box will display <X automatic> and the axis label will be set to the x axis label of the first curve that is currently being plotted. The axis label may be turned on and off by toggling the Display Label button. In addition to displaying the axis labels an optional unit label can also be appended to the axis label. If the option to add a unit label is set to Automatic then the unit label displayed will depend on the current curves that are visible and the current unit system being used to display results (see Section 5.22 for more information on Unit Systems). If the curves being displayed do not have the same axis unit then no unit label will be displayed. The unit label may be turned on and off by toggling the Add Units button.
AXIS LIMITS
The minimum and maximum x axis values can be controlled using a combination of the text box and the popup menu opposite. Autoscale The axis values will be set to the maximum and minimum values of all the curves that are currently being plotted. Locked The axis limit is set to the user defined value specified in the text box. If the curves are translated of scaled dynamically the limit will be reset. Note : The global command AUTOSCALE (see Section 4.5) will reset the minimum and maximum values to AUTO.
AXIS TYPE
The x-axis can be switched between a Linear or Logarithmic scale. If a Logarithmic scale is selected a warning will be generated if an attempt is made to plot points that have -ve or zero X values and the points will be skipped.
GRID SPACING
By default T/HIS will automatically set the grid line intervals for the x-axis when the grid is tuned on ( see Section 5.16.5 ). If the GRID option is changed from Automatic to Manual a grid Interval and Offset my be specified. If the Interval is set to 0.1 and the Offset to 0.02 then grid lines will be produced at 0.02, 0.12, 0.22 ....
Page 5.70
T/HIS
UNITS
Axis values can be displayed using 3 different formats Automatic Values are displayed using exponential format, all values are displayed as values of E0, E3, E6 etc. e.g 11.234E+03 Scientific Values are displayed using exponential format. e.g 1.123E+04 General Values are displayed as real numbers. e.g 11234.000 In addition to specifying the format, the number of decimal places can also be set between 0 and 9 and the colour and font used to display the values can be set.
Page 5.71
T/HIS
5.15.3 Y-AXIS
The same options for LABELS, LIMITS, SCALE, GRID LINES and UNITS apply to the Y-AXIS as those available for the X_AXIS.
to with an additional tick box for each curve that controls which curves are plotted against the second (right hand) y-axis.
If only one y-axis scale is used it is not possible to meaningfully plot curves with different units or very different values. A second scale allows more information to be displayed at once, as demonstrated below. To identify which axis a curve is being plotted against the line Second Y axis labels on the plot are automatically modified. disabled Left hand Y axis Right hand y axis
Page 5.72
T/HIS
All of the options that are available to control the label, scale and type of the y-axis are also available for the second y-axis except for the Grid option. NOTE : When the DOUBLE AXIS option is used with GRID lines a grid is only plotted for the left hand y-axis.
Page 5.73
T/HIS
5.15.5 Legend
5.15.5.1 Curve Labels
Show Prefix This option can be used to automatically add a prefix to each of the curve legends when a curve is plotted. This option has 3 settings Automatic If there is more that 1 model loaded in T/HIS then a prefix will automatically be added to any curves that have been read in from a model. Curves read in from other files will not be prefixed. On A prefix will automatically be added to any curves that have been read in from a model regardless of the number of models currently loaded in T/HIS. Curves read in from other files will not be prefixed. Off No prefixes will be added Prefix Format This option can be used to set the format used for the curve prefix. This option has 4 settings Model Number Directory The model number will be used as the prefix. e.g (M1) The directory name the model was read from will be used at the prefix. e.g. (/run1) The root name of the THF file will be used as the prefix. e.g (sled_test) A used defined prefix will be used. The prefix can be defined on a model by model case using the Model Menu.
THF File
User Defined
The font, size and colour of the text used to display the legends can also be specified.
Page 5.74
T/HIS
5.15.5.2 Layout
T/HIS has 4 different plotting formats as described below. The number of columns used to display the curve legends can also be set between 1 & 3. When multiple columns are used curve labels will automatically be truncated to fit the available space. Default This format fixes the size of the plotting area. The maximum number of curve legends that can be displayed will depend on the font family and size selected by the user and the number of columns. If any USER LINES have been defined then the area used to display the legend will be reduced so that the text does not cover the Automatic This format automatically adjusts the plot size to maximise the plotting area while still showing a maximum of 18 line labels. Any text entered using the USER LINES option will be ignored in this plotting mode.
Page 5.75
T/HIS Full This format maximises the plotting area by not showing any line labels. Any text entered using the USER LINES option will be ignored in this plotting mode.
Floating This format maximises the plotting area and positions the legend on top of the graph area.
The size of the legend can be modified by clicking with the left mouse button on the legend border/corner and dragging. The legend can also be moved by clicking with the left mouse button inside the legend and dragging.
Page 5.76
T/HIS
5.15.5.3 BACKGROUND
This option can be used to alter the default background colour of the floating legend. By default the colour will be the same as the backgorund colour of the graph. As well as setting a different background colour for the floating legend a %age transparency can also be specified if the legend obscures any curves
Page 5.77
T/HIS
5.16.1 LINES
This is an ON/OFF switch for the lines between points to be drawn for all curves. The default is ON. The Default Line Width is used for all curves that have not had their widths explicitly set in the CURVE CONTROL menu. The default line width can be specified in the "preferences" file (see Appendix H for more details).
5.16.3 SYMBOLS
This is an ON/OFF switch which controls whether symbols are plotted on top of the curves to help identify them. This option affects all the curves that are currently being used. If you wish to turn the symbols on for only some of the curves then this switch should be set to ON and the CURVE CONTROL menu should be used to turn the symbols off on the curves for which you do not want symbols drawn on. The default is OFF. The Symbols Frequency is used for all curves that have not had a frequency explicitly set in the CURVE CONTROL menu. This value controls how often a symbol is drawn on a curve.
5.16.3 GRID
This is an ON/OFF switch which determines whether or not grid lines are shown on the plot. The default is OFF. The Grid Width can be used to change the width of the grid and axis lines. /de grid on turns grid lines on /de grid off turns grid lines off /de grid th 2sets the grid thickness to 2 pixels The default grid width and visibility can be specified in the "preferences" file (see Appendix H for more details).
Page 5.78
T/HIS
5.16.4 AXIS
The Axis Width can be used to change the width of the axis lines. The COLOUR button can be used to change the colour of the axis lines (see Section 5.6.2 for details on the available colours). The default axis width can be specified in the "preferences" file (see Appendix H for more details).
5.16.5 BORDER
This is an ON/OFF switch which determines whether or not a border is drawn round the plot. The default is ON. The Border Width can be used to change the width of the border. The COLOUR button can be used to change the colour of the border (see Section 5.6.2 for details on the available colours).
5.16.7 Background
This option can be used to modify the background colour (see Section 5.6.2 for details on the available colours) or to set a background image. By default the background colour is set to BLACK.
Page 5.79
T/HIS Image The IMAGE option can be used to display a background image behind a graph instead of a solid background colour. If the image dimensions do not match the graph window dimensions then the image can be scaled to fit or it can be tiled.
Page 5.80
T/HIS
5.16.8 Foreground
This option can be used to modify the foreground colour (see Section 5.6.2 for details on the available colours). By default the background colour is set to BLACK and the foreground colour is set to WHITE. Initially the grid, axes, border and labels are all set to the foreground colour.
Page 5.81
T/HIS
5.17 SETTINGS
5.17.1 Data Sources
This menu allows the user to specify their preferred order of data sources for the different data types. Upon reading in models T/HIS will read all files regardless of these preferences. When T/HIS extracts data for plotting the source is dependent on that currently set in this menu. If you select a data component or entity that is not available in the first data source T/HIS will automatically try the other data sources in order until the combination is found. The Model Manager can be used to see what source has been used for each item for models already read into T/HIS
Page 5.82
T/HIS
5.17.2 Files
File Names By default the file filters in T/HIS are set to look for the file naming convention set for the LS-DYNA output files by the SHELL. This option can be used to swap the file filters back to the default LSTC naming convention. This option can be set in the Preference File File Time history Extra Time history ARUP name LSTC name "jobname".thfd3thdt "jobname".xtfxtfile
File Output The HIC, 3ms Clip, ASI,THIV, TTI Automotive injury criteria functions and ERR operator function can all send there output to a file as well as to the screen. These options can be used to select which functions send out to a file and to specify a Root Filename that is used for all of the output files. The Root Filename can be set in the Preference File
Page 5.83
T/HIS
5.17.3 General
Curve Operations All of the AUTOMOTIVE filters are designed to filter curves using seconds as the time unit. This option can be used to automatically convert the x-axis values of any curves from milliseconds to seconds before applying one of the filters. If a curve is automatically converted then the output curve is also automatically converted back into milliseconds. This option can be set in the Preference File All of the AUTOMOTIVE filters require curves with constant time intervals. This option can be used to specify a default time interval that will be used to automatically regularise a curve before it is filtered. By default the HIC and 3ms Clip functions calculate and report a value to the screen. These options can be used to make T/HIS display the peak values and the time widows they occur over. These options can be set in the Preference File At present 2 different methods are used to calculate the VC injury criteria for the ECER95 and IIHS regulations (see Appendix E for more details ). This option can be used to set the default value. This option can be set in the Preference File By default T/HIS uses 6 colours (White, Red, Green, Blue, Cyan and Magenta) for any curves that have not had a colour explicitly defined for them. Curves 1,7,13... will be White, 2,8,14... will be Red. This option can be used to change the default number of colours T/HIS uses. Default Use the default 6 colours
Extended Use the first 13 colours No Grey Use all 30 predefined colours except the 3 grey ones Full Use all 30 predefined colours plus any user defined ones.
The default value for the curve palette can also be specified in the "preferences" file (see Appendix H for more details).
Page 5.84
T/HIS
5.17.4 Layout
Save Settings This option can be used to save a T/HIS settings file which can be reloaded later. The settings file uses the same syntax as a FAST-TCF script except it only contains layout and setup commands. The settings file can contain all of the commands required to reproduce the current page and graph layout or a subset of the commands.
Page 5.85
T/HIS Reload Settings This option can be used to reload a previously saved settings file. In addition to reloading a file interactively a settings file can also be specified on the command line -set=filename or via the Preference File this*settings_file: filename
Page 5.86
T/HIS
5.18 Preferences
The Preference menu provides an interactive editor for setting options for T/HIS in the oa_pref preference file (see Appendix H for more details on the oa_pref file/options) The preferences editor reads an XML file that contains all possible preferences and their valid options, and allows you to change them at will. In this example the user is changing the background colour in T/HIS. Note that changes made in the Preferences editor will not affect the current session of T/HIS, they will only take effect the next time it is run. If you have write permission on the oa_pref file in the $OASYS directory you will be asked if you want to update that file, otherwise you will only be given the option of updating your own file in your $HOME / $USERPROFILE directory. For more information on the interactive preference editor see Appendix H.
Page 5.87
T/HIS
5.19.1 Create
This option can be used to create a new curve group. By default the group will be called "Curve_group_#" where "#" is the curve group number if an alternate name is not specified.
Page 5.88
T/HIS
5.19.2 Modify
This option can be used to modify the contents of an existing curve group or its name. When a curve group is selected any curves that are already defined in the group are highlighted in the curve list.
Page 5.89
T/HIS
5.20 GRAPHS
This panel can be used to create additional graphs within T/HIS. In addition to creating graphs this menu can also be used to control the layout of the graphs and to set up pages of graphs within T/HIS. See Section 3.0 for more details.
Page 5.90
T/HIS
5.21 PROPERTIES
This menu can be used to display addition curves properties. Minimum and maximum curve values can be highlighted for each curve and the value can also be displayed.
In addition to displaying the value on the curve the values can also be added automatically to the curve label in the graph legend.
Page 5.91
T/HIS
Curves (Summary)
This option will display a single minimum/maximum value from all curves currently displayed.. The following properties can be displayed Maximum value Display Maximum Minimum value Display Minimum Mark the maximum value with a cross Display the maximum value Mark the minimum value with a cross Display the minimum value
Page 5.92
T/HIS
5.21.3 Format
This option can be used to control the display of the minimum/maximum values on the screen.
Text
The font, font size and colour of the values can be selected. Either a single colour can be used for all the values or the values for each curve can be coloured using the same colour as the curve.
Background
To make it easier to read the values a background can also be specified. In addition to specifying the background colour a transparency value can be used to control the visibility of curves under the text.
Connecting Line
This option will draw a line connecting the value with the point it relates to on the curve. The connecting line is drawn using the same colour as the border.
Value
The values can be displayed showing just the Y axis value or with both the X and Y axis values. If both values are displayed they can either be displayed separated by a comma or one above the other.
Page 5.93
T/HIS
Number Format
The values can be displayed using 3 different formats Automatic Values are displayed using exponential format, all values are displayed as values of E0, E3, E6 etc. e.g 11.234E+03 Scientific Values are displayed using exponential format. e.g 1.123E+04 General Values are displayed as real numbers. e.g 11234.000
Decimal Places
In addition to specifying the format, the number of decimal places can also be set between 0 and 9.
5.21.3 Legend
This option can be used to automatically added curve properties to the curve labels in the legend area. The following curve properties can be added to each curve label Maximum value Minimum value Average value Injury Criteria (HIC, HICd etc) Other options Off Turns off the display of curve properties in the legend
Append Add the values to the same line as the curve labels in the legend 2nd Line Display the values using a second line for each curve in the legend
The format of the numbers added to the curve labels is the same as that used to display values on the curves.
Page 5.94
T/HIS
If the default location of the text obscures other curves then the position can be changed by clicking on the value with the left mouse button and then dragging the value to a new position. If dynamic viewing is used to either zoom in or translate the curves after a value has been moved to a new position then it will maintain its new position relative to the minimum/maximum value location. As well as moving the minimum/maximum values the values used to display injury criteria like HIC and HIC(d) can also be moved.
Page 5.95
T/HIS
5.22 UNITS
From version 9.4 onwards T/HIS tries to keep track of the units for each curves X and Y axis. For every data component that T/HIS can read from an LS-DYNA results file one of the following basic units is stored for the curves X and Y axis. Time Energy Work Temperature Displacement Velocity Acceleration Rotation Rotational Velocity Rotational Acceleration Length Area Volume Mass Momentum Density Stress Strain Force Moment Pressure Energy Density Mass Flow Frequency Power Thermal Flux Force per unit width Moment per unit width
When a curve operation is carried out on curve which has either the X or Y axis unit defined the units for the output curve(s) are also calculated. If a curve operation is carried out using 2 or more input curves with different units and the result is a curve with inconsistent units then the units are set to zero If one of the inputs is a constant then it assumed to be unitless. Input 1 Input 2 Operation Output Velocity (m/s) Velocity (m/s) Add Velocity (m/s) Velocity (m/s) Displacement (m) Add Unknown Velocity (m/s) Velocity (m/s) Divide Constant Velocity (m/s) Displacement (m) Divide Frequency (1/s) Velocity (m/s) Constant Add Velocity (m/s) Velocity (m/s) Constant Divide Velocity (m/s) Velocity (m/s) Differentiate Acceleration (m/s^2)
5.22.1 Models
By keeping track of the X and Y axis units for each curve T/HIS can now convert results from one unit system to another. For each model one of the following 6 unit systems can be defined. Name Units U1 m, kg, seconds (SI) U2 mm, Tonnes, seconds U3 mm, kg, milli-seconds U4 mm, gm, milli-seconds U5 ft, slug, seconds U6 m, Tonnes, seconds
Page 5.96
User manual Version 10.0, June 2011 In addition to specifying a unit system for each model a separate unit system can also be selected to use to display results. If the model unit system and the display unit system are different then T/HIS will automatically calculate the correct factors to apply to the X and Y axis as the curve data is read from the file (All curves are stored inside T/HIS using the currently defined Display unit system).
T/HIS
5.22.2 Labels
This option will display the labels that will be used for each of the built in units. Each Unit System has its own set of labels which can be modified if required. The default labels for each unit system are shown below.
Page 5.97
T/HIS U1: m,kg,s U2: mm,T,s U3: mm,kg,ms s s ms J mJ J J mJ J K K K m mm mm m/s mm/s mm/ms m/s^2 mm/s^2 mm/ms^2 Radians Radians Radians Radians/s Radians/s Radians/s Radians/s^2 Radians/s^2 Radians/s^2
User manual Version 10.0, June 2011 U4: mm,gm,ms ms mJ mJ K mm mm/ms mm/ms^2 Radians Radians/s Radians/s^2 U5: ft,slug,s U6: m,T,s
Time s s Energy ft lbf kJ Work ft lbf kJ Temperature K K Displacement ft m Velocity ft/s m/s Acceleration ft/s^2 m/s^2 Rotation Radians Radians Rotational Velocity Radians/s Radians/s Rotational Radians/s^2 Radians/s^2 Acceleration Length m mm mm mm ft m Area m^2 mm^2 mm^2 mm^2 sq ft m^2 Volume m^3 mm^3 mm^3 mm^3 cu ft m^3 Mass kg T kg gm slug T Momentum kg m/s T mm/s kg mm/ms gm mm/ms ft slug/s T m/s Density kg/m^3 T/mm^3 kg/mm^3 gm/mm^3 slug/cu ft T/m^3 Stress N/m^2 N/mm^2 kN/mm^2 N/mm^2 lbf/sq ft kN/m^2 Strain Force N N kN N lbf kN Moment Nm Nmm kNmm Nmm ft lbf kNm Pressure N/m^2 N/mm^2 kN/mm^2 N/mm^2 lbf/sq ft kN/m^2 Energy Density J/m^3 mJ/mm^3 J/mm^3 mJ/mm^3 ft lbf/cu ft kJ/mm^3 Mass FLow kg/s T/s kg/ms gm/ms slug/s T/s Frequency Hz Hz kHz kHz Hz Hz Power W mW kW W ft lbf/s kW Thermal Flux W/m^2 mW/mm^2 kW/mm^2 W/mm^2 lbf/ft kW/m^2 Force per unit width N/m N/mm kN/mm N/mm lbf/ft kN/m Moment per unit Nm/m Nmm/mm kNmm/mm Nmm/mm ft lbf/ft kNm/m width If a curve has a user defined unit or if after a curve operation one of the curve axis unit is not one of the basic units that T/HIS knows about then T/HIS will build a label from the currently defined length,mass,time,temperature and angle labels. If for example a velocity/time curve is multiplied by another velocity time curve then the Y axis will have units of Velocity^2. If the current display unit system is U1 (m,kg,seconds) then the unit label for the curves y axis will be "m^2/s^2".
Page 5.98
T/HIS
5.22.3 Curves
This option can be used to display the unit information for each curve.
By default the unit system for each curve is displayed but his can be changed to show either the X or Y axis unit using the popup menu.
Page 5.99
T/HIS
Page 5.100
T/HIS
6 Other Options
6.1 Tool Bar
The tool bar is located across the top of the main T/HIS window and provides easy access to all of the main T/HIS menus from a series of drop down menus. In addition to the menus the drop down menus also allow a number of items to be changed dynamically and it provides a constant feedback of the cursor position within the graph area. Each graph window contains its own tool bar that provides a subset of the functions in the main toolbar (see Section 6.2)
6.1.1 File
The File drop down menu can be used to access the following menus. Read Write Curve Manager Model Manager Edit Page Setup Print Manual see Section 5.1 for more details. see Section 5.2 for more details. see Section 5.3 for more details. see Section 5.4 for more details. see Section 5.5 for more details This option is only available on PCs and can be used to access the standard Windows Page Setup menu. This option is only available on PCs and can be used to access the standard Windows Print menu. Displays this manual.
6.1.2 Graphs
The Graphs drop down menu can be used to create new graphs and to change layout options. Create Options... Auto-hide graph tool bar Create a new graph, see Section 3.1 for more details. Modify graph layout options, see section 3.1 for more details. This option can be used to automatically hide the tool bar, see Section 6.2, at the top of each graph window.
Page 6.1
T/HIS
6.1.3 Plotting
The Plotting drop down menu can be used to access the following plotting commands Plot Zoom Point Autoscale Centre see Section 4.1 for more details. see Section 4.4 for more details. see Section 4.2 for more details. see Section 4.5 for more details. see Section 4.6 for more details.
6.1.4 Functions
The Functions drop down menu can be used to access all of the curve functions. Automotive Operate Maths Seismic see Section 5.11 for more details. see Section 5.9 for more details. see Section 5.10 for more details. see Section 5.12 for more details.
6.1.5 Display
The Display drop down menu can be used to access the Title/Axis and Display menus and to dynamically modify the appearance of graphs. This menu changes all of the currently active graphs (see section 3.5) Title/Axis Display Grid Symbols Lines Border Foreground Background Swap Fore/Back Plot Format see Section 5.15 for more details. see Section 5.16 for more details. Turns the gird on/off, see Section 5.16.3 for more details. Turns graph symbols on/off, see Section 5.16.3 for more details. Turns graph lines on/off, see Section 5.16.1 for more details. Turns the plot border on/off, see Section 5.16.5 for more details. Sets the foreground colour, see Section 5.16.8 for more details. Sets the background colour, see Section 5.16.7 for more details. Swaps the current foreground and background colours, see Section 5.16.9 for more details. Set the current plot format, see Section 5.15.5.2 for more details.
Page 6.2
T/HIS
6.1.6 Images
The Images drop down menu can be used to save the current displayed graphs as an image in a number of formats. In addition to saving an image this menu can also be used to read in an image that is used as the background for each graph. BMP, JPEG... Postscript Background Capture the image as a bitmap or JPEG, see Section 5.8.1 for more details. Generate a Postscript or PDF image, see Section 5.8.2 for more details. This option can be used to set an image as the background for each graph, see Section 5.8.3 for more details.
6.1.7 Options
The Options drop down menu can be used to access all the following functions Command File Settings FAST-TCF Convert LSDA>ASCII Edit Preferences Menu Attributes Auto Update Show Model Prefix Prefix Format Drag with curves Modify menu fonts, size and colours, see Section 6.1.7.1 for more details. Turn on/off automatic update. Turn the model prefix on/off or set it to automatic, see Section 5.15.5.1 for more details. Select the prefix format displayed for each model, see section 5.15.5.1 for more details. Turn on/off the display of curves when dragging axis borders and legends. On some slow machines the time taken to update the display when a large number of curves is displayed makes the dragging response too slow. This option will automatically turn off the display of curves while the dragging operation is active. Setup keyboard shortcuts for commonly used function, see section 6.5 for more details. see Section 5.11 for more details. Change data sources and other settings, see Section 5.17 for more details. Generate/playback FAST-TCF scripts, see Section 5.10 for more details. Convert a LSDA binout file to ASCII, see Section 5.4.4 for more details.
Shortcuts
Page 6.3
T/HIS
Display Factor
Lies in the range 0.5 to 2.0, default 1.0. Values < 1.0 reduce the apparent size of the screen so that menus and text become larger. Values > 1.0 act in the opposite sense. This is the simplest way of taking into account the display size.
Page 6.4
T/HIS
Font Size
Sets the font size independently of the display scale, face which can be useful on wide-screen displays. The font typeface can also be changed.
Brightness
Lies in the range 0.0 to 1.0, default 1.0. Controls the brightness of the menu interface only (it will not affect displayed graphics).
Saturation
Lies in the range 0.0 to 1.0, default 1.0. Controls the colour saturation of the menu interface. (Again it will not affect displayed graphics.)
Left Handed
The software uses mouse buttons and keyboard meta settings keys (<shift> & <control>) in a handed way that is set up by default for right-handed use. It is possible to configure either or both for left-handed use.
Save Settings
Once you have adjusted the above to your taste you can save these settings in your oa_pref file for future use with the Save_Settings button. If you do not save settings they will be lost when this session exits.
Page 6.5
T/HIS
6.1.8.1 Functions...
This option can be used to select any of the curve operations (see Sections 5.9, 5.10, 5.11 and 5.12) that have a single curve as input. In addition to selecting a curve operation this menu can also be used to set the output curve for the curve operation to either the 1st free curve or to overwrite the input curve. This option can be applied to multiple curves but it can not be undone.
6.1.8.2 Blank...
This option can be used to blank curves. The selected curves can be blanked in just the graph they were selected in, all the currently active graphs or all graphs. This option can be applied to multiple curves and it can be undone using the middle mouse button.
6.1.8.3 Unblank...
This option can be used to unblank curves. The selected curves can be unblanked in all the currently active graphs, all graphs or a individual graph can be specified. This option can be applied to multiple curves and it can be undone using the middle mouse button.
6.1.8.4 Only...
This option can be used to blank all curves except for the selected ones. The selection can be applied to just the graph they were selected in, all the currently active graphs or all graphs. This option can be applied to multiple curves and it can be undone using the middle mouse button.
Page 6.6
T/HIS
6.1.8.5 Delete
This option can be used to delete curves. It can be applied to multiple curves but it can not be undone.
6.1.8.6 Properties...
This option will display the current properties for a curve (see Section 6.3.1 for more details). If multiple curves are selected this option is only applied to the one with the lowest curve ID.
6.1.8.7 History...
This option can be used to view and edit the history of operations used to create a curve (see Section 6.4 for more details).
6.1.8.8 Edit...
This option can be used to select a curve for editing (see Section 5.5 for more details). If multiple curves are selected this option is only applied to the one with the lowest curve ID.
6.1.8.10 Colours...
This option can be used to change the colour of curves. This option can be applied to multiple curves and it can be undone using the middle mouse button.
6.1.8.13 Symbols...
This option can be used to change the symbol style of curves. This option can be applied to multiple curves and it can be undone using the middle mouse button.
Page 6.7
T/HIS
6.3.1 Properties...
This option displays a number of properties for a curve including minimum and maximum values, average and RMS value.
Page 6.8
T/HIS
6.3.3 Functions...
The functions popup menu can be used to access any of the curve operations that take a single curve as the only input. As well as applying an operation to a curve this menu can also be used to select between. Overwriting the input curve with the output from each function Writing the output to the 1st unused curve
6.4.1 Viewing
When a curve is selected and the curve history is displayed a floating window will be displayed that shows all of the operations used to create a curve. In the example opposite 3 items were read in and then combined using the VECtor operation.
More information on each part of the curve history can be obtained by moving the mouse across each operation.
Page 6.9
T/HIS
If a curve operation has one or more inputs that are not curves then the hover text will display all of the inputs along with their values.
6.4.2 Modifying
As well as viewing the operations used to create a curve the operations can also be modified by right clicking on them. For a READ operation, the entity ID can be changed to any other ID of the same entity type. T/HIS will automatically check if results are available for the new ID and display a warning if they are not. As well as changing the entity ID the data component can also be modified by selecting a different component in the popup menu. If a curve operation has one or more inputs that are not curves then right clicking on the operation will display a popup menu that will allow all of the values to be modified.
Page 6.10
User manual Version 10.0, June 2011 As well as changing the inputs to existing curve operations it is also possible to change a curve operation to any other curve operation that has the same number of input curves. Right clicking on the popup symbol next to the name of the current curve operation will display a menu containing a list of all of the curve operations that are available which have the same number of input curves. If for example the current curve operation is CLIP then the popup menu of available operations will contain all of the other curve functions that have a single input curve.
T/HIS
Page 6.11
T/HIS
Page 6.12
T/HIS
Page 6.13
T/HIS At the top of the panel you will see the following buttons.
Restores the shortcuts to their default keys, removing any shortcuts assigned by the user. Saves the shortcuts to the oa_pref file in the home directory. They are saved in the format "this*A_key: AUTOSCALE" where the first part defines which key the shortcut is assigned to and the second part is the shortcut being assigned. Each shortcut has a specific name to use in the oa_pref file, and a list is given below. When T/HIS is started this is read and the saved shortcuts are restored. Reloads the shortcuts from the oa_pref file in the home directory. Clears all the shortcuts on the panel. To assign a shortcut, right click on the key you want to assign it to. This will bring up a list of all available shortcuts in T/HIS as well as the option to assign Macros or FAST-TCF scripts.
Page 6.14
User manual Version 10.0, June 2011 To assign a Macros, FAST-TCF script or JavaScript a to a key, right click on "Macros...","FAST-TCF Scripts..." or "JavaScripts". This will bring up another popup from which you can select the Macro or FAST-TCF script. The popup will contain a list of Scripts that T/HIS has picked up from the $OASYS and home directory. If the script you want is not in this list you can browse for it by clicking on the folder icon. The listing of assigned keys is colour coded to easily distinguish between pre-programmed shortcuts (white), FAST-TCF scripts (light-blue), Macros (dark-blue) and JavaScripts (dark-green)
T/HIS
Page 6.15
T/HIS
View Controls A/a - Autoscale (AUTOSCALE) P/p - Plot (PLOT) Z/z - Zoom (ZOOM) "-"/"_" - Zoom out (ZOOM_OUT) Blanking B/b - Blank All (BLANK) U/u - Unblank all curves (UNBLANK) Menus Automotive Menu (AUTOMOTIVE_MENU) C/c - Curve Menu (CURVE_MENU) Curve Table (CURVE_TABLE) Edit Menu (EDIT_MENU) Image Menu (IMAGE_MENU) Macros Menu (MACROS_MENU) Model Menu (MODEL_MENU) Page Layout Menu (PAGE_MENU) Read Menu (READ_MENU) Seismic Menu (SEISMIC_MENU) Style Menu (STYLE_MENU) Units Menu (UNITS_MENU) Command Files Menu (CFILE_MENU) Curve Properties Menu (PROP_MENU) Display Menu (DISPLAY_MENU) Groups Menu (GROUPS_MENU) F/f - FAST-TCF Menu (FAST_TCF_MENU) Maths Menu (MATHS_MENU) Operate Menu (OPERATE_MENU) Preferences Menu (PREF_MENU) Shortcut Menu (SHORTCUT) Settings Menu (SETTINGS_MENU) Title/Axes Menu (TITLE_MENU) Write Menu (WRITE_MENU) R/r - Reverse curve blanking (REVERSE) Autoscale Y axis (Y_AUTOSCALE) [SPACE] - Plot (PLOT) "+"/"=" - Zoom in (ZOOM_IN)
Page 6.16
T/HIS
Page Layout 1 - Page Layout Tile Tall (TILE_TALL) 3 - Page Layout Tile Cascade (CASCADE) 5 - Page Layout Tile 2x2 (LAYOUT_2X2) Miscellaneous G/g - Create a new graph Window (NEW_WINDOW) V/v - Change Curve Picking Group (CURVE_GROUP) PAGE UP - Next Page HOME - First Page Change edit to next point (EDIT_NEXT) T/t - Tidy Menus (TIDY_MENUS) Q/q - Swap to Quick Pick (QUICK_PICK) PAGE DOWN - Previous Page END - Last Page 0 - Copy Axis Settings (COPY_AXIS) 2 - Page Layout Tile Wide (TILE_WIDE) 4 - Page Layout Tile 1x1 (LAYOUT_1X1) 6 - Page Layout Tile 3x3 (LAYOUT_3X3)
Page 6.17
T/HIS
Page 6.18
T/HIS
7 FAST-TCF
FAST-TCF CONTENTS 7.0 Overview 7.1 Introduction 7.2 Page / Graph layout and selection 7.3 Input syntax to load other files 7.4 Input for data extraction requests 7.5 Units 7.6 Curve Tags 7.7 Curve Groups 7.8 Performing curve operations 7.9 Applying extra options to data requests 7.10 Setting properties for curves 7.11 Image Output options 7.12 Tabulation and presenter.var options 7.13 FAST-TCF Curve Output 7.14 FAST-TCF additional
New Features for FAST-TCF version 9.2 FAST-TCF has been extensively revised to include almost all of the T/HIS commands. The improved functionality does mean that old scripts may have to be changed to meet the new standards. NOTE: FAST-TCF is not 100% compatible with pre-version 9.1 input scripts: Variables have changed to allow more flexibility, but the old rule for filenames (word1 + word2) has now been discontinued, filenames must all be one word Rigidwall command must now have "n" for the xtf file output (rather than nothing at all) Shell and Solid effective strain must have the fourth word "eff" to distinguish them from other types of strain that have been added No FAST-TCF defaults for plot setup - defaults are now the T/HIS standard ones New features since version 9.1: Reading of keyword, csv, csv2, and bulk data files, keyboard entry Operation commands "order", "cat", "r_ave", "stress", "logx", "logx10", "translate", "vector2D", "window" Variables are processed on a line by line basis Variables can be defined using curve properties - for example a variable could be set to equal max of a curve, and then used to divide another curve Continuation lines added - defined using a "\" at the very end of a line Page 7.1
T/HIS
User manual Version 10.0, June 2011 Tabulation commands "yatmax" and "yatmin" added for Y values at maximum and minimum X All extraction commands are supported: Boundary, Geo contacts, FSI, Joints, SPH, Thick shells and so on All the missing components for previous data types are now supported Multiple data extraction on one line e.g. "node 100:last acc X" Multiple generic tagging and labeling of output curves using wildcard "*" Multiple curves can be operated upon in one line e.g. "oper ADD acc_* 10.0" Multiple curves can be plotted using wildcards "*" in tag names Integration point output can be changed Multiple models supported Extended plotting syntax for setting up plot defaults (grid colours, offsets, fonts and so on) "Tabc" command for writing out tabulation data to a csv file "plot" and "auto" commands added for use in interactive playback mode macro support for running FAST-TCF files on specific curves
Page 7.2
User manual Version 10.0, June 2011 e:\side_imnpact\run2\run2.thf e:\side_imnpact\run3\run3.thf e:\side_imnpact\run4\run4.thf Shell operation:
T/HIS
Right click on the SHELLSs T/HIS button, and go to the options menu. Select the FAST-TCF input script and the thf input file if necessary. Return to the main shell menu and press the T/HIS button.
Page 7.3
T/HIS
7.1.3 Input Files Needed, and Output and Intermediate Files Created
1. 2. 3. 4. 5. 6. input_script is required at the start. input_script.output is a file that contains the concatenated output from FAST-TCF. input_script.tmp is a temporary file that FAST-TCF creates for translation. This is merged after completion into input_script.output so if you see this file then FAST-TCF didnt finish cleanly. input_script.rep is a temporary report file of the FAST-TCF run. This is merged after completion into input_script.output so if you see this file then FAST-TCF didnt finish cleanly. input_script.tcf are the commands passed to T/HIS from FAST-TCF. This is merged after completion into input_script.output so if you see this file then FAST-TCF didnt finish cleanly. The command lines contain special characters such as \r, \m and \l. These are used internally in T/HIS and should be ignored by the user. input_script.sngval contains summaries of every curve outputted.
Other files will be made, such as postscript or bitmap plots, but these will have names specified by the user.
T/HIS
file data requests against a certain keyword deck. Read the deck into Primer, and select MODEL > CHECK > CHECK FAST-TCF FILE. Select the FAST-TCF file and press APPLY. Details can be found in section 3.9 of the Primer manual. Primer will highlight any errors that have occurred with the input file with regards to the keyword deck. The main Primer checks are if the line syntax is valid, whether the correct file is being outputted, whether the relevant DATABASE_HISTORY is present and whether the id. actually exists. Any errors will have to be corrected manually in Primer.
NOTE: If FAST-TCF has completed, then it may be necessary to open the input_file.output file which has the all the output files concatenated together in different sections.
Page 7.5
T/HIS
Page 7.6
T/HIS
graph
position
left
right
top
legend position
left
right
top
n n n n n n n n n n
<type> n
legend background standard colour legend transparency integer (0-100) x format <type> y y2 x y y2 format format precision precision precision <type> <type> m m m -
Page 7.7
T/HIS
notes
CSV 2 (X,Y,Y,Y...)
readcsv2
Curve
rea
bulk data file curves will be read in at this point in the file, and will be numbered accordingly csv file subsequent words can be any of these 2 options: lr <row number containing line labels> ar <row number containing axis labels> <nothing - assumes no labels> csv file type subsequent words can be any of these 3 options: 2 xg <x start value> <x interval> Only one of these 2 options xc <x values column number> can be used lr <row number containing line labels> ar <row number containing axis labels> <nothing - assumes reading x from column 1 and no labels> curve name curves will be read in at this point in the file, and will be numbered accordingly curve tags and styles are stored automatically through the $TAG and $STYLE lines NOTE: If the tag in the curve file conflicts with an existing tag, the tag is NOT read in keyword file curves will be read in at this point in the file, and will be numbered accordingly name include file FAST-TCF will search for includes within includes etc name FAST-TCF pastes the include files into the final input file as soon as they are detected JavaScript Runs a JavaScript. If any curves created by the JavaScript are referenced by following file name command in the FAST-TCF script then the JavaScript should generate curves tags for the curves whih ccan then be used in the FAST-TCF script.
Keyboard entry can also be added into the FAST-TCF file, allowing for simple curves to be created in T/HIS. The keyword for this is keyboard. The order of the following words is important, and must be adhered to (see below). The continuation line character is useful here "\". Keyword following word following word
Keyboard xaxis yaxis label data x axis name y axis name curve label xval,yval xval2,yval2 xval3, yval3 etc
notes
no space between the x and y values, only a space between the pairs of values
for example, to create an acceleration curve with a straight line at value 1.0: keyboard title straight line \ xaxis time \ yaxis accn \ label straight line at 1.0 \ data 0.000000,1.000000 \ 1.000000,1.000000
Page 7.8
T/HIS
node "end of roof" accel z (node extraction) (i.d. "end of roof") (z acceleration) node node 100:last all force y_dir force y_dir (force in y-direction) (node extraction) all nodes from 100 (force in y-direction) (node extraction) all nodes
Page 7.9
T/HIS
third word
lsda ascii xtf thf default
notes
will always check that t/his can get the output from this file, if not then the original default file will be chosen (see data extraction table). This file can still be overwritten on the actual input line
e.g.
node 42 displacement x (read data from default file) define file LSDA node 42 displacement x (read data from LSDA file) node 42 displacement x ASCII (read data from ASCII file)
e.g.
define surface shell top (read data for shell stress/strain values from the top surface) define surface shell 3 (read data for shell stress/strain values from the 3rd integration point) define surface thickshell bottom (read data for thickshell stress/strain values from the bottom surface) define surface beam #2 (read data for beam stress/strain values from the 2nd integration point)
dd 1. 2. 3. e.g.
The line starts with gdef and is followed by an integer for the group i.d, and then part i.d. numbers separated by spaces, or for a range of parts - separated by a :. No options should be applied to this card, because all the words on the line are written out as integers. The input is on one line (which may result in a long line ... ). gdef 1 1 2 3 4 10:20 30:40 (parts 10000 to 20000 and 30000 to 40000)
Page 7.10
T/HIS
Third word
[pr]essure [vo]lume [ie] [in] [ou] [tm] [de]nsity [sa] [te]mp [rf] Part id
Fourth word
[pr]essure maf mav ta [un]blocked te]mperature x y z y z x p1 p2 y1 y2 z1 z2 x y1 y2 z1 z2 a i x xy zx -
Description
pressure volume internal energy mass flow rate in mass flow rate out total mass Density Surface area Gas temperature Reaction force pressure Mass flow rate through fabric Mass flow rate through vent Total area Unblocked area Temperature X coord Y coord Z coord X Velocity Y Velocity Z Velocity Velocity Magnitute pressure Density Gas temperature Axial force Shear force in Y Shear force in Z Moment in Y Moment in Z Torsional moment Axial strain Bending energy: end 1 Bending energy: end 2 Y rotation: end 1 Y rotation: end 2 Z rotation: end 1 Z rotation: end 2 Torsional rotation Y Bending moment: end 1 Y Bending moment: end 2 Z Bending moment: end 1 Z Bending moment: end 2 Axial collapse energy Internal energy Axial stress XY Shear stress ZX Shear stress Effective plastic strain Axial strain
ab_part
Airbag id
ab_sensor
Sensor id
Beam
Bea
Beam id
[m]oment
[b]ending
[e]nergy [stre]ss
[eff] [exx]
Page 7.11
T/HIS
Boundary Bou Boundary id [n]odal loads fx fy fz fm e fx fy fz fm e fx fy fz fm e fx fy fz fm en mx my mz mm fx fy fz fm e x y z m xs ys zs ms t fx fy fz fm mx my mz mm x y z m x y z m x y z -
Contact
Con / Sli
Contact id
[f]orce
[e]nergy [g]eometric
Cross section
Cro / Sec
Section id
[f]orce
[m]oment
[c]entroid
[a]rea
Page 7.12
T/HIS
[po]rous [m]ass
Page 7.13
T/HIS
Joint Joi Joint id [f]orce
Page 7.14
T/HIS
Temperature X Displacement Y Displacement Z Displacement Displacement Magnitute X Velocity Y Velocity Z Velocity Velocity Magnitute X Acceleration Y Acceleration Z Acceleration Acceleration Magnitude Current X coord Current Y coord Current Z coord Current Vector Basic X coord Basic Y coord Basic Z coord Basic Vector X rotation Y rotation Z rotation Rotation Magnitude X rotational velocity Y rotational velocity Z rotational velocity Rotation Vel Magnitude X rotational acceleration Y rotational acceleration Z rotational acceleration Rotation Accel Magnitude X force Y force Z force Force Magnitude Energy X force Y force Z force Force Magnitude Kinetic energy Internal energy Hourglass energy Total energy X momentum Y momentum Z momentum Average X velocity Average Y velocity Average Z velocity Added mass Eroded Kinetic energy Eroded Internal energy Kinetic energy Internal energy Hourglass energy Total energy Added mass Force Pullout Force v Pullout
[v]elocity
[a]cceleration
[c]oord
[b]asic
[r]otation
force
Node Group
Ng
Group id
[e]nergy force
Part
Pa
Part id
Part group
Gro
Group id
Retractor
Ret
Retractor id
[k]inetic e [i]nternal e [h]ourglass e [t]otal e [mx] [my] [mz] [x] velocity [y] velocity [z] velocity [am] [ek] [ei] [k]inetic e [i]nternal e [h]ourglass e [t]otal e [am] [fo]rce [p]ullout [fvp]
x y z m x y z m x y z m x y z m x y z m x y z m vx vy vz vm ax ay az am x y z m x y z m -
Page 7.15
T/HIS
Rigidwall Rig / Wall Wall id [n]ormal force [x] force [y] force [z] force [d]isplacement x y z m x y z m x y z m x y z x y z m vx vy vz vm ax ay az am 11 12 13 21 22 23 31 32 33 x y z x y z x y z x y z vx vy vz ax ay az -
rpa / nrb
Part id
[v]elocity
[a]cceleration
[c]oord
[r]otation
[dc]os
[ld]isplacement (local)
[lv]elocity (local)
[la]cceleration (local)
[lr]otation (local)
Seatbelt
Sea / Bel
Belt id
Page 7.16
T/HIS
Stress in XX Stress in YY Stress in ZZ Stress in XY Stress in YZ Stress in ZX MAX principal stress MIN principal stress MAX shear stress von Mises stress Average stress (Pressure) Effective plastic strain Strain in XX Strain in YY Strain in ZZ Strain in XY Strain in YZ Strain in ZX MAX principal strain MIN principal strain MAX shear strain von Mises strain Average strain Moment in X Moment in Y Moment in XY Shear force in X Shear force in Y Normal force in X Normal force in Y Normal force in XY Thickness Internal energy density Extra data ## Pull through Stress in XX Stress in YY Stress in ZZ Stress in XY Stress in YZ Stress in ZX MAX principal stress MIN principal stress MAX shear stress von Mises stress Average stress (Pressure) Effective plastic strain Strain in XX Strain in YY Strain in ZZ Strain in XY Strain in YZ Strain in ZX MAX principal strain MIN principal strain MAX shear strain von Mises strain Average strain Extra data ##
[stra]in
[m]oment
[f]orce
Slipring Solid
Slp yyp
Slipring id Solid id
[stra]in
[e]xtra
Page 7.17
T/HIS
SPC SPC SPC id [f]orce
[m]oment
SPH
SPH
SPH id
[d]ensity [stra]in
[stre]ss
Spotweld
Sw
Spotweld id
[l]ength [co]nstrained
[ge]neralised
[sp]otweld
[so]lid
[no]n-local
[ass]embly
Page 7.18
T/HIS
Force Elongation Force v Elongation Energy Moment Rotation Moment v Rotation Global X force Global Y force Global Z force Moment in X Moment in Y Moment in Z Rotational Energy Kinetic energy Internal energy Hourglass energy Kinetic Energy Ratio Internal Energy Ratio X momentum Y momentum Z momentum Stress in XX Stress in YY Stress in ZZ Stress in XY Stress in YZ Stress in ZX MAX principal stress MIN principal stress MAX shear stress von Mises stress Average stress (Pressure) Effective plastic strain Strain in XX Strain in YY Strain in ZZ Strain in XY Strain in YZ Strain in ZX MAX principal strain MIN principal strain MAX shear strain von Mises strain Average strain Extra data ##
Subsystem
Ss
Subsystem id
Thick Shell
Thi / Tsh
Tshell id
[stra]in
[e]xtra
Page 7.19
T/HIS
Whole model Wh [dt] [k]inetic e [i]nternal e [sw] [j]oint e [sp]ring e [h]ourglass e [sy]stem e [si] [ew] [rb] [t]otal e [er] [x] velocity [y] velocity [z] velocity [cy]cle time [am] [pm] [ek] [ei] [ewoe] [m]ass [d]isplacement --x y z m x y z m xx yy zz xy yz zx -
TRACERS
Tr
Tracer ID
[v]elocity
[stre]ss
Page 7.20
T/HIS
7.5 UNITS
From version 9.4 onwards T/HIS can automatically add unit information to graph labels and it can convert results from one unit system to another. Each model in T/HIS can have a Unit System defined for it and a separateUnit System can be defined for displaying results. T/HIS will automatically convert results from the model Unit System to the display Unit System. T/HIS has 6 built in unit systems Unit System name Units U1 m,kg,s U2 mm,Tonnes,s U3 mm,kg,ms U4 mm,gm.ms U5 ft,slug,s U6 m,Tonnes,s
all
notes
Set the display unit sytem to U1 Set the display unit sytem to U2 Set the display unit sytem to U3 Set the display unit sytem to U4 Set the display unit sytem to U5 Set the display unit sytem to U6
Page 7.21
T/HIS
notes
## ends the curve list Set the X axis unit for curves ## ends the curve list Set the X axis unit for all curves ## ends the curve list Set theY axis unit for curves ## ends the curve list Set the Y axis unit for all curves
The Unit name can be any of the following Time Energy Work Temperature Displacement Velocity Accel Rotation Rot Vel Rot Accel Length Area Volume Mass Momentum Density Stress Strain Force Moment Pressure Energy Den Mass Flow Frequency Power Thermal Flux Force width Moment width
notes
Unit System name ## ends the curve list ## Set the Unit System for curves Unit System name ## ends the curve list Set the Unit System for all curves
Page 7.22
T/HIS
(node) (i.d. "end of roof") (z acceleration) (tag the curve as "point_2") If a tag is not specified for a curve then FAST-TCF will automatically generate a tag for the curve using the T/HIS curve number as the TAG. The TAG for a curve can be redefined at anytime within a script using the "tag" command (see section 7.10.1) for more details. Once a curve tag has been redefined the original definition should not be used in any following commands - a curve can only have 1 TAG defined at any time.
tags = node_10, node_11, etc labels = Head Accn 10, Head Accn 11, etc
User manual Version 10.0, June 2011 matches a single character against a list of characters, a, b or c operate multiple x_disp_* 10 tag x_mul_*
(Multiple all curves with a tag starting with "x_disp_" by 10 and tag the outputs as x_mul_1, x_mul_2 ... - see Section 7.8 for more details) display copy x_disp_* curve_file.cur x_disp_* (Display all curves with a tag starting with "x_disp_" - see Section 7.11.3 for more details) (Write all curves with a tag starting with "x_disp_" to a file called "curve_file.cur"- see Section 7.13 for more details) csv curve_file.csv curve_1? curve_3[0-3] Write curves with tags curve_10, curve_11, curve_12 .... and curves with tags curve_30, curve_31, curve_32, curve_33 to a CSV file called "curve_file.csv"- see Section 7.13 for more details)
operate multiple #1 10 tag x_mul_* If curve numbers are used within a script then T/HIS will automatically offset the curve numbers in the script by the number of curves T/HIS already has defined before the script is executed. e.g. operate multiple #1 10 tag x_mul_* would multiply internal curve number 1 by 10 if T/HIS didnt contain any curve definitions when the script was run. If T/HIS already contained 100 curves then the same command would multiple internal curve 101 by 10. This means it is possible to play a script containing curve numbers multiple times within a session without having to either delete all the existing curves or modify the script each time.
Page 7.24
T/HIS
Third word
name name
following word
curve list
notes
Create a curve group called "name". If the name contains any spaces then it should be enclosed in quotes ("name with space") Adds a list of curves to the curve group called "name". If the name contains any spaces then it should be enclosed in quotes ("name with space"). The curve list should be a list of curve tags. Removes a list of curves from the curve group called "name". If the name contains any spaces then it should be enclosed in quotes ("name with space"). The curve list should be a list of curve tags.
remove
name
curve list
e.g.
group_1 group_1 "Group 2" "Group 2" "Group 2" curve_1* curve_11 curve_1 curve_2
(Create a curve group called "group_1" (Add curves with tags "curve_1" and "curve_2" to group "group_1") (Create a curve group called "Group 2") Add all curves with a curve tag containing "curve_1" to group "Group 2" Remove curve with tag "curve_11" from group "Group 2" To use a curve group as the input to another FAST-TCF command the curve group name is preceeded by an &. If a curve group name contains spaces then the name should be enclosed in double quotes and the & should be before the first ". e.g. operate operate multiple multiple &group_1 &"Group 2" 10 10 tag tag output_* output_*
(Multiple all curves in curve group "group_1" by 10 and tag the outputs as output_1, output_2 ..._) (Multiple all curves in curve group "Group 2 " by 10 and tag the outputs as output_1, output_2 ..._) Curve Groups can currently be used as The first curve input in all of the operate commands Within the list of curves specified as input to curve range functions. To select a group of curves for the display command. Outputting curves to T/HIS curve files and CSV files.
Page 7.25
T/HIS
Many curve processing operations and functions are available. The syntax is common for all types of curve operation: 1. the first word is oper and is followed by: 2. the operation/function name e.g. ADD, int. 3. the required number of arguments for the operation, e.g. ADD requires two arguments, a curve and either a curve or a value. 4. the remainder of the line may contain optional requests. 5. any optional requests can occur after the arguments. 6. curve numbers must be in the format: #<curve number> 7. An output curve is always needed - for operation commands such as hic, hicd, tti, 3ms, err, the curve will be copied and the operation is executed on the copied curve. 8. A curve tag containing a wildcard or a curve group can be specified as the first curve input for any curve operation. If a curve tag contains a wildcard or if a curve group is specified then the curve operation will be repeated for each curve that either the tag matches or is in the curve group. e.g. oper hic (hic) node_acc 1.0 (curve tag) (scale=1.0) 15E-3 (15ms period) label Hic-ed node accn (label)
In T/HIS 9.2 onwards, the user can operate on multiple input curves (only the first curve can be multiple at the moment) using the wildcard "*". For example, to multiply all curves starting with the tag acc: e.g. oper mul (multiply) acc* 9810.0
following word #1
curve #1 curve #1 curve #1 curve #1
following word #2
curve #2 or constant curve #2 or constant x min value / "auto"
additional words
x max value / "auto" y min value / "auto" y max value / "auto" -
notes
Combine Concatenate Derivative Div Y Div X Error calculation Integral Least squares Map Mul Y Mul X Normalise Order
oper oper oper oper oper oper oper oper oper oper oper oper oper
com cat dif div dix err int lsq map mul mux nor ord
curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1
curve #2 curve #2 curve #2 or constant curve #2 or constant curve #2 curve #2 curve #2 or constant curve #2 or constant -
Page 7.26
T/HIS
following word #1
curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1
following word #2
nth power -
additional words
-
notes
following word #1
curve #1 Accn x curve #
following word #2
offset Accn y curve #
word6 = accn conv factor word7 = x limit word8 = y limit word9 = z limit
Butterworth filter C60 filter C180 filter C600 filter C1000 filter Clip value Exceedence Fir filter Hic Hicd
oper oper oper oper oper oper oper oper oper oper
but c60 c180 c600 c1000 cva exc fir hic hicd
curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1
order Label displayed on screen (optional) auto / pos / neg division scale time period factor division scale time period factor
Value is stored with the output curve Value is stored with the output curve
Page 7.27
T/HIS
Neck injury criteria oper nij Shear curve # Axial curve #
Regularise THIV
oper oper
reg thi
TTI Viscous criteria ECER95 Viscous criteria IIHS Curve Correlation (strict) Curve Correlation (loose)
Upper rib curve Lower rib curve Lower spine curve # # # curve #1 constant A constant B curve #1 strict loose constant A curve #1 curve #1 constant B curve #2 curve #2
following word #1
curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1 curve #1
following word #2
-
additional words
-
notes
broadening factor curve #2 damping factor sampling factor Sampling must be either 30 or 70
notes
"##" ends the curve list "##" ends the curve list "##" ends the curve list "##" ends the curve list "##" ends the curve list "##" ends the curve list
Page 7.28
T/HIS
e.g.
accel mag xsc 1000 ysc 0.0001 (accel mag) (accel mag) (accel mag) (scale x and y) (filter with C60) accel mag filter c60 accel mag tag node_1_acc
(tag the curve "node_1_acc" for ease of use later in the script) following word #2
-
notes
Curve is squared and then square rooted to remove -ve values Curve is truncated around 3ms values - only 3ms part is left Appends into curve file, if it doesnt exist - create it Y-value curve #1 vs X-value curve #2 Copy will overwrite any previous instance of the file Curve is squared and then square rooted to remove -ve values, an identical curve is outputted
Append into file Combine Copy into file Error function HIC Filtering
filename curve #2 filename curve #2 fir c60 c180 c600 c1000 scale factor scale factor label word #1 tag word -
X scale factor Y scale factor Label Reference tag ASCII file request LSDA file request THF file request XTF file request
Keyword and label must be at the end of the line Invalid words: "style", "xax", "yax", "title"
Page 7.29
T/HIS
fourth word
label word 2 etc label word 2 etc label word 2 etc label word 2 etc -
notes
Specifies a new curve label Specifies a new curve tag Specifies a new curve title Specifies a new x -axis label Specifies a new y-axis label puts the curve on the 1st y axis puts the curve on the 2nd y axis
Curve Label lab Curve Tag tag Curve Title tit Curve X axis label xla Curve Y axis label yla 1st Y axis y1 2nd Y axis y2
From version 9.4 onwards curve properties such as the minimum and maximum values can be displayed in the legend area as well as within the graph area. The following commands use a new properties keyword and can be used to specify the font, colour and background used to display values as well as selecting which values are displayed on each curve. Keyword 2nd 3rd word 4th word 5th 6th word 7th notes word word word
properties format font hm hb cm cb tm tb default 8 standard 10 colour 12 14 18 24 default sets up font used to display curve properties fonts available: hm - helvetica medium cb - courier bold tm - times new roman medium etc... font sizes in pt: 8, 10, 12 etc... Set a background colour for the text Set the background transparency Set a border colour round the text and turn it on/off Turn on/off a line connecting the text to the min/max value location Only display the y value Display both the x and y values on a single line Display both the x and y values on separate lines Set the unit format to one of automatic, general, scientific for graph (n) Set the number of decimal places displayed for the y axis values to (m) in graph (n) Turn off the display of curve values in the legend area Append curve values (min,max,average ...) to the curve labels in the legend. Add a 2nd line to the legned for each curve containing the curve values (min,max,average ...). Turn on/off the display of one of the following curve properties in the legend. Input one or more curves and terminate the list with ## maximum - display curve maximum value minimum - display curve minimum value average - display curve average value other - display other curve values
background standard colour transparency integer (0-100) border standard colour arrow on/off num num num value precision properties legend format y_only x_y xy <type> m off append 2nd curve #1 curve #2
on/off
on/off ##
Page 7.30
T/HIS
Turn off the display of cuvre values in the graph area Display the minimum/maximum value for all of the curves currently visible Display minimum/maximum values for each curve that is currently visible Turns on/off the display of one of the following curve summary properties smaximum - highlight the maximum value for all the curves displayed sminimum - highlight the minimum value for all the curves displayed lmaximum - label the maximum vlaue for all the curves displayed lminimum - label the minimum vlaue for all the curves displayed Turns on/off the display of one of the following curve summary properties. Input one or more curves and terminate the list with ## smaximum - highlight the maximum value for each curves sminimum - highlight the minimum value for each curves lmaximum - label the maximum vlaue for each curves lminimum - label the minimum vlaue for each curves other - label other curve values
curve #1
curve #2
##
on/off
Page 7.31
T/HIS
This section explains how to set up the styles for the curves in a plot. The two types of syntax available in the table above effect when and how the curves are styled. The "plot style setup" (keyword style) allows the user to define a plot-specific styling that applies the styles to the curves only when they are requested for a plot. It is independent of the curve id, but dependent on the order the curves are requested in the plot command. The style is given its own "tag" which the user can request on the image FAST-TCF line. This is useful for producing plots from FAST-TCF that all have the same curve appearance. For the following words, each space represents a new curve style definition. The styles for each curve are defined by the type keywords below, separated by commas. e.g. style ENERGIES solid,green,norm (style name) (curve #1) dash,blue,heavy sol,bold,yel,500 (curve #2) (curve #3)
When a plot is requested, FAST-TCF will apply the curve styles to the list of curves (in order) in the plot. So in the example above, the first curve would appear green, the second curve blue and the third yellow. The "individual curve style" (keyword stylec) is the more traditional way of styling a curve that a T/HIS user would be more familiar with - FAST-TCF styles the single curve id instantly. The user can only define one style at a time. e.g. stylec #12 solid,green,norm
Line colour
dependent on curve #
Page 7.32
T/HIS
These options set the appearance of any plots that are created afterwards. They are to do with the general appearance of the plot rather than the curve itself. The curve appearances can be set up with the style definition line and on the image plotting line. All following words must be on the same line. If the "on" or "off" is missed out from the following word (where applicable) then FAST-TCF will take the opposite to the default (this helps with backwards compatibility issues but can also make a script more compact). e.g. setup setup setup ax bold (bold axes) double on grid on (grid on) border off line bold (bold lines) show 3ms (3ms window on) reverse (reverse foreground and background) size 250 (size = 1000 x 650 pixels)
(double axes on) (no border) fonts title hb 24 red (title: helvetica bold 24pt, in red) Plot setup description
Axis thickness
following word(s)
notes
Background Border
bac bo
do fix fon
Foreground
for
fine for colours - see standard list below normal bold heavy standard colour standard colour for colours - see standard list below fine for colours - see standard list below normal bold heavy standard colour on or off on or off on or off this overwrites any style definitions [xl]abel hm 8 Colour sets up fonts for the image: [yl]abel hb 10 cm 12 fonts available: [y2l]abel cb 14 hm - helvetica medium tm 18 cb - courier bold [xu]nits tb 24 tm - times new roman medium etc... [yu]nits [y2u]nits font sizes in pt: 8, 10, 12 etc...for colours - see standard list below [t]itle [le]gend [all] standard colour for colours - see standard list below
Page 7.33
T/HIS
Format style fo default automatic full fine normal bold heavy on or off on off fine normal bold heavy auto on off on or off integer on or off on or off x grid increment x grid offset y grid increment y grid offset -
Grid on
gr
Line thickness
li
mn
Turn on plotting of curve lines Turn off plotting of curve lines (symbols drawn) set the line thickness to 1 pixel set the line thickness to 2 pixels set the line thickness to 4 pixels set the line thickness to 8 pixels "auto" only puts the model number on when there is more than 1 model in T/HIS
Reverse black white Size of plot Solid x and y axis Symbols on X grid controls
Y grid controls
re si so sy xau xin xoff yau yin yoff xlin xlog ylin ylog y2lin y2log
Swap the x axis to a linear scale Swap the x axis to a logarithmic scale Swap the y axis to a linear scale Swap the y axis to a logarithmic scale Swap the second y axis to a linear scale Swap the second y axis to a logarithmic scale
X Axis Properties
Page 7.34
T/HIS
Set the y axis label to be defined automatically Set the y axis label to a user defined label Set the user defined y axis label Turn on the display of the y axis label Turn off the display of the y axis label Set the y axis minimum value to automatic Set the y axis minimum value Set the y axis minimum value to automatic Set the y axis minimum value Set the y axis unit label to be defined automatically Set the y axis unit label to a user defined label Set the user defined y axis label Turn on the display of the y axis unit label Turn off the display of the y axis unit label Set the second y axis label to be defined automatically Set the second y axis label to a user defined label Set the user defined second y axis label Turn on the display of the second y axis label Turn off the display of th seconde y axis label Set the second y axis minimum value to automatic Set the second y axis minimum value Set the second y axis minimum value to automatic Set the second y axis minimum value Set the second y axis unit label to be defined automatically Set the second y axis unit label to a user defined label Set the user defined second y axis label Turn on the display of the second y axis unit label Turn off the display of the second y axis unit label
y2_lab
notes
for colours - see standard list below on Turn on/off the highlight of the Maximum Value off Turn on/off the highlight of the Maximum Value Display x value at Maximum Display x value at Maximum Display y value at Maximum Display y value at Maximum
notes
The curve list can contain a mixture of curve tags, curve numbers (prefixed with #) or curve groups. If curve tags are specified in the curve list then they can contain wildcards.
The following option can be appended to the display keyword after the curve list.
Additional format
format word
following word #1
following word #2
notes
Page 7.35
T/HIS
Style application sty style name -
In version 9.4 the the following additional options that can be appended to the display keyword after the curve list are still supported although there use is not recommended. Eqiuvalent commands have been added to the Plot Setup commands along with a number of new options.
Additional format
Title X axis options
format word
tit xax
following word #1
title word #1 if numeric #1 - xaxis min otherwise xaxis label if numeric #1 - yaxis min otherwise yaxis label if numeric #1 - yaxis min otherwise yaxis label
following word #2
title word #2 etc if numeric #2 - xaxis max otherwise xaxis label if numeric #2 - yaxis max otherwise yaxis label if numeric #2 - yaxis max otherwise yaxis label
notes
Takes following words as a title until another keyword is found Takes following words as a label until another keyword is found Takes following words as a label until another keyword is found Takes following words as a label until another keyword is found
Y axis options
yax
curve_2
(display "curve_1" and "curve_2") display curve_2 &"Curve group 3" title SLED TEST \ xax Time \ yax Displacement
(display "curve_2" and all the curves in "Curve group 3". Set the plot title and x and y axis labels.)
Page 7.36
T/HIS
second word
filename
third word
graph page
fourth word
all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n all / active / n all / current / n
notes
Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n Generate an image containing all graphs / all active graphs / graph number n Generate an image for each page / the current page / page number n
image
bit_u / bmp_u
filename
graph page
Gif (8 bit)
image
gif
filename
graph page
Png (8 bit)
image
png
filename
graph page
image
bit24 / bmp24
filename
graph page
image
ppm / pix
filename
graph page
image
jpg / jpeg
filename
graph page
image
png24
filename
graph page
Postscript
image
ps
filename
graph page
image
filename
graph page
In addition to the image formats the following image output options can also be specified
Description
Image resolution Postscript /PDF resolution Plot title Figure Number Orientation
notes
Set the resolution to either the same as the screen or 2 or 4 times the screen resolution for image ouptut Set the resolution to either the same as the screen or 2 or 4 times the screen resolution for Postscript and PDF ouptut Specify the plot title (postscript / PDF output only) Specify the figure number (postscript / PDF output only) Specify the paper orientation (postscript / PDF output only)
image bmp
output1.bmp graph all (generate a bitmap called output1.bmp containing all the current graphs)
image jpeg output2.jpg page 3 (generate a JPEG image called output2.jpg containing page 3) image i_res 2x (set the resolution used for all following images to 2 x the screen resolution)
Page 7.37
(set the plot title to "Run number 2" for any following postscript or PDF images) landscape (set the page layout to landscape for any following postscript or PDF images)
bmp test.bmp
Description
keyword
Bitmap bit / bmp filename Bitmap (uncompressed) bit_u / bmp_u filename Jpeg jpg / jpeg filename Pixel map ppm filename B & W postscript post filename Colour postscript cpost filename
Additional format
Style application Title X axis options
format word
sty tit xax
following word #1
style name title word #1 if numeric #1 - xaxis min otherwise xaxis label if numeric #1 - yaxis min otherwise yaxis label if numeric #1 - yaxis min otherwise yaxis label
following word #2
title word #2 etc if numeric #2 - xaxis max otherwise xaxis label if numeric #2 - yaxis max otherwise yaxis label if numeric #2 - yaxis max otherwise yaxis label
notes
Curves have styles applied in the order they were defined Takes following words as a title until another keyword is found Takes following words as a label until another keyword is found Takes following words as a label until another keyword is found Takes following words as a label until another keyword is found
Y axis options
yax
Page 7.38
T/HIS
keyword 2nd 3rd 4th extra Format variable variable description Notes word word word words (optional) word name words
tab taba tabc filename curve # filename curve # filename curve # property if values format to output needed property if values format to output needed property if values format to output needed varf varf varf variable name variable name variable name variable name description description description Each output is appended to the current line in the file. Each output is appended to the current line in the file, followed by a carrage return so that the next output starts a new line.
tabcr
varf
description
FAST-TCF varf variable REPORTER var variable REPORTER vara variable append
property if values format to output needed property if values format to output needed property if values format to output needed
varf varf
property word
minx maxx min xatmin yatmin minw xminw max xatmax yatmax maxw xmaxw ave hic hict1 hict2 hicd hicdt1 hicdt2 3ms 3mst1 3mst2
Page 7.39
T/HIS
Y at X X when Y is passed after gate time X at first non-zero Y X at last non-zero Y Y value at last non-zero Y TTI Error Function - Max difference & time Error Function - Difference as a %age of reference Error Function - Difference as a %age of peak reference Error Function - Average Difference Error Function - Average Difference as a %age of peak reference Error Function - Area weighted difference Error Function - Max difference & time Curve Correlation Function yatx xygate xnonz xfail yfail tti max_err pc_err pc_max_err av_err av_max_err area_err err correlate
node_head_accn maxw
Properties for multiple curves can be output by specifying either multiple "tab" commands or by using a curve tag containing wildcards or a curve group. e.g. tab output.txt node_* (file output.txt) (file output.txt) tab output.txt &group_1 (all curves in group "group_1") max max (maximum Y) maximum y value (description) maximum y value (description)
(REPORTER variable %head_hic%) (curve number 1) (output request) (description) (curve number 1) (output request) (description)
Page 7.40
T/HIS
7.12.5 Format
From Version 9.3 onwards the format used to display the value can be controlled by adding an optional "format" keyword after the property to be output and any additional inputs that property requires. The format should be specified directly after the "format" keyword and should use standard "C" programming syntax to specify a floating point format using either f,e,E,g or G format specifiers. e.g. tab output.txt (file output.txt) tab output.txt (file output.txt) tab output.txt (file output.txt) Example formats Number 12.3456 12.3456 12.3456 2345678.9 2345678.9 Format %5.2f %7.3e %7.3E %.0f %6.5g Output 12.35 1.2345e+01 1.2345E+01 2345678 2.3457e+06 2.3457E+06 -1.358E-05 head head head max max max max y of curve #1 format %6.3f format %.3f max y of curve #1 (description) max y of curve #1 (description)
(curve tag) (maximum Y) (description) (curve tag) (maximum Y) (format) (curve tag) (maximum Y) (format)
7.12.6 Description
From Version 9.3 onwards the description specified as part of the output for a curve property can contain the following keywords that will automatically be replaced with the corresponding curve property. keyword Curve Property
{tag} {label} {id} {Model} FAST-TCF curve tag Curve label Entity ID that the curve was created from Model ID curve was created from
Page 7.41
T/HIS e.g. tab output.txt (file output.txt) tab output.txt (file output.txt) head head max max
User manual Version 10.0, June 2011 Max accl of node {id} Model {model} max accl of node {id}
Page 7.42
T/HIS
third word
curve list curve list curve list curve list last word = auto
notes
will overwrite any previous file will append any previous file will overwrite any previous csv file. CSV has the format X1,Y1,X2,Y2,X3,Y3 will overwrite any previous csv file. CSV has the format X1,Y1,Y2,Y3 x axis interval is taken from curve #1 if all curves are chosen will overwrite any previous csv file. CSV has the format X1,Y1,Y2,Y3 start time and interval are defined in the line
The curve list for all of these commands can contain either curve tags (with or without wildcards), curve numbers (prefixed with #), curve groups or * to select all curves. e.g. copy output_file.cur curve_1 &"group 1"
(Write "curve_1" and all the curves in curve group "group 1" to a new file "output_file.cur") append output_file.cur curve_1 &"group 1" (Append "curve_1" and all the curves in curve group "group 1" to the file "output_file.cur") csv output.csv curve_1* curve_2* (Write all curves with tags that start with "curve_1" or "curve_2" to a CSV called "output.csv") NOTE : There is no limit to the number of curves that can be output to a file but there is a limit to the number of items that can be specified in the curve list (currently 100). If more than 100 curves are to be output to a file then a curve group containing all of the curves should be created and used within the curve list. Alternatively if the curves are being written to a T/HIS curve file then the first 100 curves can be output using the "cop" keyword and then additional curves can be appended to the file using the "app" keyword.
Page 7.43
T/HIS
e.g.
hic
(copy curve #1 into file name) date (variable name) 30_Nov_2005 (variable value)
Description
third word
curve name name (without "$") error value (integer) lsda ascii xtf thf default title word 1
fourth word
value -
notes
for use in interactive playback whether to auto update the plot on data read / font updates and so on. Please note this is reset to ON after any font definition. for use in interactive playback will append any previous file see FAST-TCF variables section default is 10 errors before T/HIS will stop will always check that t/his can get the output from this file, if not then the original default file will be chosen (see data extraction table). This file can still be overwritten on the actual input line
Autoscale plot ac Auto update plot auto Plot graphs Append into file Define FAST-TCF variable Define error fail value Define default file plot app def def def
def def
tit user
Define surface integration Exit reading file Model set Regularise filtering Report files written
surf model # or "no" or "all" time interval, or "off" 3ms asi err hic thiv tti -
title word 2 etc user line font size number (1 to (8 to 24) 6) shell / beam / layer thickshell number -
t = top, m = middle, b = bottom, or use a number for the integration point stops reading file here sets the model number for extracting curve data sets the auto regularise interval and turns it on, or turns it off To turn off see the reset2 keyword
Reset
All curves and curve tags deleted Plot setup defaulted and all style definitions removed. Report files not written Variable names and default title removed
Page 7.44
T/HIS
7.14.2 Limits
Description limit
word limit per line 80 words include file name 150 characters tag length 60 characters
7.14.3 Variables
Variable names can only have "a-z", "0-9" and "_" in them. Variables can be inserted anywhere in the script, FAST-TCF will replace any variables with their corresponding values before processing the line, for example: define var output displacement define var nod_id 12345678 define var xscale 0.001 node $nod_id $output x xscale $xscale converts into: node 12345678 displacement x xscale 0.001 Variable definitions can contain several words or other varaibles, and these will be joined together to form the final variable value, for example: define define define define var var var var day 31st month january year 2099 date $day _ $month _ $year
creates the variable date with value 31st_january_2099 Because variables cannot have anything other than "a-z", "0-9" and "_" in them, it is possible to use variables within strings: define var analysis run01_vers2 read january_$analysis.cur converts into read january_run01_vers2.cur However, sometimes the user may want to insert a variable within other alphanumeric words, in these circumstances use a "$$" terminator to designate the end of the variable name: define var analysis xyz_run01 read $analysis$$_x.cur converts into read xyz_run01_x.cur There are several built in variables, and these depend on the system and command line used to run FAST-TCF, they can be checked on the dialogue T/HIS prints before starting: The built-in variable $run_name is the basename of the key file in for the 1st model directory (should there be one). If a script refers to multiple models then $run_nameN (where N is the model number) can be used for each model. The built-in variable $run_title is the title of the analysis found in the output files. If a script refers to multiple models then $run_titleN (where N is the model number) can be used for each model. The built-in variable $run_dir is the full pathname of the directory containing the output files for a model. If a script refers to multiple models then $run_dirN (where N is the model number) can be used for each model. The built-in variable $ftcf_dir is the name of the directory the script is running in. The built-in variable $ftcf_path is the full pathname of the directory the script is running in.
Page 7.45
T/HIS
Page 7.46
T/HIS
APPENDICES
A LS-DYNA Data Components B Format of a T/HIS Curve File C Format of a T/HIS Bulk Data File D Filtering E Injury Criteria F Curve Correlation G The ERROR function H The "preference" file I Command line options and Windows file associations J List of Typed Commands
Page A.1
T/HIS
User manual Version 10.0, June 2011 YM ZM VX VY VZ MA EIE ER Y momentum Z momentum Average X velocity Average Y velocity Average Z velocity Mass Eroded Internal energy Energy Ratio w/o Eroded yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
T/HIS RVY RVZ RVM RAX RAY RAZ RAM FLX FLY FLZ FLM Y Rotational Velocity Z Rotational Velocity Rotational Velocity Magnitude X Rotational Acceleration Y Rotational Acceleration Z Rotational Acceleration Rotational Acceleration Magnitude X Thermal Flux Y Thermal Flux Z Thermal Flux Thermal Flux Magnitude
User manual Version 10.0, June 2011 yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
The desired node, or range of nodes, and data component are selected by pressing the buttons for the available items in the selection window. Only nodes that have been declared in "nodal time-history blocks" will be available for processing. To get a list of available node numbers in command line mode use the M(enu) command. Coordinate system of results All nodal results are in the global cartesian coordinate system except at nodes which have been defined as accelerometers: these report accelerations in the local coordinate system of the accelerometer subject to any rotations its "parent" rigid body has undergone. In command line mode the read nodal data command is used as follows: /RE NO nn <component> #curve where nn is the node number <component> is the data component from the list above curve is the target curve number
Strain components
User manual Version 10.0, June 2011 EXX EYY EZZ EXY EYZ EZX EMX EMN EMS EVM EAV SOEn Strain in XX Strain in YY Strain in ZZ Strain in XY Strain in YZ Strain in ZX Maximum Principal Strain Minimum Principal Strain Maximum Shear Strain Von Mises Strain Average Strain Extra Data Component yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
"Extra" components
Only solids that have been declared in "solid element time-history blocks" will be available for processing. To get a list of available element numbers in command line mode use the M(enu) command. Coordinate systems of results The stress and strain tensors are reported in the global cartesian system unless the option to output results in the part coordinate system has been used. Writing the directional strain tensor is optional in LS-DYNA: it will only appear in the menu if it is present. "Extra" data components The "extra" data components (SOEn) are also optional and only appear if present in the database. They are material dependent results, and are treated as scalar data of unknown type by T/HIS. In command line mode the read solid element data command is used as follows: /RE SO nn <component> #curve where nn is the solid element number <component> is the data component from the list above curve is the target curve number
Page A.5
T/HIS PE2 RY1 RY2 RZ1 RZ2 RX MY1 MY2 MZ1 MZ2 ACE IE SXX SXY SZX EFF EXX Plastic Bending energy : end 2 Y rotation : end 1 Y rotation : end 2 Z rotation : end 1 Z rotation : end 2 Torsional rotation Y Bending moment : end 1 Y Bending moment : end 2 Z Bending moment : end 1 Z Bending moment : end 2 Axial collapse energy Internal energy Axial stress XY Shear stress ZX Shear stress Effective plastic strain Axial strain yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
Additional Beam Results: written if requested from LS-DYNA In addition to the basic data components additional beam results may be output to the .THF file for both Belytschko-Schwer and Hughes-Lui beam elements. As no indication of the element type is written to the .THF file it is impossible for T/HIS to work out whether a specific element is a Belytschko-Schwer or a Hughes-Liu beam. As the element type is unknown the user must know which element type a beam is in order to extract the correct results. Belytschko-Schwer Beams If you have used Belytschko-Schwer beams with a resultant plastic material model the following "plastic" results will also be written out to .THF file: (Note that these data are written even if the *DATABASE_EXTENT_BINARY card field <beamip> is not set - the presence of a resultant beam material triggers their output automatically. This is not the case for Hughes-Liu data components, for which output must be requested explicitly, see below.) Where "extra" results are written, and T/HIS cannot resolve unambiguously whether they are Belytschko-Schwer plastic data, or Hughes-Liu stress/strain data, it is your responsibility to interpret the results correctly. Beam results are always output in the element local coordinate system. Only beams declared in "beam element time-history blocks" will be available. In command line mode the read beam element data command is used as follows: /RE BE nn <component> #curve where nn is the beam element number <component> is the data component from the list above curve is the target curve number
Page A.6
User manual Version 10.0, June 2011 Stress components SXX SYY SZZ SXY SYZ SZX SMX SMN SMS SVM SAV EFF EXX EYY EZZ EXY EYZ EZX EMX EMN EMS EVM EAV MX MY MXY QX QY NX NY NXY T I An Stress in XX Stress in YY Stress in ZZ Stress in XY Stress in YZ Stress in ZX Maximum Principal Stress Minimum Principal Stress Maximum Shear Stress Von Mises Stress Average Stress (Pressure) Effective Plastic Strain Strain in XX Strain in YY Strain in ZZ Strain in XY Strain in YZ Strain in ZX Maximum Principal Strain Minimum Principal Strain Maximum Shear Strain Von Mises Strain Average Strain Moment in X Moment in Y Moment in XY Shear force in X Shear force in Y Normal force in X Normal force in Y Normal force in XY Thickness Internal energy density Extra Data Component yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
Strain components
Miscellaneous components
"Extra" components
Stress & strain tensors are in the global cartesian system unless the option to use material axes has been invoked for orthotropic materials. Results are available at top and bottom integration points and mid-surface. The strain tensor is optional. Force and moment resultants are <data> per unit width, and are written in the element local axis system. Refer to "Theory of Plates and Shells", Timoshenko, for a precise definition of these values.
Page A.7
T/HIS
The "additional" data components will only appear in the menu if they have been selected for output. Shell "surface" selection Having selected a shell component a prompt is then given for the shell "surface" if relevant for that component. Options are: T C B Top integration point or <#layer id> (see below) Centre (neutral axis) Bottom integration point
Note that the top and bottom "surfaces" are not the outer fibres, but rather the outer and inner integration points. The relationship between integration point location and shell thickness depends on the number of integration points used. The following diagram shows locations of integration points with respect to shell half-thickness (t/2) assuming the default Gaussian integration rules have been used: No of PointsDistance from neutral axis as a proportion of t/2 1 0.0 (membrane) ---------------------- Top fibre 2 0.577 t/2 3 0.775 - - - - - - - - - - - - - - - - - - - - Neutral axis 4 0.861 t/2 5 0.906 ---------------------- Bottom fibre The "top" (or outer) point is on the positive local Z side of the element neutral axis. The output of shell data from LS-DYNA will fall into one of two categories, and the "surface" options available in T/HIS depend on this. Note also that it is possible to use non-default integration schemes in LS-DYNA which may locate the integration points at different places. This is an advanced topic: contact Oasys Ltd for advice. Default output case: 3 "surfaces" In this case, regardless of how many integration points the shell elements may actually have through their thickness, LS-DYNA writes out: Top surface : Centre surface : Bottom surface : Outer (top) integration point Computed neutral axis value Inner (bottom) integration point
Note that the "centre" surface here is the neutral axis value. For membrane elements all three sets of values will be the same. These three "surfaces" may be selected by the T(op), C(entre) and B(ottom) surface options. Optional output case: user-defined number of integration points In this case the number of integration points defined will be written to the database file, and this dictates the output for all shells, regardless of how many integration points they may have through their thickness. Thus LS-DYNA writes out: Layer n : Layer 2 Layer 1 : : Second integration point First (bottom) integration point : Nth (top) integration point :
Note that no explicit neutral axis value is calculated or output, and the outcome of writing more integration points than have been used in a shell formulation is undefined.
Page A.8
T/HIS
Each explicit "layer" may be selected by giving its number when prompted for a "surface". Alternatively the "top", "centre" and "bottom" surface names my be used as before, and the logic used inside T/HIS to interpret these is: Top surface Centre surface : Is the highest layer : Is the middle layer if the number of layers is an odd number, or the average of the two middle layers the number of layers is even
Bottom : Is layer number one surface Note that there is no guarantee that the "centre" surface in this context is the neutral axis value: this will depend upon the element integration scheme. In addition where the "centre" value has been averaged from a pair of points, when the number of layers is an even number, it will definitely not be the neutral axis value: consider plastic strain in a section in pure bending! It is recommended that non-default output only be used for composites, or in cases where the detailed distribution of data through the element thickness is needed. In command line mode the read shell element data command is used as follows: /RE SH nn <component> <surface> #curve where nn is the beam element number <component> is the data component from the lists above <surface> is the shell "surface" curve is the target curve number
Strain components
Page A.9
T/HIS EMX EMN EMS EVM EAV Maximum Principal Strain Minimum Principal Strain Maximum Shear Strain Von Mises Strain Average Strain yes yes yes yes yes
User manual Version 10.0, June 2011 yes yes yes yes yes
"Extra" components An Extra Data Component yes Having selected a thick shell component you a prompt is given for the shell "surface" as follows: T C B Top integration point Centre (neutral axis) Bottom integration point or <Layer id>
"Surfaces" and layer numbers for thick shells are treated in exactly the same way as for thin shells as described above. Stress and strain tensor results for thick shells are always in the global cartesian system unless the option to use the material system (for orthotropic materials) has been used. The strain tensor for thick shells is optional. Results will only be available for thick shells declared in "thick shell time-history blocks". In command line mode the read shell element data command is used as follows: /RE TS nn <component> <surface> #curve where nn is the beam element number <component> is the data component from the lists above <surface> is the thick shell "surface" curve is the target curve number
User manual Version 10.0, June 2011 MT RT MR FX FY FZ MX MY MZ Moment Rotation Moment versus Rotation Global X force Global Y force Global Z force Moment in X Moment in Y Moment in Z yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
T/HIS
For nodal reactions the following data components are available. Component FX FY FZ FM EN LFX LFY LFZ X Force Y Force Z Force Force Magnitude Energy Local X force Local Y force Local Z force THF (d3thdt) XTF (xtfile) LSDA (binout) ASCII yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
Part components
Page A.12
User manual Version 10.0, June 2011 DE SA TE RF Density Surface area Gas temperature Reaction force yes yes yes yes
T/HIS
CPM Sensor Components (*DATABASE_CPM_SENSOR) Component X Y Z VX VY VZ VM PR DE TE X Co-ordinate of Sensor Y Co-ordinate of Sensor Z Co-ordinate of Sensor X Velocity Y Velocity Z Velocity Velocity Magnitude Pressure Density Temperature THF (d3thdt) XTF (xtfile) LSDA (binout) ASCII yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
General Stiffness Joints PHA Phi angle DPH PHS PHD PHT THA DTH THS THD THT PSA DPS d(Phi)/dt Phi stiffness moment Phi damping moment Phi total moment Theta angle d(Theta)/dt Theta stiffness moment Theta damping moment Theta total moment Psi angle d(Psi)/dt
Page A.13
T/HIS PSS PSD PST EN Psi stiffness moment Psi damping moment Psi total moment Total joint energy
User manual Version 10.0, June 2011 yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
Flexion Torsion Joints AA Alpha angle DA ALS ALD ALT BA DB BES BED BET GA DG GSF EN d(Alpha)/dt Alpha stiffness moment Alpha damping moment Alpha total moment Beta angle d(Beta)/dt Beta stiffness moment Beta damping moment Beta total moment Gamma angle d(Gamma)/dt Gamma scale factor Total joint energy
Translational Joints XD X displacement DXD YD DYD ZD DZD XSF XDF XTF YSF YDF YTF ZSF ZDF ZTF EN d(X)/dt Y displacement d(Y)/dt Z displacement d(Z)/dt X stiffness X damping X total Y stiffness Y damping Y total Z stiffness Z damping Z total Total joint energy
Page A.14
User manual Version 10.0, June 2011 RM MX MY MZ MM CX CY CZ AR Force Magnitude Moment in X Moment in Y Moment in Z Moment Magnitude X centroid coordinate Y centroid coordinate Z centroid coordinate Area of Cross Section yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
T/HIS VX VY VZ VM AX AY AZ AM CX CY CZ RX RY RZ RM RVX RVY RVZ RVM RAX RAY RAZ RAM D11 D12 D13 D21 D22 D23 D31 D32 D33 LDX LDY LDZ LVX LVY LVZ LAX LAY LAZ LRX LRY LRZ Page A.16 X Velocity Y Velocity Z Velocity Velocity Magnitude X Acceleration Y Acceleration Z Acceleration Acceleration Magnitude X Co-ordinate Y Co-ordinate Z Co-ordinate X Rotation Y Rotation Z Rotation Rotation Magnitude X Rotational Velocity Y Rotational Velocity Z Rotational Velocity Rotational Velocity Magnitude X Rotational Acceleration Y Rotational Acceleration Z Rotational Acceleration Rotational Acceleration Magnitude Direction Cosine 11 Direction Cosine 12 Direction Cosine 13 Direction Cosine 21 Direction Cosine 22 Direction Cosine 23 Direction Cosine 31 Direction Cosine 32 Direction Cosine 33 Local X Displacement Local Y Displacement Local Z Displacement Local X Velocity Local Y Velocity Local Z Velocity Local X Acceleration Local Y Acceleration Local Z Acceleration Local X Rotation Local Y Rotation Local Z Rotation
User manual Version 10.0, June 2011 yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes yes
User manual Version 10.0, June 2011 LRVX LRVY LRVZ LRAX LRAY LRAZ Local X Rotational Velocity Local Y Rotational Velocity Local Z Rotational Velocity Local X Rotational Acceleration Local Y Rotational Acceleration Local Z Rotational Acceleration yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
Page A.17
T/HIS FZ FR EN MX MY MZ MM Boundary condition motion Z Force Resultant Boundary condition motion force Energy from Boundary condition motion Boundary condition motion X Moment Boundary condition motion Y Moment Boundary condition motion Z Moment Boundary condition moment Magnitude
User manual Version 10.0, June 2011 yes yes yes yes yes yes yes yes yes yes
Page A.18
User manual Version 10.0, June 2011 SXX SYY SZZ SXY SYZ SZX SM Stress in XX Stress in YY Stress in ZZ Stress in XY Stress in YZ Stress in ZX Smoothing Length yes yes yes yes yes yes yes yes yes yes yes yes yes yes
T/HIS
Page A.19
T/HIS
Page A.20
T/HIS
The X and Y values can be in any format as long as the two values are separated by either a space or comma. Up to 500000 points can be input. Several curves can be put in one file sequentially, separated by the word CONTINUE. The title and three label lines must be present for each curve. A comment line may be included anywhere in the file by starting the line with a $. Comment lines above the curves title can contain styles and curve tags associated with the corresponding curve.
LINE WIDTH
normal
Page B.1
T/HIS LINE SYMBOLS triangle square diamond hourglass cross circle start dot null frequency number (integer)
SYMBOL FREQUENCY
T/HIS
B.4 Example
The following example shows a curve file containing 2 curves. The first curve will be plotted with a bold, solid, green line with triangular symbols every other data point. The curve contains 5 data points and is given a reference tag CURVE_1 The second curve will be plotted with a dashed, white, normal line. No symbols will be displayed. The curve contains 2 data points and has no reference tag. $ $ STYLE : solid,green,bold,triangle,2 $ TAG : CURVE_1 $ CURVE FILE EXAMPLE Time Displacement Curve number 1 0 2.0 1.0 4E-3 4.0, 4.7 5 4 10.0 8.9 CONTINUE $ $ $ STYLE : dash,white,,, CURVE FILE EXAMPLE Time Displacement Curve number 2 0.0 7E2 2.0 8.7E-9 Notes: Comment line Style line Tag line Comment line ;Title ;X axis label ;Y axis label ;Curve label ;1st data pair
;End of 1st curve Comment line Comment line Style line ;Title
The abscissa (x axis) values are assumed to be in the correct order. The free format allowed for the data points The style line must contain 5 comma separated words in the order LINE STYLE, LINE COLOUR, LINE WIDTH, LINE SYMBOLS, SYMBOL FREQUENCY to be successfully understood by T/HIS If any words are unspecified in the style line, as in curve 2, T/HIS will take the default option
Page B.3
T/HIS
Page B.4
T/HIS
Line n+6 : X, Y1, Y2, Y3 ...... point n Up to 500000 points can be read in for each curve.
Note 1 Note 2
The format for the point data must be given as a standard Fortran format statement, for example (F10.3, 4F10.2). The external brackets around the format must be included. If the data can be read in as a free format then type FREE or leave this line blank. Note however, free data is read in more slowly than formatted data. The multipliers are the amount by which the values read in are to be multiplied. For example you may wish to correct from ms to s or units of G (gravity) to mm/s2. On this line give the multipliers in the order X-value, Y1-value, Y2-value, etc. Separate each multiplier by a space or comma. A zero value is assumed to be 1. If all curves are to be read in as defined leave this line blank. The axis labels are character strings, separated by commas given in the following order. X-axis label, Y1-axis label, Y2-axis label, etc.
Note 3 Note 4
The line labels are character strings separated by commas given in the following order. Line label 1, Line label 2, Line label 3, etc.
A comment line may be included any where in the file by starting the line with a $. The following shows a bulk data file with three curves and seven points on each curve. $ Comment line Title of the curves 3 FREE $ A multiplier of 10 on X values and 5 on Y2 values 10,,5, x-axis,y1-axis,y2-axis,y3-axis curve 1,curve 2,curve 3 $ Now for the data 0.0 1.0 2.0 2.4 3.3 4.4 0.0 1.0 2.0 1.0 3.0 4.0 2.0 4.0 5.0 4.4 5.5 7.4 7.8 5.8 9.2 10.0 12.0 13.0
Page C.1
T/HIS
Page C.2
T/HIS
APPENDIX D - FILTERING
This Appendix describes the filtering options within T/HIS. Curves can be filtered to remove high frequency noise. The technique is typically applied to acceleration and force traces. Options available include standard filters (Channel Frequency Classes 60, 180, 600 and 1000 as per British Standard BS AU 228: Part 1: 1989, and the USAs National Highway Traffic Safety Administration (NHTSA) FIR filter). The standard filters (except the FIR filter) are all special cases of the Butterworth filter.
The cut-off frequency is the frequency at which the gain of the filter is -3dB (i.e. the magnitude of signals at this frequency is halved by the filter). The lower the frequency the less noise passes through; but any peaks in the signal tend to get reduced in magnitude and delayed in time.
Page D.1
T/HIS
Page D.2
T/HIS
Page D.3
T/HIS
The above figures show examples of filtering frequency using the four standard SAE filters (60, 180, 600 and 1000 Hz cut-off frequencies: see below). These show clearly how the original signal is smoothed.
Page D.4
T/HIS
Page D.5
T/HIS
Page D.6
T/HIS
Page D.7
T/HIS
Page D.8
T/HIS
Where a is the acceleration expressed in g, and t1 and t2 are any two points in time. It is now usual for an upper limit on the range t2-t1 of 36ms to be applied.
So, perhaps, a better definition might be: "the 3ms interval with the highest lowest acceleration value".
Page E.1
T/HIS
Where :
ax,ay,az are the X,Y,Z accelerations of the vehicle: - for the 1998 calculation (BS EN 1317-1:1998) they are averaged over a 50ms moving interval. - for the 2010 calculation (BS EN 1317-1:2010) they are passed through a four-pole phaseless Butterworth filter with a 13Hz cut-off frequency. xl,yl,zl are acceleration limits xl = 12g yl = 9g zl = 10g.
The acceleration input curves should be in units of g. If the input curves are in any other unit a conversion factor can be input to convert back to g. When selecting input curves it is assumed that the X curve is numerically the first curve (the one with the lowest id) of the ones selected and the Z curve is the last. If they are in a different order then the acceleration limits can be modified to reflect the different order. For more information on ASI see BS EN 1317-1. NOTE: For the BS EN 1317-1:2010 calculation T/His assumes the curves have been filtered through a Class 180 filter and padded with +/-0.5seconds of data as per the specification.
E.5 Theoretical Head Impact Velocity & Post Impact Head Deceleration
Page E.2
T/HIS
The theoretical head impact velocity concept has been developed for assessing occupant impact severity for vehicles involved in collisions with road vehicle restraint systems. The occupant inside the vehicle is considered to be a freely moving object that, as the vehicle changes its speed due to the contact with the restraint system, continues moving until it strikes the vehicle interior. The velocity magnitude at the time of impact with the vehicle interior is considered to be a measure of the vehicle to vehicle restraint system impact severity. After impact the head is assumed to continue moving with the vehicle during the rest of the impact event. The post impact head deceleration (PHD) is calculated as the peak value using a 10ms moving average of the resultant vehicle acceleration after the THIV impact. The THIV calculation requires the following inputs Horizontal Vehicle Acceleration Time History (Ax) Lateral Vehicle Acceleration Time History (Ay) Yaw Rate Time History Horizontal Distance from the occupants head to vehicle (Dx) Lateral Distance from the occupants head to vehicle (Dx)
T/HIS
condyles. Its calculation combines the neck axial force and the flexion/extension moment about the occipital condoyles. It is used in association with the USSID dummy for standard American frontal impact tests. The shear force (Fx), axial force (Fz) and bending moment (My) are measured by the dummy upper neck load cell for the duration of the crash, using force and moment definitions consistent with SAE J221/1. T/HIS will caculate the bending moment using the equation: My = My - e Fx Where e is the e distance specified in the input window, Fx is the shear force. Shear force, axial force and bending moment must be filtered using an SAE Channel Frequency Class 600 filter (C600) for the purposes of calculation. During the collision, the Axial Force (Fz) can be in either tension or compression whilst the occipital condyle bending moment (Mocy) can be in either flexion or extension. This results in 4 possible loading conditions corresponding to the 4 curves output by T/HIS; tension-extension (Nte), tension-flexion (Ntf), compression-extension (Nce), and compression-flexion (Ncf). At each point in time only one of these 4 conditions can be met, hence the NIJ value is calculated for that condition and the value for the other 3 conditions is considered a value of zero.. The expression for calculating each NIJ loading condition is given by: NIJ = (Fz/Fzc) + (Mocy/Myc) where Fz and Mocy are as defined above, Fzc and Myc refer to the axial force and Bending moment critical values, given below: The values of Fzc and Myc vary depending on the occupant, the occupants position and the sign of Fz and Mocy For the dummy to pass the test, the following conditions must be met: (i) None of the 4 NIJ values may exceed 1.0 at any time during the event (ii) Peak Tension Force (Fz), measured at the upper neck load cell, may not exceed the specific dummys limit (e.g. 2070N for the Hybrid III small female) at any time (iii) Peak Compression Force (Fz), measured at the upper neck load cell, may not exceed the specific dummys limit (e.g. 2520N for the Hybrid III small female) at any time For more information on the use and calculation of NIJ, refer to the FMVSS 208 document
User manual Version 10.0, June 2011 (c) The hinge components shall not seperate from each other or from their attachment to the vehicle (d) Neither the latch nor the hinge systems of the door shall pull out of their anchorage For more information on the use and calculation of TTI, refer to the FMVSS 214 document
T/HIS
Page E.5
T/HIS
Page E.6
T/HIS
Page F.1
T/HIS
This measure picks up matching of primary and secondary peaks in the curves, which may correspond to physical events. Measure 3 - Area matching The integral of each curve is calculated by summing the area of the curve above y=0 and the absolute area of the curve below y=0. Points are lost according to the difference compared to a tolerance limit. Measure 4 - Curve shape (low frequency excursion) The curves are filtered. A band is drawn around filtered curve A (using positive and negative offsets in x and y). The area of excursions of filtered Curve B outside the band is calculated. Points are lost according to the excursion area compared to a tolerance limit. The process is repeated for filtered Curve A excursions from a band drawn around filtered curve B
Page F.2
T/HIS
Measure 5 - Curve shape (full curve) The same as Measure 4 except that the curves are not filtered and different tolerance limits and band sizes may be used. Output T/HIS prints the overall correlation percentage and the marks from each measure to the screen or to a text file. A new curve is created from each input curve showing the identified peaks (used in measures 1 and 2). As the same curve could be used as input to multiple correlations the correlation percentage is stored internally in T/HIS with the 2 output curves NOT the input curves. The correlation percentage can be accessed from within FAST-TCF scripts by requesting the "correlate" property for either of the 2 ouptut curves.
e.g.
operation correlate strict curve_1 curve_2 tag curve_3 curve_4 Calculate correlation between "curve_1" and "curve_2". Tag the curves containing the peaks as "curve_3" and "curve_4" tab output.txt taba output.txt curve_3 curve_4 correlate correlate Output the curve correlation value from "curve_3" to the file "output.txt" Append the curve correlation value from "curve_4" to the file "output.txt"
Selection of Parameters The Correlation algorithm has many tolerance limits and other inputs. Two sets of these parameters have been pre-selected, to offer strict or less strict judgement of correlation (buttons COR1 and COR2 in the Automotive menu). The parameters selected are: Criterion Peak matching Peak matching and peak values Decription Fraction difference in timing that scores zero points for this peak Fraction difference in value that scores zero points for this peak COR1 Value 0.2 0.25 COR2 Value 0.4 0.5
Page F.3
User manual Version 10.0, June 2011 Fraction difference in integral that scores zero points 0.3 0.025 0.1 0.5 0.05 0.2
Curve shape (low frequency Size of tolerance band in X and Y, as fractions of the curve trend) extent in X and Y Curve shape (low frequency Excursion area fraction scoring zero points trend) Curve shape (full curve)
Size of tolerance band in X and Y, as fractions of the curve 0.025 0.05 extent in X and Y Curve shape (full curve) Excursion area fraction scoring zero points 0.2 0.4 It is expected that, if COR1 rates Curves A and B as better correlated than C and D, then COR2 would also rate the pairs of curves in the same order. The percentage correlation would be greater in each case from COR2 than from COR1. COR1 will provide a greater difference (discrimination) between well-correlated and very well-correlated pairs of curves; while COR2 will provide greater discrimination between averagely-correlated and poorly-correlated pairs of curves. The purpose of offering both versions of the correlation function is to allow the user to select a calibration of the function appropriate to the typical input curves used.
Page F.4
T/HIS
Examples
27%
62%
Page F.5
T/HIS
84%
92%
Page F.6
User manual Version 10.0, June 2011 COR3 The Correlation function COR3 provides another measure of the degree to which two curves match based on the distance between the two curves.
T/HIS
This function first normalises the curves using two factors, specified either by the user or defaults calculated by the program (the maximum absolute X and Y values of both graphs). For each point on the first normalised curve, the shortest distance to the second normalised curve is calculated (the thick black lines on the image above). The root mean square value of all these distances is subtracted from 1 and then multiplied by 100 to get an index between 0 and 100. The process is repeated along the second curve (the thick red lines show the distances) and the two indices are averaged to get a final index. The higher the index the closer the correlation between the two curves. Note that the choice of normalising factors is important. Incorrect factors may lead to a correlation index outside the range of 0 to 100.
Page F.7
T/HIS
Page F.8
T/HIS
Page G.1
T/HIS
Page G.2
T/HIS
T/HIS
If you have write permission on the oa_pref file in the $OASYS directory you will be asked if you want to update that file, otherwise you will only be given the option of updating your own file in your $HOME / $USERPROFILE directory. In this example the user is changing the background colour. The option is "active" (ie present in the oa_pref file) and currently is set to WHITE. Usage is: Select an option in the Tree on the left hand side Make it active / inactive If active select a value from the popup, or type in a value if necessary The colour of the highlighting in the left hand side tree is significant:
Green Red
Means that the option has been read from your $HOME/$USERPROFILE file. Means that the option has been read from the $OA_INSTALL file.
Magenta Means that the option had been read from the $OA_ADMIN file. In either event, regardless of the data source, the updated option will be written to the file chosen when you started the preferences editor. Because of the order of file reading (see above), and option read from the master $OASYS file, amended, and written to your local $HOME file will take precedence when you next run T/HIS.
Locking Preferences
From version 9.4 onwards preferences can be locked. Beside each option in the preference editor is a padlock symbol. If the symbol is green then the option is unlocked, if it is red then it is locked. If a preference option has been locked in a file that the user can not modify then an error message will be generated if the user tries to edit that option. If a user manually edits the "oa_pref" file to try and set an option that has been locked in another preference file then the option will be ignored in the users preference file.
Page H.2
T/HIS
The rules for formatting are: The <programme>*<option>: string must start at column 1; This string must be in lower case, and must not have any spaces in it. The <setting> must be separated from the string by at least one space. Lines starting with a "#" are treated as comments and are ignored. (Users accustomed to setting the attributes of their window manager with the .Xdefaults file will recognise this format and syntax.) "oa_pref" arguments valid for T/HIS. The following options are available to control how T/HIS starts. Preference add_ascii_zero Type Description Valid arguments <logical>Automatically add point at time TRUE, FALSE zero if required auto_regularise <logical>Always regularise curves before TRUE, FALSE filtering auto_update <logical>Automatically replot graph after TRUE, FALSE changing axis/title options checkpoint_dir <string> Directory for checkpoint files, or "none" to suppress them altogether convert_time <logical>Automatically convert from TRUE, FALSE ms->s when filtering file_names <string> Controls default file filters. LSTC OASYS, ARUP, = d3thdt*, xtfile*, OASYS/ARUP LSTC = *.thf, *.xtf legend_columns <string> Number of columns to display in 1, 2, 3 legend line_width <real> Default line width for curves (pixels) macro_directory <string> Specify a directory for T/HIS to look in for MACRO definitions master_group_file<string> Filename for default group information plot_format <string> Default format of plot DEFAULT, AUTO, FULL, FLOATING prefix_format <string> Prefix for MODEL, DIRECTORY, ROOTNAME, USER regularise_dt <real> Time interval for automatic curve regularisation second_y_axis <logical>Display 2nd y axis TRUE, FALSE show_hic_value <string> Display HIC value ON, OFF show_3ms_value <string> Display 3ms Clip value ON, OFF show_thiv_value <string> Display THIV value ON, OFF show_phd_value <string> Display PHD value ON, OFF start_in <string> Directory to start T/HIS in vc_method <string> Default method for calculating ECER95, IIHS Viscous Criteria asi_method <string> Default method for calculating 2010, 1998 Acceleration Severity Index Default FALSE FALSE TRUE <none> FALSE OASYS 2 2.0 $OA_INSTALL/this_library/macros <none> DEFAULT MODEL
Page H.3
T/HIS curve_palette <string> Controls how many colours are used by curves, default(6), extended(13), no_grey(27), full(30+any user defined)
User manual Version 10.0, June 2011 DEFAULT, OFF EXTENDED, NO_GREY, FULL
The following options control the default location and name of where T/HIS looks for model database files. Preference Type Description Valid arguments Default <none> <none> 0
database_dir <string> Directory to look in for model database (XML) files database_file <string> Default model database (XML) file database_expand<integer>Number of levels to automatically expand in model database tree (-1 ALL) The following strings and values control display options Preference axis_width
-1 2147483646
Description Valid arguments Default line width for axis (pixels) axis_colour <string> Axis colour FOREGROUND, BACKGROUND, WHITE, BLACK, RED, GREEN, BLUE, CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 border_on <logical>Display TRUE, FALSE border border_width <real> Default line width for border (pixels) border_colour<string> Border FOREGROUND, BACKGROUND, WHITE, BLACK, RED, colour GREEN, BLUE, CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 grid_on <logical>Display grid TRUE, FALSE grid_width <real> Default line width for grid (pixels) The following strings and values control formatting of values for graphs Preference Type Description Valid arguments add_exponent_to_label <logical>Add axis TRUE, FALSE multiplier to label
Type <real>
TRUE 1.0
FOREGROUND
FALSE 2.0
Default TRUE
Page H.4
User manual Version 10.0, June 2011 x_axis_decimal_places <string> Number of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Default(3) decimal places displayed for X axis values x_axis_format <string> Format used Automatic, General, Scientific, Default(Automatic) to display X axis values y_axis_decimal_places <string> Number of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Default(3) decimal places displayed for Y axis values y_axis_format <string> Format used Automatic, General, Scientific, Default(Automatic) to display Y axis values y2_axis_decimal_places<string> Number of 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, Default(3) decimal places displayed for second Y axis values y2_axis_format <string> Format used Automatic, General, Scientific, Default(Automatic) to display second Y axis values colours background_colour Default(3)
T/HIS
Default(Automatic) Default(3)
Default(Automatic) Default(3)
Default(Automatic)
foreground_colour
user_colour1
<string> Background WHITE, BLACK, RED, GREEN, BLUE, CYAN, BLACK colour MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 <string> Foreground WHITE, BLACK, RED, GREEN, BLUE, CYAN, WHITE colour MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 <string> User defined <none> colour 1 (HEX RRGGBB value)
Page H.5
T/HIS user_colour2 <string> User defined colour 2 (HEX RRGGBB value) <string> User defined colour 3 (HEX RRGGBB value) <string> User defined colour 4 (HEX RRGGBB value) <string> User defined colour 5 (HEX RRGGBB value) <string> User defined colour 6 (HEX RRGGBB value)
user_colour3
<none>
user_colour4
<none>
user_colour5
<none>
user_colour6
<none>
The following options control the preferred order of data sources for various entities Preference global part node elements solid beam shell tshell spring seatbelt retractor slipring wall contact reaction airbag joint section subsystem geo_contact Data source for solid data <ordered> Data source for beam data <ordered> Data source for shell data <ordered> Data source for thick shell data <ordered> Data source for spring data <ordered> Data source for seatbelt data <ordered> Data source for retractor data <ordered> Data source for slipring data <ordered> Data source for rigid wall data <ordered> Data source for contact data <ordered> Data source for nodal reaction data <ordered> Data source for airbag data <ordered> Data source for joint data <ordered> Data source for section data <ordered> Data source for subsystems data <ordered> Data source for geometric contact data <ordered> THF, LSDA, none THF, LSDA, none THF, LSDA, none THF, LSDA, none <none> <none> <none> <none> Type Description Data source for global data <ordered> Data source for part data <ordered> Data source for node data <ordered> Valid arguments Default LSDA, ASCII, THF, none<none> THF, LSDA, ASCII, none<none> THF, LSDA, ASCII, none<none>
XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> XTF, LSDA, ASCII, none<none> LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none <none> <none> <none> <none>
Page H.6
User manual Version 10.0, June 2011 nodal_rb weld spc boundary fsi sph tracer Data source for nodal rigid body data <ordered> Data source for spotweld data <ordered> Data source for spc data <ordered> Data source for boundary data <ordered> Data source for fluid structural interaction <ordered>data Data source for SPH data <ordered> Data source for TRACER data <ordered> LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none LSDA, ASCII, none
The following strings and values control axes, title, and legend formatting for graphs Preference title_size Type Description Valid arguments Default <string>Font size for 8, 10, 12, 14, 18, 24, Default Default title title_font <string>Font for title Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default Courier_Bold, Times_Medium, Times_bold, Default title_colour <string>Colour of FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND title CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 x_label_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default X axis label x_label_font <string>Font for X Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default axis label Courier_Bold, Times_Medium, Times_bold, Default x_label_colour <string>Colour of X FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND axis label CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 x_axis_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default X axis units x_axis_font <string>Font for X Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default axis units Courier_Bold, Times_Medium, Times_bold, Default
Page H.7
T/HIS
x_axis_colour <string>Colour of X FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND axis units CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 y_label_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default Y axis label y_label_font <string>Font for Y Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default axis label Courier_Bold, Times_Medium, Times_bold, Default y_label_colour <string>Colour of Y FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND axis label CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 y_axis_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default Y axis units y_axis_font <string>Font for Y Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default axis units Courier_Bold, Times_Medium, Times_bold, Default y_axis_colour <string>Colour of Y FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND axis units CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 y2_label_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default second Y axis label y2_label_font <string>Font for Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default second Y Courier_Bold, Times_Medium, Times_bold, Default axis label y2_label_colour<string>Colour of FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND second Y CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, axis label INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 Page H.8
User manual Version 10.0, June 2011 y2_axis_size <string>Font size for second Y axis units y2_axis_font <string>Font for second Y axis units y2_axis_colour <string>Colour of second Y axis units 8, 10, 12, 14, 18, 24, Default Helvetica_Medium, Helvetica_Bold, Courier_Medium, Courier_Bold, Times_Medium, Times_bold, Default Default Default
T/HIS
FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 legend_size <string>Font size for 8, 10, 12, 14, 18, 24, Default Default curve legends legend_font <string>Font for Helvetica_Medium, Helvetica_Bold, Courier_Medium, Default second curve Courier_Bold, Times_Medium, Times_bold, Default legends legend_colour <string>Colour of FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND curve CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, legends INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 The following strings and values control how T/HIS starts Preference graphics_type maximise placement Type Description <string> Graphics format to start T/HIS with <logical>Maximise window when T/HIS started <string> Location for initial window on multi-screen display <string> Default image format Valid arguments OPENGL, TTY, DEFAULT TRUE, FALSE Default OPENGL FALSE <none> JPG_24 FALSE
LEFT, RIGHT, BOTTOM, TOP, LEFT_BOTTOM, LEFT_TOP, RIGHT_BOTTOM, RIGHT_TOP image_format BMP_8_C, BMP_8_UN, PNG_8, GIF_8, BMP_24_UN, PNG_24, JPG_24, PPM_24 white_background_image<logical>Write images with white TRUE, FALSE background The following strings and values control laser plotting setup Preference laser_paper_size laser_orientation laser_top_margin laser_bottom_margin laser_left_margin laser_right_margin Type <string> <string> <real> <real> <real> <real> Description Default paper size Default page orientation Top margin size in mm Bottom margin size in mm Left margin size in mm Right margin size in mm
The following options affect the appearance and behaviour of the graphical user interface, left handed support, and the Page H.9
T/HIS mouse Preference display_factor Type Description <real> Factor on display size (0.5-2.0) display_brightness<real> Menu brightness (0.0-1.0) display_saturation <real> Menu colour saturation (0.0-1.0) dv_left_shift <string>Dyn view action for shift + Left mouse Valid arguments 0.5 - 2.0 0.0 - 1.0 0.0 - 1.0
ROTATION_XYZ, ROTATION_XY, ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_shift <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift + Middle mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_shift <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift + Right mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_left_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Left mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Middle mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Right mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_left_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Left ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Middle ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Right ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_shift_action <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for shift + UNUSED mouse button dv_ctrl_action <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for ctrl + UNUSED mouse button dv_both_action <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for shift+ctrl + UNUSED mouse button font_size <string>Menu font size SMALL, DEFAULT, LARGE font_type <string>Menu font typeface HELVETICA, HELVETICA-BOLD, TIMES, and strength TIMES-BOLD, COURIER, COURIER-BOLD left_handed <string>Left handed NONE, MOUSE, KEYBOARD, ALL switching of mouse and/or keyboard zoom_factor <real> Zoom Factor for 0.01 - 0.2 mouse wheel (0.01-0.2) czoom_factor <real> Factor for right 0.01 - 0.2 mouse dynamic zoom (0.01-0.2)
TRANSLATION
ZOOM_UP_+VE
ROTATION_XYZ
TRANSLATION
ZOOM_UP_+VE
ROTATION_XYZ
TRANSLATION
ZOOM_UP_+VE
Page H.10
User manual Version 10.0, June 2011 kzoom_factor <real> Factor for +/keyboard short-cut keys 0.01 - 100.0 2.0
T/HIS
The following options define how Javascripts are processed by THIS. Preference Type Description Valid arguments Default $OA_INSTALL/this_library/scripts
script_directory<string>Directory in which T/HIS looks for scripts Keys can have functions assigned to them: Preference F1_key F2_key F3_key F4_key F5_key F6_key F7_key F8_key F9_key F10_key F11_key F12_key A_key B_key C_key D_key E_key F_key G_key H_key I_key J_key K_key L_key M_key Type Description
Valid arguments
Default <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> AUTOSCALE BLANK CURVE_MENU <none> <none> FAST_TCF_MENU NEW_WINDOW <none> <none> <none> <none> <none> <none>
Shortcut for F1 <string> Shortcut for F2 <string> Shortcut for F3 <string> Shortcut for F4 <string> Shortcut for F5 <string> Shortcut for F6 <string> Shortcut for F7 <string> Shortcut for F8 <string> Shortcut for F9 <string> Shortcut for F10 <string> Shortcut for F11 <string> Shortcut for F12 <string> Shortcut for A <string> Shortcut for B <string> Shortcut for C <string> Shortcut for D <string> Shortcut for E <string> Shortcut for F <string> Shortcut for G <string> Shortcut for H <string> Shortcut for I <string> Shortcut for J <string> Shortcut for K <string> Shortcut for L <string> Shortcut for M <string>
Page H.11
T/HIS N_key O_key P_key Q_key R_key S_key T_key U_key V_key W_key X_key Y_key Z_key a_key b_key c_key d_key e_key f_key g_key h_key i_key j_key k_key l_key m_key n_key o_key p_key q_key r_key s_key Shortcut for N <string> Shortcut for O <string> Shortcut for P <string> Shortcut for Q <string> Shortcut for R <string> Shortcut for S <string> Shortcut for T <string> Shortcut for U <string> Shortcut for V <string> Shortcut for W <string> Shortcut for X <string> Shortcut for Y <string> Shortcut for Z <string> Shortcut for a <string> Shortcut for b <string> Shortcut for c <string> Shortcut for d <string> Shortcut for e <string> Shortcut for f <string> Shortcut for g <string> Shortcut for h <string> Shortcut for i <string> Shortcut for j <string> Shortcut for k <string> Shortcut for l <string> Shortcut for m <string> Shortcut for n <string> Shortcut for o <string> Shortcut for p <string> Shortcut for q <string> Shortcut for r <string> Shortcut for s <string>
User manual Version 10.0, June 2011 EDIT_NEXT <none> PLOT QUICK_PICK REVERSE <none> TIDY_MENUS UNBLANK CURVE_GROUP <none> CURVE_TABLE Y_AUTOSCALE ZOOM AUTOSCALE BLANK CURVE_MENU <none> <none> FAST_TCF_MENU NEW_WINDOW <none> <none> <none> <none> <none> <none> EDIT_NEXT <none> PLOT QUICK_PICK REVERSE <none>
Page H.12
User manual Version 10.0, June 2011 t_key u_key v_key w_key x_key y_key z_key SPACE_key ZERO_key ONE_key TWO_key THREE_key FOUR_key FIVE_key SIX_key SEVEN_key EIGHT_key NINE_key EXCLAMATION_key DOUBLEQUOTE_key HASH_key DOLLAR_key PERCENT_key AMPERSAND_key SINGLEQUOTE_key LEFTBRACKET_key RIGHTBRACKET_key ASTERISK_key PLUS_key COMMA_key MINUS_key DOT_key Shortcut for t <string> Shortcut for u <string> Shortcut for v <string> Shortcut for w <string> Shortcut for x <string> Shortcut for y <string> Shortcut for z <string> Shortcut for space <string> Shortcut for 0 <string> Shortcut for 1 <string> Shortcut for 2 <string> Shortcut for 3 <string> Shortcut for 4 <string> Shortcut for 5 <string> Shortcut for 6 <string> Shortcut for 7 <string> Shortcut for 8 <string> Shortcut for 9 <string> Shortcut for ! <string> Shortcut for " <string> Shortcut for # <string> Shortcut for $ <string> Shortcut for % <string> Shortcut for & <string> Shortcut for <string> Shortcut for ( <string> Shortcut for ) <string> Shortcut for * <string> Shortcut for + <string> Shortcut for , <string> Shortcut for <string> Shortcut for . <string>
T/HIS TIDY_MENUS UNBLANK CURVE_GROUP <none> CURVE_TABLE Y_AUTOSCALE ZOOM PLOT COPY_AXIS TILE_TALL TILE_WIDE CASCADE LAYOUT_1X1 LAYOUT_2X2 LAYOUT_3X3 <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> <none> ZOOM_IN <none> ZOOM_OUT <none>
Page H.13
T/HIS SLASH_key Shortcut for / <string> COLON_key Shortcut for : <string> SEMICOLON_key Shortcut for ; <string> LESSTHAN_key Shortcut for < <string> EQUALS_key Shortcut for = <string> GREATERTHAN_key Shortcut for > <string> QUESTIONMARK_key Shortcut for ? <string> AT_key Shortcut for @ <string> LEFTSQUAREBRACKET_key Shortcut for [ <string> BACKSLASH_key Shortcut for \ <string> RIGHTSQUAREBRACKET_key Shortcut for ] <string> CIRCUMFLEX_key Shortcut for ^ <string> UNDERSCORE_key Shortcut for _ <string> BACKTICK_key Shortcut for <string> LEFTCURLYBRACKET_key Shortcut for { <string> PIPE_key Shortcut for | <string> RIGHTCURLYBRACKET_key Shortcut for } <string> TILDE_key Shortcut for ~ <string>
User manual Version 10.0, June 2011 SHORTCUT <none> <none> <none> ZOOM_IN <none> SHORTCUT <none> <none> <none> <none> <none> ZOOM_OUT <none> <none> <none> <none> <none>
The following strings control the T/HIS header and version number at the bottom right of the plot space Preference Type Description Valid arguments user_text_line_1<string>Text for line 1 user_text_line_2<string>Text for line 2 user_text_line_3<string>Text for line 3 user_text_line_4<string>Text for line 4 user_text_line_5<string>Text for line 5 user_text_line_6<string>Text for line 6 user_text_size_1<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 1 user_text_size_2<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 2 user_text_size_3<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 3 user_text_size_4<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 4 user_text_size_5<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 5 user_text_size_6<string>Size of text 8, 10, 12, 14, 18, 24, Default on line 6 user_text_font <string>Font for Helvetica_Medium, Helvetica_Bold, Courier_Medium, user text Courier_Bold, Times_Medium, Times_bold, Default Default <none> <none> <none> <none> <none> <none> Default Default Default Default Default Default Default
Page H.14
T/HIS
user_text_colour<string>Colour for FOREGROUND, WHITE, BLACK, RED, GREEN, BLUE, FOREGROUND user text CYAN, MAGENTA, YELLOW, ORANGE, TURQUOISE, INDIGO, LIME, SKY, PINK, PALE_YELLOW, GOLD, OLIVE, DARK_MAGENTA, MEDIUM_GREEN, MEDIUM_BLUE, HOT_PINK, LIGHT_PINK, SEA_GREEN, MAROON, DARK_GREEN, PURPLE, NAVY, DARK_GREY, MEDIUM_GREY, LIGHT_GREY, USER_1, USER_2, USER_3, USER_4, USER_5, USER_6, COL_1, COL_2, COL_3, COL_4, COL_5, COL_6, COL_7, COL_8, COL_9, COL_10, COL_11, COL_12, COL_13, COL14, COL_15, COL_16, COL_17, COL_18, COL_19, COL_20, COL_21, COL_22, COL_23, COL_24, COL_25, COL_26, COL_27, COL_28, COL_29, COL_30, COL_31, COL_32, COL_33, COL_34, COL_35, COL_36 The following strings and values control the display of UNIT information in T/HIS Preference model_units Type Description Valid arguments <string> Sets the default UNIT system for U1 m:kg:s (SI), U2 mm:T:s, U3 mm:kg:ms, U4 models mm:gm:ms, U5 ft:slug:s, U6 m:T:s display_units <string> Sets the default UNIT system U1 m:kg:s (SI), U2 mm:T:s, U3 mm:kg:ms, U4 used to display results mm:gm:ms, U5 ft:slug:s, U6 m:T:s write_csv_units<logical>Write UNIT information to CSV TRUE, FALSE files Default U1 m:kg:s (SI) U1 m:kg:s (SI) TRUE
The following is an example file. Note that blank lines and lines not beginning <programme name>: are ignored, so comment lines may be added if required. However, lines to be read must start at column 1 and there must not be any gaps in the keyword. this*laser_paper_size: this*laser_orientation: this*laser_mode: this*user_text_line_2: A4 Landscape Greyscale Design Project
this*user_text_line_4: Phase II Results The user preferences option is not available in command line mode, however the oa_pref file is read and applied. Setting paper size and margins can therefore only be done through this method. Global preferences. From version 9.3 onwards global preferences that apply to all programs can be specified using "oasys" as the program name. oasys*<keyword>: <argument At present the following global preferences can be defined If a preference is defined twice using both "oasys*" and "this*" then the "this*" setting will override the global setting. Preference file_names Type Description Valid arguments <string> Controls input filename syntax. OASYS, LSTC LSTC = d3*, OASYS = job.ptf* html_application<string> Location of HTML browser image_format <string> Default image format BMP_8_C, BMP_8_UN, PNG_8, GIF_8, BMP_24_UN, PNG_24, JPG_24, PPM_24 maximise <logical>Maximise window when TRUE, FALSE Program is started placement <string> Location for initial window on LEFT, RIGHT, BOTTOM, TOP, multi-screen display LEFT_BOTTOM, LEFT_TOP, RIGHT_BOTTOM, RIGHT_TOP pdf_application <string> Location of PDF browser start_in <string> Directory to start Program in The following control directories Default OASYS <none> JPG_24 FALSE <none> <none> <none>
Page H.15
"home" directory for user <string> Directory Oasys Ltd software is installed in <string> Directory user manuals are installed in <string> temporary directory for user <string> Directory for checkpoint files, or "none" to suppress them altogether <string>
The following control laser options Preference laser_paper_size laser_orientation laser_top_margin laser_bottom_margin laser_left_margin laser_right_margin Type <string> <string> <real> <real> <real> <real> Description Default paper size Default page orientation Top margin size in mm Bottom margin size in mm Left margin size in mm Right margin size in mm Valid arguments Default US, A4 A4 Portrait, LandscapeLandscape 10 30 20 10
The following control menu and mouse attributes Preference display_factor Type Description <real> Factor on display size (0.5-2.0) display_brightness<real> Menu brightness (0.0-1.0) display_saturation <real> Menu colour saturation (0.0-1.0) dv_left_shift <string>Dyn view action for shift + Left mouse Valid arguments 0.5 - 2.0 0.0 - 1.0 0.0 - 1.0 Default 1.0 1.0 1.0 ROTATION_XYZ
ROTATION_XYZ, ROTATION_XY, ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_shift <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift + Middle mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_shift <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift + Right mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_left_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Left mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Middle mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_ctrl <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, ctrl + Right mouse ROTATION_Z, ROTATION_SPHERE, TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_left_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Left ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_middle_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Middle ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED dv_right_both <string>Dyn view action for ROTATION_XYZ, ROTATION_XY, shift+ctrl + Right ROTATION_Z, ROTATION_SPHERE, mouse TRANSLATION, ZOOM_UP_+VE, ZOOM_DOWN_+VE, UNUSED Page H.16
TRANSLATION
ZOOM_UP_+VE
ROTATION_XYZ
TRANSLATION
ZOOM_UP_+VE
ROTATION_XYZ
TRANSLATION
ZOOM_UP_+VE
User manual Version 10.0, June 2011 dv_shift_action dv_ctrl_action dv_both_action font_size font_type left_handed zoom_factor czoom_factor kzoom_factor <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for shift + UNUSED mouse button <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for ctrl + UNUSED mouse button <string>Dynamic viewing CURRENT, WIREFRAME, FREE_EDGE, mode for shift+ctrl + UNUSED mouse button <string>Menu font size SMALL, DEFAULT, LARGE <string>Menu font typeface HELVETICA, HELVETICA-BOLD, TIMES, and strength TIMES-BOLD, COURIER, COURIER-BOLD <string>Left handed NONE, MOUSE, KEYBOARD, ALL switching of mouse and/or keyboard <real> Zoom Factor for 0.01 - 0.2 mouse wheel (0.01-0.2) <real> Factor for right 0.01 - 0.2 mouse dynamic zoom (0.01-0.2) <real> Factor for +/0.01 - 100.0 keyboard short-cut keys CURRENT
T/HIS
Page H.17
T/HIS
Page H.18
T/HIS
If T/HIS doesnt start check through what youve done, and ask Oasys Ltd for help if you cant resolve the problem.
Page I.1
T/HIS In any folder window click on View, then select Folder Options from the menu.
Select the File Types tab at the top. Scroll down the list of Registered file types until you get to the name you entered for .thf files e.g. "LS-DYNA time history file". Highlight this and select Edit
Page I.2
User manual Version 10.0, June 2011 In the Edit File Type panel click on Change Icon And use BROWSE in the Change Icon panel to find file this82.exe.
T/HIS
Then, in the Edit File Type panel, click on Edit to obtain the Editing action panel:
The Action: entry should be set to "open" (greyed out). You now need to edit the contents of the Application used... box: At this stage you must decide what graphics driver you wish T/HIS to open under. The options are: x tty X-Windows 2D graphics.. No graphics. Suitable only for batch mode processing, producing laser output files, and not recommended for use here.
default Is the same as x in this instance. Edit the existing string to remove the "%1" at its end and replace it with -d=<option> where <option> is one of the above. For example: -d=x -d=default It is recommended that you use: d=default Which will select X, and provide for any future options. Selects X Lets T/HIS choose the best option
(Note that there must be no spaces in this definition: -d = x would cause an error. Also you must use lower case throughout. -d=X would also cause an error.) Click on OK in the Editing action window to close and save it. Click on Close in the edit File Type window to close and save it.
Page I.3
T/HIS Click on Close in the Folder Options window to close and save it. You should now find that: All .thf files on your system show the T/HIS icon.
Double-clicking on any such file starts T/HIS with the appropriate graphics driver, and opens that file. It is not possible to set up the filename "d3thdt" for double-clicking in this way since Windows requires filename extensions when assigning applications to files.)
I.1.1.1 If .thf files do not currently have an application associated with them.
(2) If .thf files do currently have an application associated with them In any folder window click on View, then select Folder Options from the menu. Select the File Types tab at the top. Scroll down until you find the file type currently associated with .thf files. Highlight it and click on Edit
The procedure is then the same as the above, except that you are replacing Icon (click on Change Icon) Application (click on Edit)
...instead of defining new values. If you are unsure it may be easier to Remove the current registered file type, then start afresh from (1) above.
I.1.2 To make .xtf, .cur and .bdf files open in T/HIS by double-clicking on them
The procedure is exactly the same as for .thf files, and must be carried out for each of the file types that you wish to process by double-clicking: .xtf .cur .bdf Note that: LS-DYNA Extra Time History file T/HIS Curve file T/HIS Bulk Data file File types .thf and .xtf are opened in this way, but no contents are read in. File types .cur and .bdf are opened and their complete contents read in.
Page I.4
T/HIS
global class
The global class is the main JavaScript class. More...
Class functions
AllocateFlag() ClearFlag(flag[integer]) DialogueInput(string_1, (string_2 ... string_n)[One or more Javascript strings]) DialogueInputNoEcho(string_1, (string_2 ... string_n)[One or more Javascript strings]) Error(string[Any valid javascript type]) Exit() Getenv() Message(string[Any valid javascript type]) MilliSleep(time[integer]) NumberToString(number[integer/float], width[integer]) Plot() Print(string[Any valid javascript type]) Println(string[Any valid javascript type]) ReturnFlag(flag[integer]) Sleep(time[integer]) System(string[Any valid javascript type]) Unix() Warning(string[Any valid javascript type]) Windows()
Detailed Description
The global class declares the global object in JavaScript that contains the global properties and methods. As well as the core JavaScript methods, PRIMER also defines other additional ones. e.g. Message(), Print() etc. See the documentation below for more details.
Details of functions
AllocateFlag() [static] Description
Allocate a flag for use in the script. See also ReturnFlag() and Once allocated the flag is automatically cleared for all the curves currently in T/HIS.
Arguments
No arguments
Return type
Flag (integer)
Page J.1
T/HIS
Example
To allocate a flag var flag = AllocateFlag();
Arguments
Name Type flag Description
Return type
No return value.
Example
To clear flag f: ClearFlag(f);
Arguments
Name string_1, (string_2 ... string_n) Type One or more Javascript strings Description The command(s) that are to be executed as if they had been typed into the dialogue box
Return type
No return value
Example
To mulitple curves 1 and 2 by 10: DialogueInputNoEcho("/op mul #1 10 #", "/op mul #2 10 #"); Note that each call to DialogueInput starts afresh at the top of the T/HIS command line "tree", so where multiple commands need to be given at sub-menu levels they need to be included in a single call.
Page J.2
T/HIS
Arguments
Name string_1, (string_2 ... string_n) Type One or more Javascript strings Description The command(s) that are to be executed as if they had been typed into the dialogue box
Return type
No return value
Example
To mulitple curves 1 and 2 by 10: DialogueInputNoEcho("/op mul #1 10 #", "/op mul #2 10 #"); As with DialogueInput above each call starts at the top of the T/HIS command tree structure, so any commands destined for sub-menus must all be arguments to a single call.
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to print
Return type
No return value
Example
To print the title of model object m as an error to the dialogue box Error("The title is " + m.title);
Arguments
No arguments
Page J.3
T/HIS
Return type
No return value
Example
Exit with Exit();
Arguments
No arguments
Return type
String containing variable value or null if variable does not exist
Example
To get the value for environment variable HOME var home = Getenv("HOME");
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to print
Return type
No return value
Example
To print the title of model object m as a message to the dialogue box Message("The title is " + m.title);
Page J.4
T/HIS
Arguments
Name Type time Description
Return type
No return value
Example
To pause for 500 milliseconds MilliSleep(500);
Arguments
Name Type Description
number integer/float The number you want to format. width integer The width of the string you want to format it to (must be less than 80).
Return type
String containing the number
Example
To write the number 1.2345e+6 to a string 10 characters wide var str = NumberToString(1.2345e+6, 10);
Arguments
No arguments
Return type
No return value
Example
Update all graphs Plot();
Page J.5
T/HIS
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to print
Return type
No return value
Example
To print string "Hello, world!" Print("Hello, world!"); To print the title of model object m with a carriage return print("The title is " + m.title + "\n");
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to print
Return type
No return value
Example
To print string "Hello, world!" automatically adding a carriage return Println("Hello, world!"); To print the title of model object m, automatically adding a carriage return Println("The title is " + m.title);
Page J.6
T/HIS
Arguments
Name Type flag Description
Return type
No return value.
Example
To return flag f: ReturnFlag(f);
Arguments
Name Type time Description
Return type
No return value
Example
To pause for 2 seconds Sleep(2);
Arguments
Name Type Description
string Any valid javascript type The system command that you want to do
Return type
integer (probably zero if command successful but is implementation-dependant)
Example
To make the directory "example" System("mkdir example");
Page J.7
T/HIS
Arguments
No arguments
Return type
true if Unix/Linux, false if not
Example
To test if the OS is Unix if ( Unix() )
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to print
Return type
No return value
Example
To print the title of model object m as a warning to the dialogue box Warning("The title is " + m.title);
Arguments
No arguments
Return type
true if Windows, false if not
Page J.8
T/HIS
Example
To test if the OS is Windows if ( Windows() )
Page J.9
T/HIS
Colour class
The Colour class contains constants relating to colours. More...
Colour constants
Name Colour.BACKGROUND Colour.BLACK Colour.BLUE Colour.CYAN Colour.DARK_GREEN Colour.DARK_GREY Description Background colour Colour black Colour blue Colour cyan Colour dark green Colour dark grey
Colour.DARK_MAGENTA Colour dark magenta Colour.FOREGROUND Colour.GOLD Colour.GREEN Colour.HOT_PINK Colour.INDIGO Colour.LIGHT_GREY Colour.LIGHT_PINK Colour.LIME Colour.MAGENTA Colour.MAROON Colour.MEDIUM_BLUE Foreground colour Colour gold Colour green Colour hot pink Colour indigo Colour light grey Colour light pink Colour lime Colour magenta Colour maroon Colour medium blue
Colour.MEDIUM_GREEN Colour medium green Colour.MEDIUM_GREY Colour.NAVY Colour.OLIVE Colour.ORANGE Colour.PALE_YELLOW Colour.PINK Colour.PURPLE Colour.RED Colour.SEA_GREEN Colour.SKY Colour.TURQUOISE Colour.USER_1 Colour.USER_2 Colour.USER_3 Colour.USER_4 Colour medium grey Colour navy Colour olive Colour orange Colourpale yellow Colour pink Colour purple Colour red Colour sea green Colour sky Colour turquoise Colour user defined 1 Colour user defined 2 Colour user defined 3 Colour user defined 4
Page J.10
User manual Version 10.0, June 2011 Colour.USER_5 Colour.USER_6 Colour.WHITE Colour.YELLOW Colour user defined 5 Colour user defined 6 Colour white Colour yellow
T/HIS
Detailed Description
The Colour class is used to define colours: p.colour = Colour.RED;
Page J.11
T/HIS
Curve class
The Curve class gives you access to curves in T/HIS. More...
Class functions
Copy(source[integer], target[integer]) Delete(curve[integer]) Exists(curve[integer]) First() FirstFreeID() FirstID() FlagAll(flag[integer]) GetFromID(ID[integer]) GetFromTag(TAG[string]) HighestID() Pick(prompt[string], modal (optional)[boolean]) Select(flag[integer], prompt[string], modal (optional)[boolean]) UnflagAll(flag[integer])
Member functions
AddPoint(xvalue[real], yvalue[real]) AddToGraph(graph, graph...[int]) ClearFlag(flag[integer]) Flagged(flag[integer]) GetPoint(row[integer]) InsertPoint(ipt[integer], xvalue[real], yvalue[real], position[integer]) Next() Previous() RemoveFromGraph(graph, graph...[int]) SetFlag(flag[integer]) Update()
Curve constants
Name Curve.AFTER Description Insertion of curve data option.
Curve properties
Name average colour hic hic_tmax hic_tmin hicd hicd_tmax hicd_tmin id label model Type float Colour float float float float float float integer string integer Description Curve average value (read only) The colour of the curve Curve HIC value - returns 0.0 if the HIC hasnt been calculated (read only) End of HIC time windows - returns 0.0 if the HIC hasnt been calculated (read only) Start of HIC time windows - returns 0.0 if the HIC hasnt been calculated (read only) Curve HIC(d) value - returns 0.0 if the HIC(d) hasnt been calculated (read only) End of HIC(d) time windows - returns 0.0 if the HIC(d) hasnt been calculated (read only) Start of HIC(d) time windows - returns 0.0 if the HIC(d) hasnt been calculated (read only) Curve ID (read only) Curve label The ID of the model that a curve was read from.
Page J.12
User manual Version 10.0, June 2011 npoints rms style symbol tag title integer float LineStyle Symbol string string Number of curve points (read only) Curve RMS value (read only) The line style used to draw the curve The symbol style for a curve Curve tag. If a FAST-TCF script is running then this is the FAST-TCF tag Curve title
T/HIS
unit_system UnitSystem The Curve unit system width x_at_ymax x_at_ymin LineWidth float float The line width used to draw the curve X axis value at the Y axis maximum (read only) X axis value at the Y axis minimum (read only) Curve X axis label The X axis unit X axis maximum value (read only) X axis minimum value (read only) Curve Y axis label The Y axis unit Y axis maximum value (read only) Y axis minimum value (read only)
Detailed Description
The Curve class allows you to create, modify, edit and manipulate curves. See the documentation below for more details.
Constructor
new Curve(lcid[integer], tag (optional)[string], Line label (optional)[string], X-axis label (optional)[string], Y-axis label (optional)[string]) Description
Create a new Curve object. The curve will be added to all the currently active graphs.
Arguments
Name lcid tag (optional) Line label (optional) Type Description
integer Curve number string string Tag used to reference the curve in FAST-TCF scripts Line label for the curve X-axis label for the curve Y-axis label for the curve
Return type
Curve object
Page J.13
T/HIS
Example
To create a new curve with label 200 var l = new Curve(200);
Details of functions
AddPoint(xvalue[real], yvalue[real]) Description
Adds a point at the end of the curve.
Arguments
Name Type Description xvalue real yvalue real The x value of the point. The y value of the point.
Return type
No return value.
Example
To add the point x=3.5, y=5.5 to curve l: l.AddPoint(3.5,5.5);
Arguments
Name Type Description Optional list of graphs to add the curve to, If undefined then the curve is added to all graphs.
Return type
No return value.
Example
To add a curve (c) to graphs 1 and 3: c.AddToGraph(1,3); To add a curve (c) to all graphs: c.AddToGraph();
Page J.14
T/HIS
ClearFlag(flag[integer]) Description
Clears a flag on the curve.
Arguments
Name Type flag Description
Return type
No return value
Example
To clear flag f for curve l: l.ClearFlag(f);
Arguments
Name Type Description
Return type
No return value
Example
To copy curve 1 to curve 4: var curve = Curve.Copy(1,4); To copy curve a to curve b, Curve.Copy(a.id,b.id);
Page J.15
T/HIS
Arguments
Name Type Description
Return type
No return value
Example
To delete curve n Curve.Delete(n);
Arguments
Name Type Description
Return type
TRUE if the curve exists, otherwise FALSE
Example
To check if a curve n exists var exists = Curve.Exists(n);
Arguments
No arguments
Return type
Curve object (or null if there are no more curves in the model).
Example
To get the 1st curve var curve = Curve.First();
Page J.16
T/HIS
Arguments
No arguments
Return type
ID of first unsued curve.
Example
To get the ID of the first free curve: var curve = Curve.FirstFreeID();
Arguments
No arguments
Return type
ID of the first curve defined.
Example
To get the 1st curve var curve = Curve.FirstID();
Arguments
Name Type flag Description
Return type
No return value
Page J.17
T/HIS
Example
To flag all of the curves with flag f: var curve = Curve.FlagAll(f);
Flagged(flag[integer]) Description
Checks if the curve is flagged or not.
Arguments
Name Type flag Description
Return type
true if flagged, false if not.
Example
To check if curve d has flag f set on it: if (d.Flagged(f) ) do_something...
Arguments
Name Type ID Description
Return type
Curve object (or null if the curve does not exist.
Example
To get the curve n var curve = Curve.GetFromID(n);
Page J.18
T/HIS
Arguments
Name Type Description TAG string TAG of curve to return object for
Return type
Curve object (or null if there are no free curves).
Example
To get the curve with a tag "tag" var curve = Curve.GetFromTag(tag);
GetPoint(row[integer]) Description
Returns x and y data for a point in a curve
Arguments
Name Type row Description
Return type
An array containing the x value and the y value.
Example
To get the curve data for the 3rd point for curve l: if (l.npoints >= 3) { var point_data = l.GetPoint(3); }
Arguments
No arguments
Return type
ID of highest curve currently being used.
Example
To get the highest curve ID var id= Curve.HighestID();
Page J.19
T/HIS
Arguments
Name ipt xvalue yvalue Type Description
integer The point you want to insert the data before or after. real real The x value of the point. The y value of the point.
position integer Specify either before or after the selected pioint. Use Curve.BEFORE for before, and Curve.AFTER for after.
Return type
No return value.
Example
To insert the values after the 3rd row to x=3, y=5 for curve l: l.InsertPoint(3, 3, 5, Curve.AFTER);
Next() Description
Returns the next curve in the model.
Arguments
No arguments
Return type
Curve object (or null if there are no more curves in the model).
Example
To get the curve in model m after curve l: var curve = l.Next();
Page J.20
T/HIS
Arguments
Name prompt modal (optional) Type string Description Text to display as a prompt to the user
boolean If selection is modal (blocks the user from doing anything else in T/HIS until this window is dismissed). If omitted the selection will be modal.
Return type
Curve object (or null if the user cancles the pick operation).
Example
To pick a curve, giving the prompt Pick curve: Curve.Pick(Pick curves);
Previous() Description
Returns the previous curve in the model.
Arguments
No arguments
Return type
Curve object (or null if there are no more curves in the model).
Example
To get the curve in model m before this one: var curve = curve.Previous();
Arguments
Name graph, graph... Type Description int Optional list of graphs to remove the curve from, If undefined then the curve is removed from all graphs.
Return type
No return value.
Page J.21
T/HIS
Example
To remove a curve (c) from graphs 1 and 3: c.RemoveFromGraph(1,3); To remove a curve (c) from all graphs: c.RemoveFromGraph();
Arguments
Name flag prompt modal (optional) Type Description
integer Flag to use when selecting curves string Text to display as a prompt to the user
boolean If selection is modal (blocks the user from doing anything else in T/HIS until this window is dismissed). If omitted the selection will be modal.
Return type
Number of items selected or null if menu cancelled
Example
To select curves, flagging those selected which flag f, giving the prompt Select curves: Curve.Select(f, Select curves);
SetFlag(flag[integer]) Description
Sets a flag on the curve.
Arguments
Name Type flag Description
Return type
No return value
Example
To set flag f for curve l: l.SetFlag(f);
Page J.22
T/HIS
Arguments
Name Type flag Description
Return type
No return value
Example
To unset the flag f on all of the curves: var curve = Curve.UnflagAll(f);
Update() Description
Updates a curve properties (min,max, average values etc).
Arguments
No arguments
Return type
No return value.
Example
To update the properties of curve l: l.Update();
Page J.23
T/HIS
File class
The File class allows you to read and write text files. More...
Class functions
Copy(source[string], dest[string]) Delete(filename[string]) DriveMapFilename(filename[string], format[constant]) Exists(filename[string]) FindFiles(directory[string]) IsAbsolute(filename[string]) IsDirectory(filename[string]) IsFile(filename[string]) Mkdir(directory[string]) Mktemp()
Member functions
Close() Flush() ReadChar() ReadLine() ReadLongLine() Write(string[Any valid javascript type]) Writeln(string[Any valid javascript type])
File constants
Name Description
File.APPEND Flag to open file for appending File.READ File.WRITE Flag to open file for reading Flag to open file for writing
Detailed Description
The File class gives you simple functions to read and write text files. The following simple example shows how to read from the file "/data/test/file.txt" and print each line read to the dialogue box: var f, line; f = new File("/data/test/file.txt", File.READ); while ( (line = f.ReadLine()) != undefined) { Message(line); } f.Close(); The following simple example shows how to write the numbers 1 to 10 to the file "/data/test/file.txt": var n, line; f = new File("/data/test/file.txt", File.WRITE); for (n=1; n<=10; n++) { f.Writeln(n); } f.Close(); See the documentation below for more details.
Page J.24
T/HIS
Constructor
new File(filename[string], mode[constant]) Description
Create a new File object for reading and writing text files.
Arguments
Name Type Description Filename of the file you want to read/write. If reading, the file must exist. If writing, the file will be overwritten (if it exists) if mode is File.WRITE, or if mode is File.APPEND it will be appended to if it exists, or created if it does not.
filename string
mode
constant The mode to open the file with. Can be File.READ, File.WRITE or File.APPEND
Return type
File object
Example
To create a new file object to read file "/data/test/file.txt" var f = new File("/data/test/file.txt", File.READ);
Details of functions
Close() Description
Close a file opened by a File object.
Arguments
No arguments
Return type
No return value
Example
To close File object f. f.Close();
Page J.25
T/HIS
Arguments
Name Type Description source string Source filename you want to copy. dest string Destination filename you want to copy source file to.
Return type
true if copy successful, false if not.
Example
To copy the file "/data/test/file.key" to "/data/test/file.key_backup" var copied = File.Copy("/data/test/file.key", "/data/test/file.key_backup");
Arguments
Name Type Description
Return type
true if successful, false if not.
Example
To delete the file "/data/test/file.key" var deleted = File.Delete("/data/test/file.key");
Arguments
Name Type Description Filename you want to delete.
constant The format for the file/directory name. Can be Include.NATIVE, Include.UNIX or Include.WINDOWS
Return type
string containing drive mapped filename
Page J.26
T/HIS
Example
If Primer has drive S: mapped to "/data" (by using the primer*drive_s preference) var mapped = File.DriveMapFilename("/data/test/file.key", Include.WINDOWS); mapped will be "S:\test\file.key". var mapped = File.DriveMapFilename("S:\\test\\file.key", Include.UNIX); mapped will be "/data/test/file.key".
Arguments
Name Type Description
Return type
true/false
Example
To see if the file "/data/test/file.key" exists if (File.Exists("/data/test/file.key")) { do something }
Arguments
Name Type Description
Return type
Array of filenames
Example
To return the filenames in the directory /data/test var fileList = File.FindFiles("/data/test")
Page J.27
T/HIS
Flush() Description
Flushes a file opened for writing by a File object.
Arguments
No arguments
Return type
No return value
Example
To flush File object f. f.Flush();
Arguments
Name Type Description
Return type
true/false
Example
To see if the filename "/data/test" is absolute (which it is!) if (File.IsAbsolute("/data/test")) { do something }
Arguments
Name Type Description
Return type
true/false
Page J.28
T/HIS
Example
To see if the filename "/data/test" is a directory if (File.IsDirectory("/data/test")) { do something }
Arguments
Name Type Description
Return type
true/false
Example
To see if the filename "/data/test" is a file if (File.IsFile("/data/test")) { do something }
Arguments
Name Type Description
Return type
true if successfully created, false if not.
Example
To make the directory "/data/test" var success = File.Mkdir("/data/test");
Page J.29
T/HIS
Arguments
No arguments
Return type
String name of temporary filename that can be used.
Example
To get a temp filename" var filename = File.Mktemp();
ReadChar() Description
Reads a single character from a file opened for reading by a File object.
Arguments
No arguments
Return type
character read from file or undefined if end of file
Example
Loop, reading characters from File object f. var c; while ( (c = f.ReadChar()) != undefined) { ... }
ReadLine() Description
Reads a line from a file opened for reading by a File object. To enable this function to be as fast as possible a maximum line length of 256 characters is used. If you expect a file to have lines longer than 256 characters then use ReadLongLine which allows lines of any length.
Arguments
No arguments
Return type
string read from file or undefined if end of file
Page J.30
T/HIS
Example
Loop, reading lines from File object f. var line; while ( (line = f.ReadLine()) != undefined) { ... }
ReadLongLine() Description
Reads a line from a file opened for reading by a File object. The line can be any length. If your file has lines shorter than 256 characters then you may want to use ReadLine instead which is faster.
Arguments
No arguments
Return type
string read from file or undefined if end of file
Example
Loop, reading lines from File object f. var line; while ( (line = f.ReadLongLine()) != undefined) { ... }
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to write
Return type
No return value
Example
To write string "Hello, world!" to File object f f.Write("Hello, world!\n"); To write the title of model m to File object f f.Write("The title of model 2 is " + m.title + "\n");
Page J.31
T/HIS
Arguments
Name Type Description
string Any valid javascript type The string/item that you want to write
Return type
No return value
Example
To write string "Hello, world!" to File object f automatically adding a carriage return f.Writeln("Hello, world!"); To write the title of model m to File object f automatically adding a carriage return f.Writeln("The title of model 2 is " + m.title);
Page J.32
T/HIS
Graph class
The Graph class gives you access to graphs in T/HIS. More...
Class functions
Total()
Graph properties
Name Type id Description
Detailed Description
The Graph class contains information on the number of graphs. See the documentation below for more details.
Constructor
new Graph(index[integer]) Description
Create a new Graph.
Arguments
Name Type Description
index integer Graph index to copy initial display and axis settings from (optional). If not defined then the display and axis settings will be copied from those defined in the preference file.
Return type
Graph object
Example
To create a new graph and copy all of the setting from graph 2 var l = new Graph(2);
Details of functions
Total() [static] Description
Returns the total number of graphs.
Arguments
No arguments
Return type
integer Page J.33
T/HIS
Example
To find how many graphs there are in T/HIS: var num = Graph.Total();
Page J.34
T/HIS
Group class
The Group class gives you access to groups in T/HIS. More...
Class functions
Get(Name[string]) GetFromID(ID[integer]) Total()
Member functions
Add(Curve[Curve]) AddAll() AddID(ID[integer]) Contains(Curve[Curve]) ContainsID(ID[integer]) GetCurveIDs() GetCurves() Remove(Curve[Curve]) RemoveAll() RemoveID(ID[integer]) Spool() SpoolID() StartSpool()
Group properties
Name Type Description
curves integer Number of curves in the group (read only) name string Group name (read only)
Detailed Description
The Group class allows you to create, and modify groups. See the documentation below for more details.
Constructor
new Group(name[string]) Description
Create a new Group object.
Arguments
Name Type Description name string Group name used to reference the group
Return type
Group object
Example
To create a new group with the name X-Velocity var l = new Group("X-velocity");
Page J.35
T/HIS
Details of functions
Add(Curve[Curve]) Description
Adds a curve object to group.
Arguments
Name Type Description Curve Curve Curve that will be added to group
Return type
No return value.
Example
To add curve c to curve group g: g.Add(c);
AddAll() Description
Adds all curves to group.
Arguments
No arguments
Return type
No return value.
Example
To add all curves to curve group g: g.AddAll();
AddID(ID[integer]) Description
Adds curve by ID to a group.
Arguments
Name Type ID Description
Page J.36
T/HIS
Return type
No return value.
Example
To add curve 3 to curve group g: g.AddID(3);
Contains(Curve[Curve]) Description
Checks if a curve object is in a curve group.
Arguments
Name Type Description Curve Curve Curve that will be checked
Return type
TRUE if the curve is in the group, otherwise FALSE
Example
To check if a curve object n is in group g var exists = g.Contains(n);
ContainsID(ID[integer]) Description
Checks if a curve ID is in a curve group.
Arguments
Name Type ID Description
Return type
TRUE if the curve is in the group, otherwise FALSE
Example
To check if a curve ID n is in group g var exists = g.ContainsID(n);
Page J.37
T/HIS
Arguments
Name Type Description Name string Name of the group to return object for
Return type
Group object (or Null if the group does not exist).
Example
To get the group called left var group = Group.Get("left");
GetCurveIDs() Description
Returns an array of Curve IDs for all the Curves in the group.
Arguments
No arguments
Return type
Array of Curve IDs.
Example
To make an array of Curve IDs for all the curves in group g: var curves = g.GetCurveIDs();
GetCurves() Description
Returns an array of Curve Objects for all the Curves in the group.
Arguments
No arguments
Return type
Array of Curve objects.
Page J.38
T/HIS
Example
To make an array of Curve objects for all the curves in group g: var curves = g.GetCurves();
Arguments
Name Type ID Description
Return type
Group object (or Null if the group does not exist).
Example
To get the group number 1 var group = Group.GetFromID(1);
Remove(Curve[Curve]) Description
Removes a curve object from a group.
Arguments
Name Type Description Curve Curve Curve that will be removed from group
Return type
No return value.
Example
To remove curve c from curve group g: g.Remove(c);
RemoveAll() Description
Removes all curves from a group.
Page J.39
T/HIS
Arguments
No arguments
Return type
No return value.
Example
To remove all curves from curve group g: g.RemoveAll();
RemoveID(ID[integer]) Description
Remove a curve by from a group.
Arguments
Name Type ID Description
Return type
No return value.
Example
To remove curve 3 from curve group g: g.RemoveID(3);
Spool() Description
Spools a group, entry by entry and returns the curve objects. See also Group.StartSpool
Arguments
No arguments
Return type
Curve Object of item, or NULL if no more curves in group
Example
To spool group g: var id; g.StartSpool(); while (id = g.Spool() ) { do something... }
Page J.40
T/HIS
SpoolID() Description
Spools a group, entry by entry and returns the curve IDs. See also Group.StartSpool
Arguments
No arguments
Return type
Curve ID, or 0 if no more curves in group
Example
To spool group g : var id; g.StartSpool(); while (id = g.SpoolID() ) { do something... }
StartSpool() Description
Starts a group spooling operation. See also Group.Spool
Arguments
No arguments
Return type
No return value
Example
To start spooling group g: g.StartSpool();
Arguments
No arguments
Return type
Number of curve groups currently defined.
Page J.41
T/HIS
Example
To get the number of curve groups var total = Group.Total();
Page J.42
T/HIS
LineStyle class
The LineStyle class contains constants relating to the curve line style. More...
LineStyle constants
Name LineStyle.DASH Description Dashes lines
LineStyle.DASH2 Dash pattern 2 LineStyle.DASH3 Dash pattern 3 LineStyle.DASH4 Dash pattern 4 LineStyle.DASH5 Dash pattern 5 LineStyle.DASH6 Dash pattern 6 LineStyle.NONE No line
Detailed Description
The LineStyle class is used to define the line style used to draw curves: p.style = LineStyle.SOLID;
Page J.43
T/HIS
LineWidth class
The LineWidth class contains constants relating to the curve line width. More...
LineWidth constants
Name LineWidth.BOLD LineWidth.FINE LineWidth.HEAVY Description Bold lines (4 pixels wide) Fine lines (1 pixel wide) Heavy lines (8 pixels wide)
Detailed Description
The LineWidth class is used to define the line width used to draw curves: p.width = LineWidth.NORMAL;
Page J.44
T/HIS
Model class
The Model class gives you access to models in T/HIS. More...
Class functions
Exists() GetFromID() HighestID() Total()
Model properties
Name Type dir id title string Description Directory containing the model file (read only).
Detailed Description
The Model class contains information on filenames and directories belonging to a model. See the documentation below for more details.
Details of functions
Exists() [static] Description
Checks if a model exists
Arguments
No arguments
Return type
TRUE if the model exists, otherwise FALSE
Example
To check if a model n exists var exists = Model.Exists(n);
Arguments
No arguments
Page J.45
T/HIS
Return type
Model object (or null if there are no free models).
Example
To get the model n var model = Model.GetFromID(n);
Arguments
No arguments
Return type
ID of highest model currently being used.
Example
To get the highest model ID var id= Model.HighestID();
Arguments
No arguments
Return type
integer
Example
To find how many models there are in T/HIS: var num = Model.Total();
Page J.46
T/HIS
Symbol class
The Symbol class contains constants relating to curve symbols. More...
Symbol constants
Name Symbol.CIRCLE Symbol.CROSS Symbol.DIAMOND Symbol.DOT Description Circle symbol Cross symbol Diamond symbol Dot symbol
Symbol.HOURGLASS Hourglass symbol Symbol.NONE Symbol.SQUARE Symbol.STAR Symbol.TRIANGLE No symbol Square symbol Star symbol Triangle symbol
Detailed Description
The Symbol class is used to define the symbol style used by curves: p.symbol = Symbol.TRIANGLE;
Page J.47
T/HIS
Units class
The Units class contains constants relating to curve units. More...
Class functions
USER(mass[float], time[float], length[float], angle[float], temperature[float])
Units constants
Name Units.ACCELERATION Units.AREA Units.DENSITY Units.DISPLACEMENT Units.ENERGY Units.ENERGY_DENSITY Units.FLUX Units.FORCE Units.FORCE_WIDTH Units.FREQUENCY Units.LENGTH Units.MASS Units.MASS_FLOW Units.MOMENT Units.MOMENTUM Units.MOMENT_WIDTH Units.NONE Units.POWER Units.PRESSURE Units.ROTATION Units.ROTATIONAL_VELOCITY Units.STRAIN Units.STRESS Units.TEMPERATURE Units.TIME Units.UNKNOWN Units.VELOCITY Units.VOLUME Units.WORK Description Acceleration units Area units Density units Displacement units Energy units Energy Density units Thermal Flux units Force units Force per unit width units Frequency units Length units MAss units Mass Flow rate units Moment units Momentum units Moment per unit width units No units Power units Pressure units Rotation units Rotational Velocity units Strain units Stress units Temperature units Time units Unknown units Velocity units Volume units Work units
Page J.48
T/HIS
Detailed Description
The Units class is used to define the units for each axis of a curve: p.x_axis_units = Units.LENGTH
Details of functions
USER(mass[float], time[float], length[float], angle[float], temperature[float]) [static] Description
Setup a user defined UNIT
Arguments
Name mass time length angle Type Description float Power for mass dimensions. float Power for time dimensions. float Power for length dimensions. float Power for angle dimensions.
Return type
0 (user defined)
Example
To set the y-axis unit of curve l to (m/s)^2: l.y_unit = Units.USER(0.0,2.0,-2.0,0.0,0.0);
Page J.49
T/HIS
UnitSystem class
The UnitSystem class contains constants relating to curve unit systems. More...
UnitSystem constants
Name Description
UnitSystem.U1 U1 unit system (m,ks,s) UnitSystem.U2 U2 unit system (mm,T,s) UnitSystem.U3 U3 unit system (mm,kg,ms) UnitSystem.U4 U4 unit system (mm,gm,ms) UnitSystem.U5 U5 unit system (ft,slug,s) UnitSystem.U6 U6 unit system (m,T,s)
Detailed Description
The UnitSystem class is used to define the Unit System for a curve: p.UnitSystem = UnitSystem.U1
Page J.50
T/HIS
Widget class
The Widget class allows you to create components for a graphical user interface. More...
Class functions
CtrlPressed() ShiftPressed()
Member functions
Circle(colour[constant], fill[boolean], xc[integer], yc[integer], radius[integer]) Clear() DumpImageString(filename[string]) Hide() Line(colour[constant], x1[integer], y1[integer], x2[integer], y2[integer]) Polygon(colour[constant], fill[boolean], x1[integer], y1[integer], x2[integer], y2[integer], ... xn[integer], ... yn[integer]) ReadImageFile(filename[string], justify (optional)[constant]) ReadImageString(string[string], justify (optional)[constant]) Rectangle(colour[constant], fill[boolean], x1[integer], y1[integer], x2[integer], y2[integer]) Show() WidgetItems()
Widget constants
Name Widget.BUTTON Description Button widget
Widget.CHECKBOX Checkbox widget Widget.COMBOBOX Combobox widget Widget.LABEL Widget.TEXTBOX Label widget Text input widget
Widget.BOTTOM Bottom justification Widget.CENTRE Centre (horizontal) justification Widget.LEFT Left justification
Widget.MIDDLE Middle (vertical) justification Widget.RIGHT Widget.TOP Right justification Top justification
Page J.51
T/HIS Widget.DARKGREY Widget.DARKRED Widget.DEFAULT Widget.GREEN Widget.GREY Widget.LIGHTGREY Widget.MAGENTA Widget.RED Widget.WHITE Widget.YELLOW Colour dark grey Colour dark red Default colour for widgets Colour green Colour grey Colour light grey Colour magenta Colour red Colour white Colour yellow
Widget properties
Name active background Type logical constant Description If widget is active (true) or disabled (false) Widget background colour. Can be: Widget.BLACK, Widget.WHITE, Widget.RED, Widget.GREEN, Widget.BLUE, Widget.CYAN, Widget.MAGENTA, Widget.YELLOW, Widget.DARKRED, Widget.DARKGREEN, Widget.DARKBLUE, Widget.GREY, Widget.DARKGREY, Widget.LIGHTGREY or Widget.DEFAULT Widget bottom coordinate Widget foreground colour. Can be: Widget.BLACK, Widget.WHITE, Widget.RED, Widget.GREEN, Widget.BLUE, Widget.CYAN, Widget.MAGENTA, Widget.YELLOW, Widget.DARKRED, Widget.DARKGREEN, Widget.DARKBLUE, Widget.GREY, Widget.DARKGREY, Widget.LIGHTGREY or Widget.DEFAULT Widget hover text Height of widget image (pixels) Width of widget image (pixels) Widget justification. Can be: Widget.LEFT, Widget.RIGHT or Widget.CENTRE (default). Widget left coordinate Width of lines when drawing graphics (initially 1; values 1-255 allowed). Function to call when the text in a TEXTBOX widget or the selection in a COMBOBOX widget is changed. The Widget object is accessible in the function using the this keyword (see the example below for more details of how to define the function and how to use the this keyword). To unset the function set the property to null. Note that this function is called when the user actually types something into the textbox, or selects an item in the combobox, NOT when the Widget.text property changes. Function to call when a BUTTON, CHECKBOX or COMBOBOX widget is clicked. The Widget object is accessible in the function using the this keyword (see the example below for more details of how to define the function and how to use the this keyword). To unset the function set the property to null. Note that this function is called when the user actually clicks on the button, NOT when the Widget.pushed property changes. For the COMBOBOX widget the function is called before the list of items is mapped.
bottom foreground
integer constant
hover imageHeight (read only) imageWidth (read only) justify left lineWidth onChange
onClick
function
Page J.52
User manual Version 10.0, June 2011 onTimer function Function to call for a widget when timerDelay ms have elapsed after setting this. Additionally if timerRepeat is set this function will be called repetitively, every timerDelay ms. The Widget object is accessible in the function using the this keyword. To unset the function set the property to null. Note that as soon as this property is set the timer starts!
T/HIS
logical integer WidgetItem object string integer logical logical integer integer
If widget is pushed (true) or not (false). This only affects Widget.BUTTON with the Widget.toggle property set, and Widget.CHECKBOX widgets. Widget right coordinate WidgetItem that is currently selected for a ComboBox Widget. Widget text. For a ComboBox Widget this will be the text for the currently selected WidgetItem Delay in ms before the function set for onTimer will be called. The initial value is 1000 (ms). Also see timerRepeat. If the function set for onTimer will be called once (false) or repeatedly (true). The initial value is false. Also see timerDelay. If widget can be toggled (true) or not (false). This only affects Widget.BUTTON widgets. Widget top coordinate X resolution of button when drawing lines, circles, polygons and rectangles (initially 100). X coordinates on the Widget can be from 0 (on the left of the widget) to xResolution (on the right of the widget). Available for Widget.LABEL and Widget.BUTTON Widgets. Y resolution of button when drawing lines, circles, polygons and rectangles (initially 100). Y coordinates on the Widget can be from 0 (on the top of the widget) to yResolution (on the bottom of the widget). Available for Widget.LABEL and Widget.BUTTON Widgets.
yResolution
integer
Detailed Description
The Widget class allows you to create Widgets (buttons, textboxes etc) in a Window for a graphical user interface. Callback functions can be declared for widgets to give actions when a button is pressed or the text in a textbox is selected etc. The following example displays various widgets in a window. Several callback methods are used. The exit button allows the user to exit the script but the button is only made active if the checkbox widget is ticked. If the button widgets are pressed feedback is given to the user var count = 0; // Create window var w = new Window("Test", 0.8, 1.0, 0.5, 0.6); // Create all of the widgets var l = new Widget(w, Widget.LABEL, 1, 30, 1, 7, "Text:"); var t = new Widget(w, Widget.TEXTBOX, 31, 80, 1, 7, "Enter text"); var b = new Widget(w, Widget.BUTTON, 1, 30, 8, 14, "Press me"); var b2= new Widget(w, Widget.BUTTON, 31, 61, 8, 14, "Dont press me"); var c = new Widget(w, Widget.CHECKBOX,62, 68, 8, 14); var l2= new Widget(w, Widget.LABEL, 1, 80, 15, 21, "You havent pressed the button yet..."); var e = new Widget(w, Widget.BUTTON, 1, 21, 22, 28, "Exit"); // Allow button widget b2 to toggle b2.toggle = true; // The exit button is initially inactive e.active = false; // Assign the callback functions b.onClick = clicked; b2.onClick = clicked; c.onClick = clicked; t.onChange = changed; e.onClick = confirm_exit; // Show the window and start event loop w.Show(); //////////////////////////////////////////////////////////////////////////////// function clicked() Page J.53
T/HIS
{ // If checkbox is clicked then set the state of the exit button if (this === c) { Message("Checkbox clicked"); e.active = c.pushed; } // If the "Dont press me button is pressed then change the colour if the button is pressed in. else if (this === b2) { Message("I said dont press!!!"); if (b2.pushed) b2.background = Widget.WHITE; else b2.background = Widget.DEFAULT; } // If the "Press me" button is pressed then update the text in the label widget // with how many times the button has been pressed. else { Message("You pressed..."); count++; l2.text = "Button pressed " + count + " times"; } } //////////////////////////////////////////////////////////////////////////////// function changed() { // If the user has changed the text in the textbox then give a message in // the dialogue box Message("Text has changed to " + this.text); } //////////////////////////////////////////////////////////////////////////////// function confirm_exit() { // Map confirm box var ret = Window.Question("Confirm exit", "Are you sure you want to quit?"); // If the user has answered yes then exit from the script. if (ret == Window.YES) Exit(); } Graphics (lines, circles, rectanges etc) can be drawn on Widget.LABEL and Widget.BUTTON widgets. If these methods are used the resolution of the widget is 100 units in x and y and the origin is at the top left of the widget. See the documentation below and the WidgetItem and Window classes for more details.
Constructor
new Widget(window[Window], type[constant], left[integer], right[integer], top[integer], bottom[integer], text (optional for LABEL, BUTTON and TEXTBOX, not required for CHECKBOX and COMBOBOX)[string]) Description
Create a new Widget object.
Page J.54
T/HIS
Arguments
Name window type Type Description
Window Window that widget will be created in constant Widget type. Can be Widget.LABEL, Widget.BUTTON, Widget.CHECKBOX or Widget.COMBOBOX or Widget.TEXTBOX. integer integer integer integer string left coordinate of widget right coordinate of widget top coordinate of widget bottom coordinate of widget Text to show on widget
left right top bottom text (optional for LABEL, BUTTON and TEXTBOX, not required for CHECKBOX and COMBOBOX)
Return type
Widget object
Details of functions
Circle(colour[constant], fill[boolean], xc[integer], yc[integer], radius[integer]) Description
Draws a circle on the widget. Only possible for Widget.LABEL and Widget.BUTTON widgets. The coordinates are local to the Widget, not the Window. See properties xResolution and yResolution for more details.
Arguments
Name Type Description
colour constant Colour of circle. See foreground for colours. fill xc yc boolean If circle should be filled or not. integer integer x coordinate of centre of circle. y coordinate of centre of circle. radius of circle.
radius integer
Return type
no return value
Example
To draw a red filled circle, radius 25, at (50, 50) on widget w: w.Circle(Widget.RED, true, 50, 50, 25);
Page J.55
T/HIS
Clear() Description
Clears any graphics on the widget. Only possible for Widget.LABEL and Widget.BUTTON widgets.
Arguments
No arguments
Return type
no return value
Example
To clear any graphics for widget w: w.Clear();
Arguments
No arguments
Return type
true/false
Example
To test if someone has the Ctrl key pressed: if (Widget.CtrlPressed()) { ... }
DumpImageString(filename[string]) Description
Dumps a string representation of an image for a widget to a file in a form that can be used by Widget.ReadImageString(). Only possible for Widget.LABEL and Widget.BUTTON widgets.
Arguments
Name Type Description
Return type
no return value
Page J.56
T/HIS
Example
To dump the image data to file image_data for widget w: w.DumpImageString(image_data);
Hide() Description
Hides the widget on the screen
Arguments
No arguments
Return type
No return value
Example
To hide widget w w.Hide();
Arguments
Name Type Description
colour constant Colour of line. See foreground for colours. x1 y1 x2 y2 integer integer integer integer x coordinate of start of line. y coordinate of start of line. x coordinate of end of line. y coordinate of end of line.
Return type
no return value
Example
To draw a red line from (10, 90) to (90, 10) on widget w: w.Line(Widget.RED, 10, 90, 90, 10);
Page J.57
T/HIS
Polygon(colour[constant], fill[boolean], x1[integer], y1[integer], x2[integer], y2[integer], ... xn[integer], ... yn[integer]) Description
Draws a polygon on the widget. Only possible for Widget.LABEL and Widget.BUTTON widgets. The coordinates are local to the Widget, not the Window. See properties xResolution and yResolution for more details.
Arguments
Name Type Description
colour constant Colour of polygon. See foreground for colours. fill x1 y1 x2 y2 ... xn ... yn boolean If polygon should be filled or not. integer integer integer integer integer integer x coordinate of point 1. y coordinate of point 1. x coordinate of point 2. y coordinate of point 2. x coordinate of point n. y coordinate of point n.
Alternatively instead of x1, y1 etc you can specify a single argument which is an array of coordinates to use. In either case the number of points (x, y pairs) is limited to 30. Any extra points will be ignored.
Return type
no return value
Example
To draw a red filled triangle with corners (20, 20) and (50, 80) and (80, 20) on widget w: w.Polygon(Widget.RED, true, 20, 20, 50, 80, 80, 20);
Arguments
Name filename justify (optional) Type string Description Image file (BMP, GIF, JPEG or PNG) to read. To remove an image use null.
constant Widget justification. Can be a bitwise or of Widget.LEFT, Widget.RIGHT or Widget.CENTRE and Widget.TOP, Widget.MIDDLE or Widget.BOTTOM. If omitted the default is Widget.CENTRE|Widget.MIDDLE.
Return type
no return value
Page J.58
T/HIS
Example
To read image example.png for widget w and place it at the top left: w.ReadImageFile("example.png", Widget.TOP|Widget.LEFT); To remove an image from widget w: w.ReadImageFile(null);
Arguments
Name string justify (optional) Type string Description String containing the image data previously created by Widget.DumpImageString(). To remove an image use null.
constant Widget justification. Can be a bitwise or of Widget.LEFT, Widget.RIGHT or Widget.CENTRE and Widget.TOP, Widget.MIDDLE or Widget.BOTTOM. If omitted the default is Widget.CENTRE|Widget.MIDDLE.
Return type
no return value
Example
To read image data from string s for widget w and place it at the top left: w.ReadImageString(s, Widget.TOP|Widget.LEFT); To remove an image from widget w: w.ReadImageString(null);
Page J.59
T/HIS
Arguments
Name Type Description
colour constant Colour of rectangle. See foreground for colours. fill x1 y1 x2 y2 boolean If rectangle should be filled or not. integer integer integer integer x coordinate of first corner of rectangle. y coordinate of first corner of rectangle. x coordinate of second (opposite) corner of rectangle. y coordinate of second (opposite) corner of rectangle.
Return type
no return value
Example
To draw a red filled rectangle with corners (20, 20) and (80, 80) on widget w: w.Rectangle(Widget.RED, true, 20, 20, 80, 80);
Arguments
No arguments
Return type
true/false
Example
To test if someone has the Shift key pressed: if (Widget.ShiftPressed()) { ... }
Show() Description
Shows the widget on the screen
Arguments
No arguments
Return type
No return value
Page J.60
T/HIS
Example
To show widget w w.Show();
WidgetItems() Description
Returns an array of the WidgetItem objects used in this Widget (or null if none used)
Arguments
No arguments
Return type
array
Example
To return WidgetItems used for Widget w var wi = w.WidgetItems();
Page J.61
T/HIS
WidgetItem class
The WidgetItem class allows you to create items for combobox Widgets. More...
WidgetItem properties
Name background Type Description
constant Widget background colour. Can be: Widget.BLACK, Widget.WHITE, Widget.RED, Widget.GREEN, Widget.BLUE, Widget.CYAN, Widget.MAGENTA, Widget.YELLOW, Widget.DARKRED, Widget.DARKGREEN, Widget.DARKBLUE, Widget.GREY, Widget.DARKGREY, Widget.LIGHTGREY or Widget.DEFAULT constant Widget foreground colour. Can be: Widget.BLACK, Widget.WHITE, Widget.RED, Widget.GREEN, Widget.BLUE, Widget.CYAN, Widget.MAGENTA, Widget.YELLOW, Widget.DARKRED, Widget.DARKGREEN, Widget.DARKBLUE, Widget.GREY, Widget.DARKGREY, Widget.LIGHTGREY or Widget.DEFAULT logical logical string object If the widget item can be selected (true) or not (false). If the widget item is selected (true) or not (false). Widget text The widget that this item is defined for
foreground
Page J.62
T/HIS
Detailed Description
The WidgetItem class allows you to create items for combobox Widgets in a Window for a graphical user interface. The following example shows how WidgetItems are used to create a Combobox Widget and how to assign callbacks to determine when the selection has been changed. var items = ["D3PLOT", "PRIMER", "SHELL", "REPORTER", "T/HIS"] // Create window var w = new Window("Combobox example", 0.8, 1.0, 0.5, 0.6); // A simple combobox with a few items var cl= new Widget(w, Widget.LABEL, 1, 30, 1, 7, "Programs:"); var cb= new Widget(w, Widget.COMBOBOX, 31, 61, 1, 7); // Add WidgetItems to Combobox for (i=0; i<items.length; i++) var wi = new WidgetItem(cb, items[i]); // A combobox with many items showing a slider. var li= new Widget(w, Widget.LABEL, 1, 30, 8, 14, "Long list:"); var ci= new Widget(w, Widget.COMBOBOX, 31, 61, 8, 14); // Add WidgetItems to Combobox // As an example we also make some of the WidgetItems unselectable and // change the background colour for (i=1; i<=100; i++) { var wi = new WidgetItem(ci, "Item "+i); if ( (i % 10) == 5) { wi.selectable = false; wi.background = Widget.WHITE; } } var e = new Widget(w, Widget.BUTTON, 1, 21, 15, 21, "Exit"); // Assign callbacks cb.onClick = clicked; cb.onChange = changed; ci.onClick = clicked; ci.onChange = changed; e.onClick = confirm_exit // Show the window and start event loop w.Show(); //////////////////////////////////////////////////////////////////////////////// function clicked() { // If combobox is clicked then print the current selection if (this.selectedItem) Message("selection is currently "+this.selectedItem.text+""); } //////////////////////////////////////////////////////////////////////////////// function changed() { // If combobox selection is changed then print the new selection if (this.selectedItem) Message("selection is now "+this.selectedItem.text+""); } //////////////////////////////////////////////////////////////////////////////// function confirm_exit() { // Map confirm box var ret = Window.Question("Confirm exit", "Are you sure you want to quit?"); // If the user has answered yes then exit from the script. if (ret == Window.YES) Exit(); } See the documentation below and the Window and Widget classes for more details.
Page J.63
T/HIS
Constructor
new WidgetItem(widget[Widget], text[string], selectable (optional)[boolean]) Description
Create a new WidgetItem object.
Arguments
Name widget text Type Description
Widget Widget that widget item will be created in string Text to show on widget item
selectable (optional) boolean If the widget item can be selected. If omitted the widget item will be selectable.
Return type
WidgetItem object
Page J.64
T/HIS
Window class
The Window class allows you to create windows for a graphical user interface. More...
Class functions
Error(title[string], error[string], buttons (optional)[constant]) GetDirectory(initial (optional)[string]) GetFile(extension (optional)[string]) GetFilename(title[string], message[string], extension (optional)[string]) GetInteger(title[string], message[string]) GetNumber(title[string], message[string]) GetString(title[string], message[string]) Information(title[string], info[string], buttons (optional)[constant]) Message(title[string], message[string], buttons (optional)[constant]) Question(title[string], question[string], buttons (optional)[constant]) UpdateGUI() Warning(title[string], warning[string], buttons (optional)[constant])
Member functions
Hide() Show(modal (optional)[boolean])
Window constants
Name Window.CANCEL Window.NO Description Show CANCEL button Show NO button
Window.NONMODAL Allow Window.Error, Window.Question, Window.Warning etc windows to be non modal Window.OK Window.YES Show OK button Show YES button
Window properties
Name Type Description title string Window title
Page J.65
T/HIS
Detailed Description
The Window class allows you to make windows that you can place Widgets in to create a graphical user interface. The Widget class also gives a number of static methods for convenience. e.g. Window.GetInteger(). The following very simple example displays some text in a window with a button that unmaps the window when it is pressed and the user confirms that (s)he wants to exit. // Create window with title "Text" from 0.8-1.0 in x and 0.5-0.6 in y var w = new Window("Text", 0.8, 1.0, 0.5, 0.6); // Create label widget var l = new Widget(w, Widget.LABEL, 1, 40, 1, 7, "Press OK to exit"); // Create button widget var e = new Widget(w, Widget.BUTTON, 11, 30, 8, 14, "OK"); // Assign the onClick callback method to the function confirm_exit e.onClick = confirm_exit; // Show the widget and start event loop w.Show(); //////////////////////////////////////////////////////////////////////////////// function confirm_exit() { // Map confirm window var ret = Window.Question("Confirm exit", "Are you sure you want to quit?"); // If the user has answered Yes then exit. if (ret == Window.YES) w.Exit(); } See the documentation below and the Widget class for more details.
Constructor
new Window(title[string], left[float], right[float], bottom[float], top[float]) Description
Create a new Window object.
Arguments
Name Type Description title left right string Window title to show in title bar float float left coordinate of widget in range 0.0 (left) to 1.0 (right) right coordinate of widget in range 0.0 (left) to 1.0 (right) bottom coordinate of widget in range 0.0 (bottom) to 1.0 (top) top coordinate of widget in range 0.0 (bottom) to 1.0 (top)
Return type
Window object
Example
To create a Window Example in the top right half of the screen: var w = new Window(Example, 0.5, 1.0, 0.5, 1.0);
Page J.66
T/HIS
Details of functions
Error(title[string], error[string], buttons (optional)[constant]) [static] Description
Show an error message in a window.
Arguments
Name title error buttons (optional) Type string string Description Title for window. Error message to show in window.
constant The buttons to use. Can be bitwise OR of Window.OK, Window.CANCEL, Window.YES or Window.NO. If this is omitted an OK button will be used. By default the window will be modal. If Window.NONMODAL is also given the window will be non-modal instead.
Return type
Button pressed
Example
To show error Critical error!\nAbort? in window with title Error with Yes and No buttons: var answer = Window.Error("Error", "Critical error!\nAbort?", Window.YES | Window.NO); if (answer == Window.YES) Exit();
Arguments
Name Type Description
Return type
directory (string), (or null if cancel pressed).
Example
To select a directory: var dir = Window.GetDirectory();
Page J.67
T/HIS
Arguments
Name Type Description
Return type
filename (string), (or null if cancel pressed).
Example
To select a file using extension .key: var file = Window.GetFile(".key");
Arguments
Name title message Type Description string Title for window. string Message to show in window.
Return type
filename (string), (or null if cancel pressed).
Example
To create an file input window with title Choose file and message Choose the file to open and return the filename input: var filename = Window.GetFilename("Choose file", "Choose the file to open");
Page J.68
T/HIS
Arguments
Name title Type Description string Title for window.
Return type
value input, (or null if cancel pressed).
Example
To create an input window with title Input and message Input integer and return the value input: var value = Window.GetInteger("Input", "Input integer");
Arguments
Name title Type Description string Title for window.
Return type
value input, (or null if cancel pressed).
Example
To create an input window with title Input and message Input number and return the value input: var value = Window.GetNumber("Input", "Input number");
Arguments
Name title Type Description string Title for window.
Return type
value input, (or null if cancel pressed).
Page J.69
T/HIS
Example
To create an input window with title Input and message Input string and return the value input: var value = Window.GetString("Input", "Input string");
Hide() Description
Hides (unmaps) the window.
Arguments
No arguments
Return type
No return value
Example
To hide window w: w.Hide();
Arguments
Name title info buttons (optional) Type string string Description Title for window. Information to show in window.
constant The buttons to use. Can be bitwise OR of Window.OK, Window.CANCEL, Window.YES or Window.NO. If this is omitted an OK button will be used. By default the window will be modal. If Window.NONMODAL is also given the window will be non-modal instead.
Return type
Button pressed
Example
To show information Information in window with title Example with OK and Cancel buttons: var answer = Window.Information("Example", "Information", Window.OK | Window.CANCEL); if (answer == Window.CANCEL) Message("You pressed the Cancel button");
Page J.70
T/HIS
Arguments
Name title message buttons (optional) Type string string Description Title for window. Message to show in window.
constant The buttons to use. Can be bitwise OR of Window.OK, Window.CANCEL, Window.YES or Window.NO. If this is omitted an OK button will be used By default the window will be modal. If Window.NONMODAL is also given the window will be non-modal instead.
Return type
Button pressed
Example
To show message Press YES or NO in window with title Example with YES and NO buttons: var answer = Window.Message("Example", "Press YES or NO", Window.YES | Window.NO); if (answer == Window.NO) Message("You pressed No");
Arguments
Name title question buttons (optional) Type string string Description Title for window. Question to show in window.
constant The buttons to use. Can be bitwise OR of Window.OK, Window.CANCEL, Window.YES or Window.NO. If this is omitted Yes and No button will be used. By default the window will be modal. If Window.NONMODAL is also given the window will be non-modal instead.
Return type
Button pressed
Example
To show question Do you want to continue? in window with title Question: var answer = Window.Question("Question", "Do you want to continue?"); if (answer == Window.NO) Message("You pressed No");
Page J.71
T/HIS
Arguments
Name modal (optional) Type Description
boolean If this window is modal (blocks the user from doing anything else in PRIMER until this window is dismissed). If omitted the window will be modal. Note that making a window modal will stop interaction in all other windows and may prevent operations such as picking from working in any macros that are run from scripts.
Return type
No return value
Example
To show window w: w.Show();
Arguments
No arguments
Return type
No return value
Example
To force update of GUI: Window.UpdateGUI();
Page J.72
T/HIS
Arguments
Name title warning buttons (optional) Type string string Description Title for window. Warning message to show in window.
constant The buttons to use. Can be bitwise OR of Window.OK, Window.CANCEL, Window.YES or Window.NO. If this is omitted an OK button will be used. By default the window will be modal. If Window.NONMODAL is also given the window will be non-modal instead.
Return type
Button pressed
Example
To show warning Title is blank\nSet to ID? in window with title Warning with Yes and No buttons: var answer = Window.Warning("Warning", "Title is blank\nSet to ID?", Window.YES | Window.NO); if (answer == Window.NO) Message("You pressed No");
Page J.73
T/HIS
Page J.74
T/HIS
UB - Unblank Curve ER - Erase all curves CO - Condense Curves Y2 - Second Y axis SF - Session file (write) / - Top level menu
Page K.1
User manual Version 10.0, June 2011 RE <file> - Read Model Files DA - Read Data from GL <component> - Globa data model PA <id> <component> - Part data NO <id> <component> - Node data SO <id> <component> - Solid data BE <id> <component> - Beam data SH <id> <component> - Shell data TS <id> <component> - Thick Shell data WA <id> <component> - Part data SPR <id> <component> - Spring data SEA <id> <component> - Seatbelt data RET <id> <component> - Retractor data SL <id> <component> - Slipring data CO <id> <component> - Contact data REA <id> <component> - Reaction data AI <id> <component> - Airbag data JO <id> <component> - Joint data SEC <id> <component> - Section data SU <id> <component> - Subsystem data P_G <id> <component> - Part Group data G_C <id> <component> - Geometrical Contact data RI <id> <component> - Rigid Body data SPO <id> <component> - Spotweld data SPC <id> <component> - SPC data FS <id> <component> - Fluid structural interaction data BO <id> <component> - Boundary condition data SPH <id> <component> - SPH data SE - Select Models DE - Delete Models LI - List Models SU - Set Surface CU - Read T/HIS curve file CU_NO - Read T/HIS curve file (ignore any style definitions) BD - Read Bulk data file KW - Read from LS-DYNA KEYWORD input file KY - Input curve from keyboard CSV - Read a CSV file (X,Y,X,Y,X,Y) CSV2 - Read a CSV file (X,Y,|Y,Y,Y,Y) ISO - Read ISO curve data (multiple channels) ISO2 - Read ISO curve data (single channel) WR - Write curve file WA - Write all curves to a T/HIS curve file KEY - Write curves to a LS-DYNA Keyword file CSV - Write curves to a CSV file (X,Y,X,Y,X,Y) CSV2 - Write curves to a CSV file (X,Y,|Y,Y,Y,Y) LI - List curve data on screen RE - Report curve data to file SU - Sumary of curve ST - Status
RE - Read data
WR - Write options
Page K.2
T/HIS ON - Autoscaling on OFF - Autoscaling off DX - Define new x limits (minimum,maximum) XMN - Define new minimum x limit XMX - Define new maximum x limit DY - Define new y limit (min,max) YMN - Define new minimum y limit YMX - Define new maximun y limit 2DY - Define new second y axis limits (min,max) YMN2 - Define new minimum second y limit YMX2 - Define new maximum second y limit ST - Status AU - Use automatic axes labels (both) AX - Use automatic x axis labels AY - Use automatic y axis labels 2AY - Use automatic 2nd y axis labels DX - Define new x axis plot label DY - Define new y axis plot label 2DY - Define new 2nd y axis plot label ST - Status
ON - Turn grid on OFF - Turn grid off AX - Automatic x-axis grid intervals AY - Automatic y-axis grid intervals MX - Manual x-axis grid intervals MY - Manual y-axis grid intervals IX - Define x-axis grid intervals IY - Define y-axis grid intervals OX - Define x-axis grid offset OY - Define y-axis grid offset TH - Define grid line thickness
PR - Prefix Format
ON - Turn model prefix on OFF - Turn model prefix off AUTO - Add prefix if more than one model ID- Model ID DIR - Model directory THF - Root of THF filename USER - User defined
PF - Plot format WX - Window size (x) "pixels" WY - Window size (y) "pixels" RV - Reverse Foregorund / Background FO - Foreground Colour BA - Background Colour CU - Curve through points ON/OFF SY - Symbols ON/OFF BD - Border ON/OFF BW - Border width BC - Border Colour LW - Default line width SMN - Show minimum value SMX - Show maximum value LXMN - Label x value at minimum LYMN - Label y value at minimum LXMX - Label x value at maximum Page K.3
T/HIS
User manual Version 10.0, June 2011 LYMX - Label y value at maximum RE - Reset to defaults ST - Status TI <font> <size> <colour> - Title XL <font> <size> <colour> - X Axis Label XU <font> <size> <colour> - X Axis Units YL <font> <size> <colour> - Y Axis Label YU <font> <size> <colour> - Y Axis Units Y2L <font> <size> <colour> - 2nd Y Axis Label Y2U <font> <size> <colour> - 2nd Y Axis Units LE <font> <size> <colour> - Curve Legend ALL <font> <size> <colour> - All labels F - move Forward next 16 lines B - move Back 16 lines T - move to Top of curve E - move to End of curve n(umber) - move to line n C n - Change line n I n - Insert before line n A n - Append after line n D n1 n2 - Delete from line n1 to n2 L - change Line label R - Reset edited curve back to original W or S - write curve PE - Plot Edited curve PA - Plot Edited And original curve PL - PLot stored T/HIS curves Q - Quit the editor ADX/Y - Add MUX/Y - Multiply SUX/Y - Subtract DIX/Y - Divide CAT - Concatenate 2 curves MAP - Map one curve onto another COM - Combine curves ERR - Error functions INT - Integrate DIF - Differentiate SMO - Smooth LSQ - Least squares fit SQR - Square root NOR - Normalise REC - Reciprocal ABS - Absolute values TRA - Translate REV - Reverse CLP - Clip ZERO - Translate the curve to (0,0) ORDER - Reverse the order of the curve points VEC - Vector magnitude VEC2 - Vector Magnitude (2D) SUM - Sum of n curves ENV - Envelope of n curves MIN - Minimum of n curves MAX - Maximum of n curves AVE - Average of n curves R-AV - Rolling Average of n curves STR - Convert stress/strain curve
FO - Font
OP - Operate
Page K.4
User manual Version 10.0, June 2011 AM - Automotive options C60 - Class 60 filter C180 - Class 180 filter C600 - Class 600 filter C1000 - Class 100 filter BUT - Butterworth filter FIR - FIR filter HIC - HIC value HICD - HIC(d) value CLI - 3ms Clip value EXC - Exceedence Plot VC - Viscous Criteria (ECER95) VC2 - Viscous Criteria (IIHS) ASI - Acceleration Severity Index (BS EN 1317-1:1998) ASI2 - Acceleration Severity Index (BS EN 1317-1:2010) THIV - Theoretical Head Impact Velocity NIJ - Neck Injury TTI - Thoracic Trauma Index NOR - Normalise REG - Regularise VEC - Vector Magnitude VEC2 - Vector Magnitude (2D) ACU - Airbag Control Unit SQRT - Squre Root LOG - Natural Log EXP - e to power of LOG10 - Log to base 10 ** - To raise to power SIN - Sine COS - Cosine TAN - Tangent ASIN - Arc sine ACOS - Arc cosine ATAN - Arc tangent DV - Displacement to velocity spectra DA - Displacement to acceleration spectra VD - Velocity to displacement spectra VA - Velocity to acceleration spectra AD - Acceleration to displacement spectra AV - Acceleration to velocity spectra DS - Produce a design spectrum from a response spectrum RS - Produce response spectra from input accelerations FFT - Fast fourier transformation CL - Colour laser output GL - Greyscale laser output LW - Line width SA - Solid axes (x=0 & y=0 axes solid) RE - Read in style file WR - Write out style file DE - Reset styles to default settings SET - Set a T/HIS line style FIX - Turn fix line styles on/off LA - Set a new curve label TI - Set a new curve title XL - Set a new curve x-axis label YL - Set a new curve y-axis label TA - Set a new curve tag READ - Read a T/HIS group file LIST - List all T/HIS groups DELETE - Delete all T/HIS groups CREATE - Create a new T/HIS group
T/HIS
MA - Maths operations
SE - Seismic options
UT - Utility functions
ST - Line styles
Page K.5
User manual Version 10.0, June 2011 JPEG <file> - Capture a JPEG image BMP_U <file> - Capture an uncompressed Bitmap image BMP_C <file> - Capture a compressed Bitmap image PPM <file> Capture a portable pixmap file REG - Set time interval for automatic curve resularising CONV - Set/unset automatic conversion from ms to s when filtering FILE - Turn on/off output of injury criteria values and error calculations to ASCII files SHOW - Turn on/off display of HIC/ 3ms clip values ZERO - Turn on/off automatic creation of (0,0) point when reading data from ASCII files
Page K.6
T/HIS
Installation organisation
The version 10 installation can be customised to try and avoid a number of issues that often occur in large organisations with many users. Large organisations generally imply large networks, and it is often the case that the performance of these networks can be intermittent or poor, therefore it is common practice to perform an installation of the software on the local disk of each machine, rather then having a single installation on a remote disk. This avoids the pauses and glitches that can occur when running executable files over a network, but it also means that all the configuration files in, or depending upon, the top level "Admin" directory have to be copied to all machines and, more to the point, any changes or additions to such files also have to be copied to all machines. In larger organisations the "one person per computer" philosophy may not apply, with the consequence that users will tend to have a floating home area on a network drive and may not use the same machine every day. This is not usually a problem on Unix/Linux where the "home" directory is tied to the login name not the machine. However on Windows platforms it means that %USERPROFILE%, which is typically on the local C drive of a machine, is not a good place to consider as "home" since it will be tied to a given computer, therefore a user who saves a file in his home directory on machine A may not be able to access it from machine B. In a similar vein placing large temporary files on the /tmp partition (Unix/Linux) or the C: drive (Windows) may result in local disks becoming too full, or quotas exceeded.
This section gives only a brief summary of the installation organisation, and you should refer to the separate Installation Guide if you want to find out more about the details of installation, licensing, and other related issues.
Page L.1
User manual Version 10.0, June 2011 Same as OA_ADMIN_10, provided for backwards compatibility with earlier releases. It is recommended that plain OA_ADMIN, without the _xx version suffix, is not used since otherwise there is no easy way of distinguishing between parallel installations of different releases of the Oasys Ltd software in an installation. If OA_ADMIN_10 is not defined then this non-release specific version is checked.
OA_INSTALL_xx
Optional
(xx =10 for release 10.0, thus OA_ADMIN_10 All executables Installation level oa_pref file
oasys*install_dir: <pathname>
OA_INSTALL
Optional
Same as OA_INSTALL_10. If no "OA_ADMIN_xx" directory is used and all software is simply placed in this "install" directory, which would be typical of a single-user installation, then it is recommended that the _xx version suffix is used in order to keep parallel installations of different releases of the Oasts Ltd software separate on the machine. If OA_INSTALL_10 is not defined then this non-release specific version is checked
oasys*install_dir: <pathname>
OA_MANUALS
Optional
Specific directory for user manuals. If not defined oasys*manuals_dir: then will search in: <pathname> OA_ADMIN_xx/manuals (xx = major version number) OA_INSTALL/manuals Specific "home" directory for user when using Oasys oasys*home_dir: Ltd software. If not defined will use: <pathname> $HOME (Unix/Linux) %USERPROFILE% (Windows) Specific "temporary" directory for user when using oasys*temp_dir: Oasys Ltd software. If not defined will use: <pathname> P_tmpdir (Unix/Linux, typically /tmp) %TEMP% (Windows, typically C:\temp)
OA_HOME
Optional
OA_TEMP
Optional
It will be clear from the table above that no Environment variables have to be set, and that all defaults will revert to pre-9.4 behaviour. In other words users wishing to keep the status quo will find behaviour and layout unchanged if they do nothing. OA_INSTALL_XX Previously the software used the OA_INSTALL (renamed from OASYS) environment variable to locate the directory the software was installed in. On Windows this is no longer required as the software can work out its own installation directory. As this environment variable is no longer required it is recommended that it is removed from machines it is currently set on as in some cases where more than one version has been installed in different directories it can cause problems. On UNIX/LINUX systems the "oasys_10" script that starts the SHELL automatically sets this Environment Variable and passes it to any application started from the SHELL. If you run applications directly from the command line and bypass the SHELL then you should set OA_INSTALL_XX so that the software can locate manuals and other required files.
OA_ADMIN_XX Users wishing to separate configuration and installation directories will be able to do so by making use of the new top level OA_ADMIN_xx directory.
Page L.2
T/HIS
Installation Examples
The following diagrams illustrate how the installation might be organised in various different scenarios.. a) Single user installation on one machine There is no need to worry about separating administration and installation directories, and the default installation of all files in and below the single installation directory will suffice. It is suggested that the _xx version suffix of OA_INSTALL_xx is used in order to keep parallel installations of different releases of the Oassys Ltd software separate on the machine. b) A few machines on a small network, each user has his own machine The top level administration directory can be installed on a network server, possibly also locating the manuals centrally. Each users machine has its own installation directory to give good performance, but there is no need to manage home or temporary directories centrally since each user owns his machine. If network performance is good an alternative would be to install executables on the central server, meaning that local OA_INSTALL directories are not required.
c) Large corporate network There is no need to worry about separating administration and installation directories, and the default installation of all files in and below the single installation directory will suffice.
Page L.3
T/HIS
oasys*home_dir: <pathname for home directory> oasys*temp_dir: <pathname for temporary files>
} would almost certainly be unchanged between major } versions, although they could be different if desired
Pathnames in the oa_pref file may contain environment variables which will be resolved before being applied.
The rules for reading these files are: If a given directory does not exist, or no file is found in that directory, then no action is taken. This is not an error. A more recently read definition supersedes one read earlier, therefore "local" definitions can supersede "global" ones (unless it was locked ). If two of more of the directories in the table above are the same then that file is only read once from the first instance.
primer*maximise: true
Page L.4
User manual Version 10.0, June 2011 primer#maximise: true Locked case using "#"
T/HIS
These changes may be made either by editing the file manually, or by using the preferences editor.
Page L.5