Automating using script
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. |
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. |
Like you stated I would prefer to keep it simple by adjust the component vector.
Thanks for the start |
All times are GMT -4. The time now is 16:41. |