CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   How to do batch processing for CFX (https://www.cfd-online.com/Forums/cfx/22165-how-do-batch-processing-cfx.html)

Badrinath February 10, 2006 01:53

How to do batch processing for CFX
 
Hi, How I can do batch processing if I have lot of jobs to do simultaneously.


TB February 10, 2006 06:31

Re: How to do batch processing for CFX
 
You can do some PERL programming under command window. Check user manual for things like CEL functions for CFX Post etc....

Abe February 10, 2006 11:33

Re: How to do batch processing for CFX
 
While it's not really "batch" processing, Session files can really improve efficiency in Pre- and Post- processing.

mehul February 10, 2006 22:14

Re: How to do batch processing for CFX
 
Hi Badri,whatever i think for ur problem is u want to give run in batch process.I am using following format for batch runnibg.u can give no of runs one after other.i hope it helps. cfx5solve -batch -def <deffile> here in <def file> give path of ur def file. regards mehul pandya

Badrinath February 11, 2006 00:23

Re: How to do batch processing for CFX
 
Hi Mehul, Thanks a lot. But I need to have any new windows commands for this or else just I can give this in the command promt which starts run one after the other.

else we have any other exe which we can use for it

Please give clear idea regarding this.

Regards Badrinath


mehul February 11, 2006 10:21

Re: How to do batch processing for CFX
 
you have to make batch file .just make a notepad file and give it a extension of .batch.you can also go thru coammand window.what my method is making a batch file,coping in bin (wher ansys cfx has installed) and running that batch file.i hope it help u. regards mehul.

badrinath February 13, 2006 21:12

Re: How to do batch processing for CFX
 
Dear Mehul, I have done what you said but still I am not getting that I am not getting where I am going wrong If you dont mind where I can get the exact procedure so that I can work smoothly. Please do favour for me in this regard as I am new to this CFX.

Regards Badrinath

TB February 14, 2006 01:33

Re: How to do batch processing for CFX
 
Okay...You're talking about solver. Are you running Window-version or Linux/Unix Version? If you're using Linux/Unix, create a text file with a list of the names of your definition files & then make a script with a while loop to read this text file and include "cfx5solve -def $FileName" in the loop.

Badrinath February 14, 2006 04:56

Re: How to do batch processing for CFX
 
Dear TB, I was working on winows version and I tried the option but i am not getting. Can you please send the format so that I can check and implement.

Regards Badri

mehul February 17, 2006 02:55

Re: How to do batch processing for CFX
 
daer badri,do one thing.i am giving example. just make a def file in ur working diractory.suppose try.def is ur def file.now copt this file frm ur working dir to any disk.i.e. it,s path should be D/try.def or E?try.def.now in C:/Prog files/Ansys ic......bin folder make a batch file and run it.In that batch file give this file,s path name.I have mentioned that path earlier.I hope it works. regards mehul


All times are GMT -4. The time now is 21:52.