CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX Solver to run 10 files sequentially (https://www.cfd-online.com/Forums/cfx/26580-cfx-solver-run-10-files-sequentially.html)

Raj October 27, 2008 23:02

CFX Solver to run 10 files sequentially
 
Friends,

I would like to know how to set up CFX Solver to run/solve 5 to 10 .def files in CFX sequentially with windows configuration

Glenn Horrocks October 28, 2008 00:35

Re: CFX Solver to run 10 files sequentially
 
Hi,

Use the command line method of starting CFX (cfxsolve -definition 123.def) and stick the simulation sequence in a Windows batch file or Linux/Unix shell script.

Glenn Horrocks

Raj October 28, 2008 00:56

Re: CFX Solver to run 10 files sequentially
 
Hi Glenn,

Thanks a lot for your reply. I have Project 1. def, Project 2.def,...till Project 10.def. I have never tried command line before. If you can provide me some examples to do that, that would be great!

Many thanks in advance!

onn October 28, 2008 02:41

Re: CFX Solver to run 10 files sequentially
 
Hi Raj, Try this C:\progra~1\ansysi~1\v110\cfx\bin\cfx5solve -def D:\Project1.def C:\progra~1\ansysi~1\v110\cfx\bin\cfx5solve -def D:\Project2.def etc... where C:\progra~1... is software installed location and D:\Project1.def is .def file location

rgds Onn


Raj October 28, 2008 03:46

Re: CFX Solver to run 10 files sequentially
 
Thanks a lot Onn and Gelenn for your kind helps.

CycLone October 28, 2008 12:51

Re: CFX Solver to run 10 files sequentially
 
If you launch the command line from the CFX Launcher, the solver will already be in the path.

How do your runs differ? Are there changes in geometry, boundary conditions, etc?

-CycLone

Raj October 28, 2008 21:15

Re: CFX Solver to run 10 files sequentially
 
Hi CycLone,

I need to solve 5 10 10 definition files sequentially in the night time. So, pls let me know if there are any other methods.

Thanks a lot!

CycLone October 29, 2008 09:35

Re: CFX Solver to run 10 files sequentially
 
What Glenn has proposed will work; just create a .bat file or shell script that launches one after the other (one solve command per line will do it).

If the cases differ by parametric changes in geometry or operating conditions, you can also use DesignXplorer to set up a parametric analysis and specify the parameters you are interested in running. You don't need a license for DesignXplorer to do this, but you will need to run the entire thing within Workbench.

So, what is it you are varying?

-CycLone

Raj October 29, 2008 23:20

Re: CFX Solver to run 10 files sequentially
 
Hi CycLone,

Thanks for your helps. Yes, I do parametric changes. I will try as you suggested.

Thanks again!


All times are GMT -4. The time now is 12:46.