Jump to content
cfdguru

How can I execute multiple acuSolve jobs consecutively using a Windows batch file?

Recommended Posts

When trying to execute multiple acuRun jobs consecutively in a batch file, it is necessary to launch the processes using the "call" command. Without issuing the call command, the cmd interpreter exits the main batch file after the first instance of acuRun completes. This is because acuRun is also launched through a batch file, and Windows receives the exit signal upon its completion. The following commands represent an example of a batch file that will circumvent this issue by using the call command:

cd D:\test\pipe1
call acuRun -pb pipe1 -np 2
cd D:\test\pipe2
call acuRun -pb pipe2 -np 2

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...