Ensure that the Tosca Structure variable is known (for example, by using a when working without a graphical user interface). This chapter gives only a brief overview of the basic process and the individual commands. More detailed information regarding the optimization process can be found in (SIMULIA Tosca Structure Control). A quick and very short help is printed using the command: ToscaStructure --help About Logging in Command Shell Logging is always done to
To change log level
ToscaStructure --loglevel <new_level> ... To increase the amount of output to the command shell set the parameter:
ToscaStructure --loglevel_stdout <new_loglevel> Note:
--loglevel must be equal or more verbose than
--loglevel_stdout For example, the following command line shows how to increase the log level to INFO on the
command shell and to DEBUG output into the log file ToscaStructure --loglevel_stdout INFO --loglevel DEBUG ... More information, see Logging About PreprocessingOnce the FE model has been completed and checked, the optimization task must be defined. The parameter files containing these definitions can be created with an editor. This is only recommended when single commands in an existing parameter file need to be modified. Groups and coordinate systems can be defined in the FE-model to simplify the creation of the optimization task. There are some limitations for the parameter file that need to be considered. One line in the parameter file must not exceed 160 characters. The par file should be saved with UTF-8 encoding. When using Unicode characters, this is obligatory. Caution: Because some symbols are composed of multiple characters in UTF-8 encoding, the 160 character limitation can be reached earlier than expected. A more detailed description of the command syntax for parameter files can be found in the SIMULIA Tosca Structure Commands Guide. Tosca Structure.gui
can be started with the command
The start script is located in
Check Run Before starting the optimization, the FE model
(<
ToscaStructure --job <jobname> --solver <solvername> --type test1 (see Testing the Optimization Process). It is worthwhile to make different test runs depending on the optimization task. Once the test run is completed, a visual check of the definition of the optimization task can follow. Start OptimizationThe start script is located in ToscaStructure --job <jobname> --solver <solvername> Further command line options are described in Starting Tosca Structure from Command Line. About Post-ProcessingTosca Structure.report allows the preparation of optimization results for postprocessing using Tosca Structure.view. The optimization results are written by Tosca Structure in a neutral format (ONF). A converting module allows the creation of a report file containing visualization sequences and graphs for specific results. Automatic generation of a visual postprocessing file can be done with the command line option -report; for example: ToscaStructure --job <jobname> --report The above automatically call Tosca Structure.report, which generates a vtfx file in the directory TOSCA_POST after a successful optimization. More details regarding postprocessing can be found in Generation of Post-Processing Data. The vtfx file can be viewed in Tosca Structure.view, which allows visualization of the optimization results by an animation over the iterations of the optimization. The sequences can be created with Tosca Structure.smooth or Tosca Structure.report. Call Tosca Structure.view with the command line:
ToscaStructure --view <jobname>/TOSCA_POST/<vtfx-file> Result TransferTosca Structure.smooth allows the preparation for the transfer of the optimization results into the design process (for more details, see Tosca Structure.smooth). Tosca Structure.smooth is called up in a command shell with the command ToscaStructure --job <jobname> --smooth More details regarding postprocessing can be found in Result Transfer and Validation Run. The vtfx file can be viewed in Tosca Structure.view, which allows visualization of the optimization results by an animation over the iterations of the optimization.
ToscaStructure --view <jobname>/TOSCA_POST/<vtfx-file> |