|
[Sponsors] |
October 26, 2015, 12:30 |
Automating using script
|
#1 |
New Member
Alex Petty
Join Date: Jan 2014
Posts: 3
Rep Power: 12 |
Hello
So last year I talked with a professor, no longer teaching here, who brought up using a script to automate the solution method in fluent. Does anyone have any tutorials on how to do this. I want to adjust my angle of attack by .5 degree increments and then have it save the results. |
|
October 26, 2015, 13:45 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,758
Rep Power: 66 |
How do you propose to change the angle of attack? If it does not involve re-meshing each time then it's pretty simple to do using a Fluent journal file. For example, you can simple modify the direction vector of the incoming flow angle to change the angle of attack, simple changes to the boundary conditions are easy to do in Fluent.
One way to get started is not that complex. Set up you your entire case file for one case through the GUI as you normally would. Then you only need to learn the TUI commands to change the angle of attack and write them to the journal file. Your journal file will look something like this: rcd "filename" /define/boundary-conditions/ blahblahblah /define/boundary-conditions/ blahblahblah solve monitors residual reset y /solve/iterate 100000 wcd "filename" And then copy and paste for all your angles of attack Pressing enter/return will give a list of all available TUI commands. Use this to figure out which commands are needed. |
|
October 26, 2015, 13:52 |
|
#3 |
New Member
Alex Petty
Join Date: Jan 2014
Posts: 3
Rep Power: 12 |
Like you stated I would prefer to keep it simple by adjust the component vector.
Thanks for the start |
|
Tags |
automation, scripting |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Workbench] Run ICEM Script in Workbench Script | MIZOR | ANSYS Meshing & Geometry | 9 | April 4, 2018 08:45 |
Grid Check Script | pdp.aero | SU2 | 2 | April 23, 2015 02:54 |
[ICEM] Generalize ICEM script for different sizes of same geometry. | Akash kumar | ANSYS Meshing & Geometry | 0 | November 16, 2014 09:38 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 10:36 |
Perl script for intialisation | pratik mehta | CFX | 2 | September 10, 2008 04:09 |