<?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 = "Introduction to the CST solver interface."/><meta name = "description" content = "Introduction to the CST solver interface."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-c-usr-solver-cst-ov"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Overview</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-c-usr-solver-cst-ov">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Overview</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">Introduction to the <span class = "ph">CST</span> solver interface.</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-setup" id = "toc_rg" title = "">
Setup
</a></li><li><a href = "#tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-exe" id = "toc_rg" title = "">
Execution
</a></li><li><a href = "#tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-conf" id = "toc_rg" title = "">
Configuration
</a></li></ul>
</p></td></tr></table></td></tr></table>




<div class = "body conbody">
<p>
<span class = "ph">CST</span>
is a high performance EM solver for high and low frequency applications that can be used together with
<span class = "ph">Tosca</span>
to optimize the shape or topology of EMAG solutions.
</p>

<div class = "section" id = "tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-setup"><h2 class = "title sectiontitle">
Setup
</h2>

<p>
EMAG optimizations with <span class = "ph">CST</span> are set up in the graphical user interface of the solver
and not in the <span class = "ph">Tosca Structure.gui</span>.
With it the user can create the Tosca parameter file (.par) and CST solver inputs (.cst) required to start the optimization. For more detailed information on how this setup is done please refer to the
<span class = "ph">CST</span> user assistance.
</p>
</div>


<div class = "section" id = "tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-exe"><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">
Execution
</h2>

<p>
The optimization run is started in the usual way with
<span class = "ph">Tosca</span> offering some specific command line options to control the EM solver execution:
<code class = "ph codeph">--emag_cpus</code>, <code class = "ph codeph">--emag_gcpus</code> and <code class = "ph codeph">--emag_threads</code>.
If more than one EMAG solvers are configured you can select the target solver by the <code class = "ph codeph">--emag</code> parameter.
</p>
</div>


<div class = "section" id = "tso-c-usr-solver-cst-ov__tso-c-usr-solver-cst-ov-conf"><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">
Configuration
</h2>

<p>
<span class = "ph">Tosca</span> has to be given the path to the EMAG solver installation before
an optimization can be run. This has to be done once per installation but can also be changed individually for each run:
<ul class = "ul">
<li class = "li">
To add the <span class = "ph">CST</span> path to the <span class = "ph">Tosca</span>
installation, the user can add the <code class = "ph codeph">INS_TSO_CST_PATH=&lt;path-to-CST&gt;</code> parameter to the <code class = "ph codeph">[Tosca]</code> section of the installation configuration file <code class = "ph codeph">&lt;install-dir&gt;/SMA/site/EstablishedProductsConfig.ini</code>.
</li>
<li class = "li">
It is also possible to set the path to the <span class = "ph">CST</span> with the environment variable <code class = "ph codeph">SMA_TSO_CST_PATH</code>.
This definition has priority over the installation configurations and can be used to quickly change the solver when starting an optimization.
</li>
<li class = "li">
In addition, the <code class = "ph codeph">tosca.cfg</code> configuration file can be used to declare different versions the same way it is done for the other solvers.
</li>
</ul>
</p>
</div>


</div>

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