Automatic Tosca Structure.smooth Run

SIMULIA Tosca Structure will automatically call Tosca Structure.smooth if the parameter file contains a SMOOTH command.

SIMULIA Tosca Structure control will add the following lines (in bold) to the SMOOTH command if missing:

SMOOTH
 ID_NAME = <some_id_name>
 ...
 MODEL = SAVE.onf/<fe_input_file>_fem.onf
 RESULT = SAVE.onf/<last_result>.onf
 GROUP_FILE = SAVE.onf/groups.onf
 OUTPUT_FILE = TOSCA_POST/<smooth_id_name>.ext
END_

The modified SMOOTH command is written to a file <jobname>_ post_000.par in the working directory. After the optimization, Tosca Structure.smooth is called by SIMULIA Tosca Structure control with this parameter file. After optimization, a user may want to generate a Tosca Structure.smooth result with different parameters. This is done by changing the parameters in the parameter file (<jobname>.par) and calling SIMULIA Tosca Structure as follows:

tosca <jobname> --smooth

A new smooth file will be generated (<jobname>_post_<nnn>.par) and Tosca Structure.smooth will be called with the modified parameters using the optimization results from last optimization. Each time Tosca Structure.smooth is called a new post-file is created (<jobname>_ post_<nnn>.par). To avoid this behavior use overwrite (--ow):

tosca <jobname> --smooth --ow

in which case the post-file (<jobname>_post.par) is overwritten for each call.

Important:

Using --ow and --smooth together will not overwrite the job directory.

Configuring Default Tosca Structure.smooth Run

In case no SMOOTH-command is defined in the input files you can configure SIMULIA Tosca Structure to look for a default SMOOTH-macro by uncommenting the line in tosca_ctrl.cfg:

$smooth_default_file = "smooth_template";

Templates are found in the installation directory <tosca> in the directory macros

  • <tosca>/macros/smooth_template_bead.mac
  • <tosca>/macros/smooth_template_shape.mac
  • <tosca>/macros/smooth_template_topo.mac

For more information about macro-files, see CONFIG.