Example -Batchsolve for Local (Windows)
Functionality featured in the example(s) in this section applies to multiple design types.
In this example, we run a batch analysis of project file testproject.adsn on the local host. We want all temporary files and directories created in directory C:\temp\ansysedt instead of using the installation default temporary directory. Because the local host has four cores, we decide to use four threads for multiprocessing, for both distributed and non-distributed parts of the analysis.
Here is a sample command line for this analysis, where the project file \\host123\projects\testproject.adsn is located in a shared directory specified using a UNC path:
ansysedt -BatchSolve -Local -batchoptions
"TempDirectory='C:/temp/ansysedt'
'Planar EM/SolverOptions/NumProcessors'=4
'Planar EM/SolverOptions/NumProcessorsDistrib'=4"
\\host123\projects\testproject.adsn
Note that the batchoptions pathnames 'Planar EM/SolverOptions/NumProcessors' and 'Planar EM/SolverOptions/NumProcessorsDistrib' must be in single quotes because they both contain embedded spaces.