3
back to contents Reporter - Introduction Reporter offers automatic extraction of results and generation of report files from LS-DYNA output files –Integration of several scripts and command files into single report –Reports can be generated for a series of analyses –Accessed through Oasys shell, or typing the executable name (unix) or by double-clicking the executable or its icon (PC)

9
back to contents Creating a Template File Create a new template by selecting New from File menu or the New File icon Preference settings Page size / orientation

10
back to contents Creating a Template: Text To insert text, 1) select text box icon or Text.. from drop down menu 2) Click on page at desired location 3) Text properties 4) Enter text and press OK This cross is at the point where you clicked (see Justify settings in text box menu

11
back to contents Creating a Template: Editing objects To move/resize an object, first right-click the object to make the yellow drag handles appear. Then use the drag handles or drag the object Right click an object, edit Enter updated text

12
back to contents Variables Variables can be any character or numerical data Can change the variable values before generating a report Used to globally substitute throughout a report (e.g. analysis name and directory, allowing the whole report to be generated quickly for different models Variables can be created by and exchanged with external programs –FAST-TCF scripts for T/HIS –D3Plot command files –Library programs and scripts –User-written programs Managed through a single menu Examples: –Titles –File or directory names –Numerical values from input/output files –Maxima/minima etc from graphs –Node/element ID in FAST-TCF scripts

20
back to contents D3PLOT Object: Capturing D3PLOT command file now embedded within template Right click on object to edit Job file automatically uses the DEFAULT_DIR and DEFAULT_JOB variables if they match the file opened.

21
back to contents D3PLOT Object: Generating Right click on object, then Generate. Or, to generate the whole report, press CTRL-G or File=>Generate Select Presentation mode to view resulting output

22
back to contents D3PLOT Object: Copy / Paste Paste copied object using Ctrl- V or Edit->Paste, or right click at a specific location Copy an existing object through right click, Ctrl-C or Edit->Copy

23
back to contents D3PLOT Object: modifying the picture Pressing Capture for an existing object: re-opens D3PLOT with the chosen view Perform additional operations in D3PLOT and return to Reporter

24
back to contents D3PLOT Object: Output Right click Generate on newly created object Switch to Presentation view to see resulting output Ctrl-G generates the full report

25
back to contents T/HIS graphs – using FAST-TCF Select T/HIS object and screen drag an area Load an existing FAST-TCF script …... or press Capture to start T/HIS

26
back to contents FAST-TCF Object: Capturing Perform T/HIS operations as normal to achieve desired plot. The graph may show one or many curves. Once finished, select Return to Reporter in drop down File menu

27
back to contents FAST-TCF Object: Creating FASTTCF script now embedded within template Press Capture again if you want to modify the graph Analysis path should usually be replaced with a variable

28
back to contents FAST-TCF Object: Editing Additional commands from a second Capture are automatically appended to script Save script for use outside Reporter

30
back to contents FASTTCF Objects: Variables Variables can be created within the FASTTCF script: this line is typed manually into the script (see section on FAST-TCF syntax in the T/HIS manual). It finds the maximum value on the curve with tag forcekn and stores it in a variable MAX_FORCE Variable reference within text box

32
back to contents Image Objects Three further methods of inserting an image: –Standard image Any existing bitmap, jpeg or gif image –Image File Named image file to be inserted when generating the report –Library Image Image from Reporters library, e.g. company logo

34
back to contents Library Programs Reporter has a library of programs to extract information from the LS- DYNA keyword and printed output files (*.key, *.otf or d3hsp) Select library tool icon and drag across a suitable screen area (OTF file =d3hsp file)

35
back to contents Library Programs: Inserting Expand / contract list Arguments passed to program – e.g. for d3hsp file this should be %DEFAULT_DIR%/d3hsp OK to insert selected program Select program

36
back to contents Library Programs: Formating Can apply conditional formatting based on output

37
back to contents Library Programs: Generating Select and right click Generate to execute program Select Presentation mode to view resulting output Conditional formating Switch back to Template mode to continue editing the template

38
back to contents Library Programs: Generating Create a summary table by inserting several library programs

39
back to contents Ordering Objects When generating a report, Reporter processes objects in order. If a variable is created by object A and used in object B, then object A must be generated before object B. Use to adjust the order of an object E.g. text object using variable MAX_FORCE must occur after FAST-TCF object that created the variable

41
back to contents Lining up objects neatly When in presentation mode, click the Selector tool, then click on an object and drag or nudge. Another method is to use the geometry data (corner coordinates and size) in the Object Edit menu to set several objects to have the same X or Y coordinates and size.

42
back to contents Error Log The Logfile records all operations executed by Reporter with associated warnings and errors. It can be useful for debugging templates Errors/warnings appear in red Search for next error or warning

43
back to contents Comparing two or more models Pictures and graphs comparing two (or more) models can be made. First, create a new variable for the directory of the second model (e.g. BASE_DIR) If using OASYS filenames (jobname.thf, jobname.ptf, etc), create a new variable for the second model name (e.g. BASE_JOB) Now capture graphs and pictures in the normal way; when in T/HIS or D3PLOT, open two (or more) models and create the desired pictures or graphs.

44
back to contents In D3PLOT, use File=>Open new model to open the second model. Window=>Edit Window can be used to control which models appear in which windows, and change the colour of each model. File=> return to Reporter as before. Comparing two or more models

45
back to contents The Job file text box now shows a list of the models opened by D3PLOT. Use the left/right arrow keys to scroll through the text box. Change the directories shown to %DEFAULT_DIR% and %BASE_DIR% Now, by editing the variables BASE_DIR and DEFAULT_DIR, any two models may be compared. Comparing two or more models

46
back to contents In T/HIS, use Read=>LSDYNA and New Model to open two (or more) models. Perform any necessary operations to display the desired graph. File => return to Reporter as before As with the D3PLOT object, the Job File text box now contains a list of models. Change the directories to %BASE_DIR% and %DEFAULT_DIR% as before. Comparing two or more models

47
back to contents Saving / Exporting Save Reporter template file (*.ort): contains all the information required to generate a report Write a Reporter report file (*.orr): same as template file, but also includes pictures and graphs generated during the current session, i.e. the report can be viewed in Reporter without needing to re-generate

48
back to contents Saving / Exporting Postscript: better definition for printing. Viewable in Ghostscript. File may be large. PDF: Adobe Acrobat format. Can be printed. Html: suitable for on-line usage. Powerpoint VBA: a Visual Basic macro - run macro to generate powerpoint version of report (this is available on any computer) Powerpoint: generate a powerpoint file directly. This can be done only on a PC that has Powerpoint installed

49
back to contents Running in Batch Reporter can be run in batch mode using the following command line options

50
back to contents Running in Batch Example: (path)/reporter92.exe –batch –file=(path)/example.ort –varDEFAULT_DIR=/data/example/RUN1 –pdf=(path)/example.pdf –exit In this example, the LS-DYNA results in directory /data/example/RUN1 will be processed using Reporter template example.ort, and the report saved to a pdf file named example.pdf. Reporter will then exit. When the path includes spaces (on PCs), it should be enclosed by quote marks, e.g. C:\Documents and Settings\example -batch indicates that Reporter should not ask questions or expect any interaction with the user. Reporter still displays the images on-screen during report generation when in batch mode.

51
back to contents Unicode Characters If your computer has Unicode fonts (e.g. Chinese, Japanese, Korean), these characters may be included in Text objects and Variables, displayed in Reporter, and written to all output formats except postscript.

52
back to contents Advanced Topics: User Written Program Insert a program object Select a user written external program (can be a script written in Perl, Python etc or be an executable). The output to stdout from the program will be displayed Define arguments required by program

53
back to contents Advanced topics: D3PLOT added commands Add extra command-file lines to a D3PLOT object through the Edit button. This is rarely needed – all the necessary commands are stored automatically while Capturing. Load existing command files, add further commands to automatically-generated command files, or save a file for use outside Reporter

59
back to contents Advanced Topics: Blob plots Variable values (e.g. HIC) and corresponding X,Y & Z co-ordinates extracted from all analyses contained within root directory. Each blob represents one analysis. This requires two objects: (1) A library script that creates a data file, and (2) A D3PLOT object that reads and displays the data

61
back to contents D3PLOT data file library program Insert a D3PLOT object and select the data file generated by the library program Press Capture to load D3PLOT using the data file Advanced Topics: Blob plots