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
|