Simcenter 3D Solutions submitting multiple TMG XML files in separate folders via TMG EXEC

2021-10-06T23:27:30Z
Simcenter 3D

Summary


Details

I would like to run multiple Thermal/Flow xml files from a script and have each file run sequentially. How can I do this. 

Solution

Currently you can do this using the TMG Executive GUI menu. If you want to do this from a command line the following script will read the models.txt file and run each job in order. Each XML file must be listed on it's own line and the script needs to be edited to match your installation. 

Here is an example models.txt file: 

---------------------------------------------------------------------------

E:\dir1\model1.xml

E:\dir2\model2.xml 

E:\dir2\model2.xml 

E:\dir2\model2.xml 

And here is the example script. Each line will need to be edited to match your installation: 

solve_multiple_xml.cmd

---------------------------------------------------------------------------

set UGII_TMG_DIR=D:\apps\SC\2019.2\NXCAE_EXTRAS\tmg

set SPLM_LICENSE_Server=28000@license_Server 

for /f "usebackq tokens=*" %%A in (e:\run\models.txt) do %UGII_TMG_DIR%\com\tmgnx.cmd nf -inPath %%A 

Notes

KB Article ID# PL8015930

Contents

SummaryDetails

Associated Components

Acoustics Additive Manufacturing Assembly FEM Correlation and Updating Durability Electromagnetics (High Frequency) Electromagnetics (Low Frequency) Flexible Pipe Laminate Composites Margin of Safety Motion Multiphysics NX Open Nonlinear Optimization Pre/Post Response Dynamics Rotor Dynamics Samcef Environment Simulation Process Management Thermal / Flow