CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

multiple runs for lift and drag at various AOA

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ShowponyStuart

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2013, 01:59
Default multiple runs for lift and drag at various AOA
  #1
Member
 
Stuart
Join Date: Jun 2012
Posts: 59
Rep Power: 13
ShowponyStuart is on a distinguished road
I am currently modelling a wing (to validate my technique) and want to find the performance characteristics for the wing at several angles of attack. Basically I want to be able to hit run once and for it to keep running until all the AOA's I specified have been simulated and the data exported i.e.

1. Run simulation
2. Converge
3. Export results (ie. User points such as cL,cD and cM to exel spread sheet (or similar))
4. Change AOA and repeat process, writing each new set of data onto a new line of the same excel spreadsheet.
5. Repeat until reaching an AOA of 15 degrees.

that way I will end up with discrete lift and drag for aoa's of 2,4,6,8,10 degrees etc

I am under the impression that setting up my domain and changing the components of the fluid velocity is the way to go about it, but I havent been able to find any tutorials that step through the process.

I assume there is a way, so if anyone could give me some advice or point me towards a useful tutorial that would be awesome.

Thanks in advance.

Last edited by ShowponyStuart; January 7, 2013 at 02:25.
ShowponyStuart is offline   Reply With Quote

Old   January 7, 2013, 16:15
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Look at the parametric design and possibly the optimisation tutorials for ANSYS Workbench. So you will need the Workbench tutorials for this, not the CFX ones.
ghorrocks is offline   Reply With Quote

Old   January 7, 2013, 20:44
Default
  #3
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
You could also probably write a script to do this. Just have CCL files prepared for each flow angle (assuming this is just a change in your boundary conditions) and call cfx5solve with the additional argument "-ccl whatever.ccl". As for writing to excel you could generate a csv file by reading the out file with your script. Not sure if this is easier or harder than using Workbench.
cdegroot is offline   Reply With Quote

Old   January 12, 2013, 22:46
Default
  #4
Member
 
Stuart
Join Date: Jun 2012
Posts: 59
Rep Power: 13
ShowponyStuart is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Look at the parametric design and possibly the optimisation tutorials for ANSYS Workbench. So you will need the Workbench tutorials for this, not the CFX ones.
Quote:
Originally Posted by cdegroot View Post
You could also probably write a script to do this. ... Not sure if this is easier or harder than using Workbench.
Sorry about the delayed response.

I figured out how to do it in workbench. I've given a brief summary below how I did it, im new on this forum so im not sure about the etiquette but is it good form to make a bit of a tutorial to help anyone else with similar problems? I dont mind doing it, shouldnt take too long, but there is no point doing it if it isn't going to help anyone.

Anyway, what I did was (for anyone wondering) Import the wing into design modeler then create my domain around it in there. Then I performed a body operation (rotate) to allow the wing to rotate around an axis. Then I made this a parameter (check the box next to the angle you are inputting for the amount of rotation) and called it "aoa".

I then followed normal procedure all the way to the solve phase. After the first solve had been performed, I went into Result. Then I went to the expressions tab and right clicked on my cD,cL and cM and made them all output parameters.

Then your workbench should look like the photo I have attached .

After clicking the parameters box it looks like the second pic attached. Then I just added my parameters (in this case -5,0,2.5,5,7.5,10 for my angle of attacks) and make sure you check the "Exported" tab so you get a new design point for each parameter, so it should look like the 3rd picture. then just hit "update all design points" and away you go.

For anyone that finds this while looking for a way to do this themselves, If I get a chance and anyone would like a little document made up as a bit of a tutorial I will try to do that. Or just pm me if you would like some clarification.
Attached Images
File Type: jpg 1.jpg (44.9 KB, 425 views)
File Type: jpg 2.jpg (51.1 KB, 366 views)
File Type: jpg 3.jpg (42.1 KB, 339 views)

Last edited by ShowponyStuart; January 12, 2013 at 23:50.
ShowponyStuart is offline   Reply With Quote

Old   January 12, 2013, 23:53
Default
  #5
Member
 
Stuart
Join Date: Jun 2012
Posts: 59
Rep Power: 13
ShowponyStuart is on a distinguished road
I did whip a quick tutorial, im not sure how technically correct it is (there is probably better ways to do it) but it worked for me.


Sorry its pretty rough, if I get a chance I will try and tidy it up when I get some spare time but its nearly impossible to get any decent amount of information into a file 97.7KB .doc file. grr, stupid attachment limit.

For the mean time, I hope this helps someone.
alizmirli likes this.

Last edited by ShowponyStuart; January 13, 2013 at 01:05.
ShowponyStuart is offline   Reply With Quote

Old   January 13, 2013, 12:54
Default
  #6
Senior Member
 
cdegroot's Avatar
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 17
cdegroot is on a distinguished road
Cool, I'm sure this will help people.
cdegroot is offline   Reply With Quote

Old   March 1, 2016, 14:16
Default It Works
  #7
New Member
 
L Gamble
Join Date: Feb 2016
Posts: 3
Rep Power: 10
lgamble is on a distinguished road
Helped me out! Thanks for that info. It works with Fluent as well with the same procedure in case anyone is curious.
lgamble is offline   Reply With Quote

Old   April 10, 2016, 07:20
Default workbench parametric design
  #8
Member
 
alex
Join Date: Feb 2016
Location: chennai
Posts: 48
Rep Power: 10
crusen mind is on a distinguished road
hi guys
i already meshed my model in ANSA. i have meshed file so how to proceed for this situation.
crusen mind is offline   Reply With Quote

Old   April 29, 2020, 08:03
Default
  #9
New Member
 
saiakameer
Join Date: Apr 2020
Posts: 1
Rep Power: 0
saikameer is on a distinguished road
Quote:
Originally Posted by ShowponyStuart View Post
I did whip a quick tutorial, im not sure how technically correct it is (there is probably better ways to do it) but it worked for me.


Sorry its pretty rough, if I get a chance I will try and tidy it up when I get some spare time but its nearly impossible to get any decent amount of information into a file 97.7KB .doc file. grr, stupid attachment limit.

For the mean time, I hope this helps someone.
dude i am not getting the cl cd cm what should i do
saikameer is offline   Reply With Quote

Reply

Tags
aoa, multiple, runs, script, wing


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressure drag, friction drag and total drag? Cheng CFX 9 January 26, 2024 13:46
Incorrect Drag and Drag Coefficient for flow over a cylinder ozzythewise Main CFD Forum 8 June 13, 2012 06:24
Calculation of Drag Coefficient, Help Please teek22 CFX 1 April 26, 2012 18:41
Force vectors for drag during sweeping motion aamer FLUENT 0 April 18, 2011 08:17
Inviscid Drag at subsonic, subcritical Mach # Axel Rohde Main CFD Forum 1 November 19, 2001 12:19


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