|
[Sponsors] |
July 8, 2008, 15:36 |
How to batch run CFX 11 solver on Win XP
|
#1 |
Guest
Posts: n/a
|
I put all def files in the same directory and created the file.bat file as following:
C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv20mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv15mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv10mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv5mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv1mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv05mms.def C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve -def inletv01mms.def when I run the bat file, The error information come out: 'C:\Program' is not recognized as an internal or external command, operable program or batch file. |
|
July 8, 2008, 15:50 |
Re: How to batch run CFX 11 solver on Win XP
|
#2 |
Guest
Posts: n/a
|
I think it's probably the space in the 'Program Files' directory name that is causing problems. It's reading 'C:\Program' as a command on its own, and interpreting the rest as an additional argument. I think you can solve this by placing double quotes around each name containing spaces. For example:
"C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve" -def inletv20mms.def but I cannot test this now, and I am more familiar with Linux systems. However, at least you know what the likely problem is and can look up how to solve it... Also, put the separate run details on separate lines (perhaps you have already done this, but they are not shown in your post, so I cannot be sure). Good luck, andy |
|
July 8, 2008, 18:44 |
Re: How to batch run CFX 11 solver on Win XP
|
#3 |
Guest
Posts: n/a
|
Thanks. andy.
I changed my file.bat file to the form "C:\Program Files\ANSYS Inc\v110\CFX\bin\cfx5solve" -def inletv20mms.def when I ran the bat file, the error information comes out as: An error has occurred in cfx5solve: ANSYS solver terminated unexpectedly with return code 1792 But when I ran the simulation without batch command, there is no such kind of problem. |
|
July 8, 2008, 19:20 |
Re: How to batch run CFX 11 solver on Win XP
|
#4 |
Guest
Posts: n/a
|
Hi,
You should not need to specify the full path to the solver. If you use a command window from the CFX launcher it has all the paths already set up so you can just use cfx5solve. Also if the solver needs to find any other files it has the correct path to find it. Glenn Horrocks |
|
July 8, 2008, 19:45 |
Re: How to batch run CFX 11 solver on Win XP
|
#5 |
Guest
Posts: n/a
|
I tried the command window and revised the bat file as cfx5solve -def inletv20mms.def ..............................
It doesn't help. The same error come out. |
|
July 9, 2008, 05:08 |
Re: How to batch run CFX 11 solver on Win XP
|
#6 |
Guest
Posts: n/a
|
Hi,
With reference to Andy's reply, I dont the double quotes would work, instead try to use the '~' operator, something like this. C:\Progra~1\AnsysI~1\v110\CFX\bin\cfx5solve -def C:\yourdeffile.def |
|
July 10, 2008, 11:42 |
Re: How to batch run CFX 11 solver on Win XP
|
#7 |
Guest
Posts: n/a
|
Did you figure it out? Search this forum, this topic has been discussed many times. There are different ways to run batch.
|
|
July 10, 2008, 11:44 |
Re: How to batch run CFX 11 solver on Win XP
|
#8 |
Guest
Posts: n/a
|
change your cfx 11.0 to cfx11.0sp1
when cfx10.0 or 11.0sp1 is used, no problem will occur, however ,there is something wrong with batch mode in cfx11.0(non sp1). I use it for optimization. And your problem once had obsessed me for a long period of time. anyway, you can add the "C:\Program Files\Ansys Inc\v110\CFX\bin" to your path. then you may write your bat file like this cmd /c cfx5solve -def example.def so you need not to input the whole path. |
|
July 10, 2008, 12:57 |
Re: How to batch run CFX 11 solver on Win XP
|
#9 |
Guest
Posts: n/a
|
Not yet. The is the only way I got from the forum. Anyway, I will search it again.
Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
to run a replayfile in batch mode from UNIX | froztbear | ANSYS Meshing & Geometry | 4 | May 13, 2014 09:00 |
Is there a way to postpone the batch run for a while? | rikio | CFX | 2 | October 14, 2011 01:37 |
CFX in queueing batch mode | Matthias1985 | CFX | 2 | June 24, 2009 13:27 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 15:08 |
CFX 5.5 | Roued | CFX | 1 | October 2, 2001 17:49 |