|October 26, 2015, 12:30||
Automating using script
Join Date: Jan 2014
Posts: 3Rep Power: 4
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||
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 1,372Rep Power: 20
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:
solve monitors residual reset y
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|[Workbench] Run ICEM Script in Workbench Script||MIZOR||ANSYS Meshing & Geometry||3||October 7, 2016 02:16|
|Grid Check Script||pdp.aero||SU2||2||April 23, 2015 01: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 09:36|
|Perl script for intialisation||pratik mehta||CFX||2||September 10, 2008 03:09|