CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX-Pre Batch (https://www.cfd-online.com/Forums/cfx/137515-cfx-pre-batch.html)

Daniel Frederik June 18, 2014 02:14

CFX-Pre Batch
 
Hi everybody,

I have made the setup of a Gasturbine simulation. Now i'd like to simulate that at different massflows and révolutions. Is there a way i can create the different def files by batch mode? It would just be necessary to change massflow and révolutions.

Any ideas?

Thanks

mvoss June 18, 2014 03:09

Check for the command line arguments (e.g. -ccl) of the cfx5solve. You can create "new" def files from an existing one and run them OR run the same def-file with the -ccl and input snippets changing the app. places each time.

PeMo June 18, 2014 03:27

You can add a ccl to modify the original def-file during start up. Just add a -ccl name.ccl to your start-up command. Open in Pre a Domain with the Command editor to see how the ccl should look like.
For instance to change the massflow it is sth like (untested!):

FLOW: Flow Analysis 1
DOMAIN: SVWG
&replace BOUNDARY: Inflow
Boundary Type = INLET
Location = inlet
MASS AND MOMENTUM:
Mass Flow Rate = newMassFlow
Option = Bulk Mass Flow Rate
END
END
END
END

Edit: too slow....


All times are GMT -4. The time now is 00:53.