you should make an assembly of the foil and create one angle mate which will change the assembly setup.
Then make a "what if analysis", like here
save the results for your equation goal (drag force) and plot a graph (preferably in Excel).
Hope this helps!
You can set the free stream air velocity components (and therefore the angle of attack) in the project settings initial conditions. If you want to automate the process of simulating different angles of attack, you can use the Parametric Study feature. This feature will allow you to modify, among other things, the initial conditions (in this case, the angle of attack) and record different goals.
What you should do to get this project set up correctly is fine tune your mesh and goals until you get a good result for a single simulation. Once you have that done, set up a Parametric Study for whichever angle of attack values are of interest to you, and make sure to set your drag and lift goals as recorded parameters. This will generate a table of values for you, you can then use this data to calculate your aerodynamic coefficients.
Thanks a lot you guys ^^. By the way, do you know how realiable is flow simulation in SolidWorks? I usually perform simulation with mesh level 3 or 4, cause my computer will take a lot of time to do it at level 5 or above. Does that kind of effect the simulation?
The only way I know of to check how reliable the simulation is, is to compared it to measured data from a real experiment. If you have any airfoil data on hand you can check your setup and mesh quality that way.
I would see how much the data varies between the mesh levels first. If you are getting a significant difference between the mesh levels, it could be the mesh level. You also need to be careful of what mach number you are running. Different cfd packages are taylored for different flow regimes.