B-SIM V2.5 Reference - Blow molding simulation


 

HTML report template


B-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 B-SIM can be selected in Configuration.

The report templates coming with B-SIM

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

Creating user-defined report templates with B-SIM
Arbitrary number of user-defined report templates can be created. The template file is an ordinary HTML-formatted file, containing specific strings identifying B-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 B-SIM version (2.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 B-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 B-SIM variables which can be used in the user-defined template files.

List of B-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

Parison/preform 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)

FEM grid (parison / preform) details

fem_number_of_elements

Number of elems on FEM grid

fem_number_of_nodes

Nnumber of nodes on FEM grid

fem_min_x

Initial FEM grid min x

fem_min_y

Initial FEM grid min y

fem_min_z

Initial FEM grid min z

fem_max_x

Initial FEM grid max x

fem_max_y

Initial FEM grid max y

fem_max_z

Initial FEM grid max z

fem_min_x_def

Final FEM grid min x

fem_min_y_def

Final FEM grid min y

fem_min_z_def

Final FEM grid min z

fem_max_x_def

Final FEM grid max x

fem_max_y_def

Final FEM grid max y

fem_max_z_def

Final FEM grid 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 FEM grid 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 FEM grid 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 FEM grid 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_explanar_final Creates WRL file with the final planar extension profile on FEM grid 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 FEM grid 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.