The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Dear all,
would like to run MotionView in batch mode. According to the online help, when running the batch file, the corresponding selected solver (MotionSolve in this case) should also be run automatically. Unfortunately, this is not the case for me.I hope someone can help me with this problem.
GreetingsHE
Hello Hendrik
Could you please confirm the following ?
1. Are you able to run MotionSolve interactively from MotionView GUI ?
2. with the command that you provided above, was the xml (V01_C_Mix_Super_ULS.xml) generated in the given directory ?
Answer to the above questions will reveal if MotionView can find the solver and there is a problem invoking MotionView.
Now, the mdl_batch command,
mdl_batch model.mdl runfile.xml MotionSolveThe above command will just export a MotionSolve xml from the model, but will not start the run.
To run MotionSolve job through mdl_batch, you need to provide additional option of -SCRIPT
MotionView has a solver script "MotionSolve" registered by default.
So, your command would look something like below
mdl_batch model.mdl runfile.xml MotionSolve -SCRIPT:MotionSolve
Note that, with the above command, the model would be exported with the current active analysis in the model if any. You may use the -ANALYSIS option to run a specific Analysis or run ALL Analysis.
mdl_batch model.mdl runfile.xml MotionSolve -ANALYSIS:analysis_varname -SCRIPT:MotionSolve
Try this and let know how it goes.
Regards
Praful
Hello Praful,
1. Yes I am able to run MotionSolve interactively from the GUI
2. Yes, the xml file was generated by the given directory
I have added the commands you specified to the batch file and it is running now. MotionSolve starts running automatically and the h3d result file is also generated. Thanks for the quick reply!
Hendrik
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…