Solve a solution from the command prompt
This example shows how to solve a Simcenter 3D solution from the Windows command prompt instead of starting the TMG Executive Menu user interface.
Set the required environment variables for the software from which you run the TMG thermal-flow solvers.
This task assumes that you run a TMG Executive Menu included with Simcenter 3D. Similar commands can be used with Simcenter Femap instead of Simcenter 3D when you change the environment variable and the executable name and location.
Alternatively, you can combine the first two steps as follows in the command prompt, which requests the path to the XML file before solving:
%UGII_TMG_DIR%\com\tmgnx.cmd nxYou can also combine all three steps as follows:
%UGII_TMG_DIR%\com\tmgnx.cmd nx -inPath <path to the XML file>%UGII_TMG_DIR%\com\tmgnx.cmd nx -inPath Test1/Simulation1-Solution1.xmlBecause the solution input file in the Simcenter 3D
Multiphysics solver environment has the .mpdat extension, use mp or mn switches instead nx:
%UGII_TMG_DIR%\com\tmgnx.cmd mp -inPath <path to the MPDAT file>