Batch simulation script

Hello,

I'm new to the journaling side, so forgive me if this is an obvious answer.

My event simulations take about 30-40min to run (shocks, SRS, modal, random in 3 directions, etc), and it would be awesome if I could queue up a bunch of them and go home for the night, rather than needing to sit here and babysit the comp. I've googled for about a day now and find it odd that I can't find a to do something I'd consider pretty common and useful like this. Am I off my block or is this actually a fairly difficult issue because I think I have the pieces I need to make the code happen, but I figured I'd ask before I spend more time on this.

Cheers

MS

I have some code that may help, it can be found at the following link:
http://nxjournaling.com/content/programming-many-simulations

sweet, thank you. I'm going to start googling this... but my first question is, what the heck is a .sim file and how do I make it?

The code is meant to be run in the NX advanced simulation module. When you model a part and save it, you have a .prt part. When you start the advanced simulation module a .fem (finite element mesh) and a .sim (simulation) file are created, linked to the .prt file that you specify. The workflow is fairly seamless, you might not even realize that you are switching between different files. If you have everything set up and ready to solve, you already have a .fem and .sim file; the code in the link needs the .sim file to be active for it to work properly.

Once your .sim is set up there is the option 'Solve All solutions' (right -click on the sim name)

Thanks
Regards

As some details are missing in your original question on how you are doing your analysis - either from NX using the Response simulation (Resp. Sim) module or Nastran using SOL111 - the following my not be too helpful

If using using the NX Resp. Sim module you cannot "batch" the analysis as it's more a post-processing thing based on an sol103 analysis. There is obviously a way of programming a loop to deal with each event but it's potentially quite an effort.

If using Nastran then you ought to look at the RESTART option. Solve you SOL103 once with all the modes needed and do your shocks, SRS, modal, random in 3 directions, etc as a RESTART. These analysis are merely "post-processing". If you solve the normal modes every time then no wonder that it takes a lot of time

Regards

Thanks
Regards

thank you for asking for clarification, it is a little ambiguous . yes most of what I would like to do is automate the post processing, which takes an annoyingly long time. Is there an easier way to do this? The script posted above only solves the Nastran sim runs.