T-SIM V4.5 Reference




HTML report template


T-SIM comes with two templates, generating a basic and an extended report. Moreover, any HTML file with a specific format cam be used as the template. This allows users to create HTML reports according to their needs.

The report template actually used by T-SIM can be selected in Configuration.

The report templates coming with T-SIM

Two report templates are available. Click on the template name for detail information:
Basic template (ts_basic.htm)
Extended template (ts_extended.htm)

Creating user-defined report templates with T-SIM
Arbitrary number of user-defined report templates can be created. The template file is an ordinary HTML-formatted file, containing specific strings identifying T-SIM report variables. Every variable name used in the report template must be enclosed in two '$'. For example the variable for the final average thickness

fem_mean_thickness_def

must be specified as

$fem_mean_thickness_def$
.

Every variable in the template is replaced with the appropriate value during the export file creation process. Any unknown variable names in the template will result in the following text generated in the export: "Unknown variable 'xyz'". This enables an easy identifying of errors in the report template.

Value of variables are in the units system specified in Configuration. It is user's responsibility to use the variables for units description in the report template. The variables representing units in the actual T-SIM version (4.4) are in the following table. Also these variables have to be enclosed in '$' when used (e.g. u_thi has to be specified as $u_thi$).

List of T-SIM variables representing units

Value represents:
Variable containing unit:
Resulting text:
SI
US Customary
Thickness u_thi
mm
inch
Temperature u_temp
°C
°F
Pressure u_press
MPa
psi
Stress u_stress
MPa
MPa

Below is a list of all currently available T-SIM variables which can be used in the user-defined template files.

List of T-SIM export variables

Variable name Description

Basic info variables

report_doc_name

Title of the HTML document

software_version

Software version stamp

date_and_time

Current date and time

project_name

Name of the project file

solver_start_time

When solution started

solver_duration

How long it took

solver_result

Result of solution (OK, instabilities, hardware key problems etc.)

solution_type

Preview or Full solution

Project file variables

sheet_file

Sheet file name*

tool_files

Tool files list*

process_control_file

Process control file name

material_file

Material file name

heat_and_friction_file

Heat and friction file name

project_programmer

Programmer (from Project file)

project_#

# (from Project file)

project_job_number

Job number (from Project file)

project_comments

Comments (from Project file)

Sheet details

fem_number_of_elements

Number of elems on sheet

fem_number_of_nodes

Nnumber of nodes on sheet

fem_min_x

Initial sheet min x

fem_min_y

Initial sheet min y

fem_min_z

Initial sheet min z

fem_max_x

Initial sheet max x

fem_max_y

Initial sheet max y

fem_max_z

Initial sheet max z

fem_min_x_def

Final sheet min x

fem_min_y_def

Final sheet min y

fem_min_z_def

Final sheet min z

fem_max_x_def

Final sheet max x

fem_max_y_def

Final sheet max y

fem_max_z_def

Final sheet max z

fem_mean_thickness

Initial mean thickness

fem_mean_thickness_def

Final mean thickness

fem_mean_temperature

Initial mean temperature

fem_mean_temperature_def

Final mean temperature

fem_mean_thickness_def_without_clamped

Final mean temperature, excluding clamped elems

fem_thickness_nonuniformity_factor

Thickness nonuniformity factor

fem_elems_list_all_with_nod_index

List of elements. Placing this variable to HTML template causes generation of a table with all elements details. Remark: Including this variable to the export template can result in long reports, which take longer to generate and display.

fem_nodes_list_all List of nodes. Placing this variable to HTML template causes generation of a table with all nodes details. Remark: Including this variable to the export template can result in long reports, which take longer to generate and display.
   
VRML, variable profile picture, variable color scale  
$vrml_thi_final Creates WRL file with the final thickness profile on sheet and embeds it into the generated HTML report.
$scale_thi_final Creates a picture with color thickness scale and embeds it into the generated HTML report.
$vrml_temp_final Creates WRL file with the final temperature profile on sheet and embeds it into the generated HTML report.
$scale_temp_final Creates a picture with color temperature scale and embeds it into the generated HTML report.
$vrml_vm_final Creates WRL file with the final von Mises stress profile on sheet and embeds it into the generated HTML report.
$scale_vm_final Creates a picture with color von Mises stress scale and embeds it into the generated HTML report.
$vrml_exx_final Creates WRL file with the final extension in X profile on sheet and embeds it into the generated HTML report.
$scale_exx_final Creates a picture with color extension in X scale and embeds it into the generated HTML report.
$vrml_exy_final Creates WRL file with the final extension in Y profile on sheet and embeds it into the generated HTML report.
$scale_exy_final Creates a picture with color extension in Y scale and embedes it into the generated HTML report.
$vrml_explanar_final Creates WRL file with the final planar extension profile on sheet and embeds it into the generated HTML report.
$scale_explanar_final Creates a picture with color planar extension scale and embeds it into the generated HTML report.
$vrml_LL_final Creates WRL file with the final L1/L2 profile on sheet and embeds it into the generated HTML report.
$scale_LL_final Creates a picture with color L1/L2 scale and embeds it into the generated HTML report.