<?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 = "reference"/><meta name = "abstract" content = "This section shows the placeholder variables currently in use."/><meta name = "description" content = "This section shows the placeholder variables currently in use."/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "tso-r-cmd-driver-Var"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Variables</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "tso-r-cmd-driver-Var">
<a name = "hj-top"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Variables</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 section shows the placeholder variables currently in use.</span>

</p>
<p>This page discusses: </p><ul><li><a href = "#tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview" id = "toc_rg" title = "">Overview</a></li><li><a href = "#tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarUse" id = "toc_rg" title = "">Using Variables </a></li></ul>
</p></td></tr></table></td></tr></table>




<div class = "body refbody">



<div class = "section" id = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview"><h2 class = "title sectiontitle">Overview</h2>

  <p> The following variables, when used within the statements of the
        <code class = "ph codeph">DRIVER</code>-command, are replaced automatically with strings that correspond to
        the specific run of <span class = "ph">SIMULIA Tosca Structure</span>. </p>

  <table class = "table"><caption/><colgroup><col/><col/><col/></colgroup><thead class = "thead">
<tr class = "row">
<th class = "entry" id = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p>Variable</p></th>
<th class = "entry" id = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p>Example</p></th>


</tr>
</thead><tbody class = "tbody">

<tr class = "row">
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p><code class = "ph codeph"> __WORKDIR__</code></p></td>
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p> E:\scratch\WORK\tosca_job_files\holeplate_dam_stlx</p></td>


</tr>

<tr class = "row">
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p> <code class = "ph codeph">__JOBNAME__</code></p></td>
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p> holeplate_dam_stlx</p></td>


</tr>

<tr class = "row">
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p> <code class = "ph codeph">__FE_MODEL_PATH__</code></p></td>
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p> E:\scratch\WORK\tosca_job_files\holeplate_dam.inp</p></td>


</tr>

<tr class = "row">
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p><code class = "ph codeph"> __FE_MODEL_FILE__</code></p></td>
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p> holeplate_dam.inp</p></td>


</tr>

<tr class = "row">
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p><code class = "ph codeph"> __FE_MODEL__</code></p></td>
  <td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"><p> holeplate_dam</p></td>


</tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"><p> <code class = "ph codeph">__FE_MODEL_PATH_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['E:\\scratch\\WORK\\tosca_job_files\\holeplate_dam.inp']</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__FE_MODEL_FILE_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['holeplate_dam.inp']</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__FE_MODEL_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['holeplate_dam']</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL_PATH__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>E:\scratch\WORK\tosca_job_files\Job-1.stlx</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL_FILE__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>Job-1.stlx</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>Job-1</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL_PATH_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['E:\\scratch\\WORK\\tosca_job_files\\Job-1.stlx', 'E:\\scratch\\WORK\\tosca_job_files\\Job-2.stlx']</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL_FILE_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['Job-1.stlx', 'Job-2.stlx']</p></td></tr><tr class = "row"><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__1"> <p><code class = "ph codeph">__LIFE_MODEL_LIST__</code></p></td><td class = "entry" headers = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarOverview__entry__2"> <p>['Job-1', 'Job-2']</p></td></tr>

</tbody></table>

</div>


<div class = "section" id = "tso-r-cmd-driver-Var__tso-r-cmd-config-tp-VarUse"><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">Using Variables </h2><p>Use the Variables in the <span class = "ph uicontrol">DRIVER</span> section or configuration file without any special symbols. For example:</p>
<pre class = "codeblock">
<code class = "ph codeph">_work_dir = os.path.join( r'__WORKDIR__', 'SAVE.fesafe' )</code>
<code class = "ph codeph">_batch    = os.path.join( r'__WORKDIR__', r'__LIFE_MODEL_FILE__' )</code>
<code class = "ph codeph">_output   = os.path.join( r'__WORKDIR__', r'__LIFE_MODEL__.onf' )</code>
<code class = "ph codeph">driver.LifeSolver.StandardCallArgs = [ '-project', _work_dir, 'b=%s'%_batch, 'j=refresh', 'mode=surface', 'o=%s'%_output, 'OUTPUT_NODES=1', 'LOGLIVES=0' ]</code>
</pre><p><div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">When you have more than one file (fe-solver or life solver), corresponding files change for
          every call. <p>For example, <code class = "ph codeph">__LIFE_MODEL__</code> is "Job-1" for the first call
            and "Job-2" for the second.</p></span></div>
 </p>

</div>
</div>

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