<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "concept"/><meta name = "abstract" content = "This chapter describes the errors that can occur during the optimization."/><meta name = "description" content = "This chapter describes the errors that can occur during the optimization."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-c-usr-trouble-errDurOpt"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Errors during Optimization</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-c-usr-trouble-errDurOpt">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Errors during Optimization</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3" colspan = "2"><table class = "DocThemeIntro" id = "table12"><tr><td class = "Intro1Only"><p class = "header"><p class = "abstract">
<span class = "shortdesc">This chapter describes the errors that can occur during the
optimization.</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-gen" id = "toc_rg" title = "">General</a></li><li><a href = "#tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-dbErrDir" id = "toc_rg" title = "">DB_ERROR Directory</a></li><li><a href = "#tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-logFile" id = "toc_rg" title = "">Log Files</a></li><li><a href = "#tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-resConFile" id = "toc_rg" title = "">Result Control File</a></li><li><a href = "#tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-screenInfo" id = "toc_rg" title = "">Screen Information</a></li></ul>
</p></td></tr></table></td></tr></table>




<div class = "body conbody">
<div class = "section" id = "tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-gen"><h2 class = "title sectiontitle">General</h2>

<p>During the optimization, different modules (the optimization preprocessor,
the FE solver, the optimization module) generate the control files (log files).
The control program checks the existence and contents of these control
files and consequently determines if the optimization must be continued
or stopped.</p>
</div>

<div class = "section" id = "tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-dbErrDir"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">DB_ERROR Directory</h2>

<p>When the program cancels an optimization, a directory named <code class = "ph codeph">DB_ERROR </code>is created
                in the <code class = "ph codeph">jobname</code> directory to  facilitate the error search. This
                directory contains all files that are necessary to find the error. These include the
                protocol file <code class = "ph codeph">TOSCA_OUT</code> of the optimization and the protocol files
                of the FE solver. In addition, the initial model, parameter file, and all files and
                macros are present in this directory.</p>
</div>

<div class = "section" id = "tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-logFile"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">Log Files</h2>

<p>The most important files used to search for error messages are the
log files (see <a class = "xref" href = "tso-c-usr-control-optPreProc.htm#tso-c-usr-control-optPreProc" title = "Within this section, some preprocessing-related topics are discussed.">Optimization Preprocessing Modules</a>):</p>
<ul class = "ul">
<li class = "li">
                    <code class = "ph codeph">TOSCA_OUT</code> of the optimization: All errors that occur in
                    TOSCA_PREP or TOSCA_OPT are documented in this file; search it for entries
                    containing the words CRITICAL, ERROR, or WARNING.</li>
<li class = "li">authorization.log (see also <a class = "xref" href = "tso-c-usr-control-logging.htm#tso-c-usr-control-logging__tso-c-usr-control-logging-specLogFiles">Special Logfiles</a>) of the authorization
process (located in the start directory of the optimization): configuration
and licensing information is written to this file.</li>
<li class = "li">Solver-specific protocol files (moved to DB_ERROR directory) created
by the solver. The file names depend on the used solver. For more information,
refer to the FE-solver documentation. </li>
</ul>
</div>

<div class = "section" id = "tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-resConFile"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">Result Control File</h2>

<p>When the results file created by the solver does not contain any useful results, the optimization
                module generates an empty file. The control program checks the existence of this
                file and stops the optimization if the file is found.</p>
<p>Some solver results sometimes do not allow the optimization to proceed because of the following
                reasons: a result request in the input file is incorrect (for example, no node stresses
                were written in the results file); the solver cannot perform the finite element
                analysis because of  numerical problems; element twisting, rigid body displacements
                due to missing boundary conditions or too large displacements occur.</p>
<p>A check of the previous optimization iteration and the modification of the model can be used to
                find the reason for a termination that affects the optimization (for example, element
                twisting or too large displacements). </p>
</div>

<div class = "section" id = "tso-c-usr-trouble-errDurOpt__tso-c-usr-trouble-errDurOpt-screenInfo"><p><map name = "FPMap1"><area href = "#hj-top" title = "Back to Top" shape = "rect" coords = "416, 0, 435, 10"/></map><span class = "itemsprite"/></p><h2 class = "title sectiontitle">Screen Information</h2>

<p>When <span class = "ph">SIMULIA Tosca Structure</span>
is started, the output that is being made during the optimization process
appears on the screen and in the window of <span class = "ph">Tosca Structure.gui</span>.
The amount of information in the log file  <code class = "ph codeph">TOSCA_OUT</code>
and on screen can be controlled by requesting a certain loglevel. For
more information, see <a class = "xref" href = "tso-c-usr-control-logging.htm#tso-c-usr-control-logging" title = "Within this section, the logging functionality is described.">Logging</a>.</p>
</div>

</div>

</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
