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

Get multiple Angles Of Attack Without changing the Mesh ?!!

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 19, 2019, 07:15
Default Get multiple Angles Of Attack Without changing the Mesh ?!!
  #1
Member
 
Os
Join Date: Jun 2017
Posts: 80
Rep Power: 8
losiola is on a distinguished road
hello Foamers ,
I am making a 2D airfoil simulation using open Foam and i want to calculate the aerodynamic performnce of the aifoil (Cd,Cl,Cm) for multiple angles of Attack .


How Can i set multiple angles of attack without having to rotate the airfoil and regenerate new mesh for evrytime?
losiola is offline   Reply With Quote

Old   May 19, 2019, 14:35
Default
  #2
New Member
 
Join Date: Sep 2018
Posts: 27
Rep Power: 7
blackpingu is on a distinguished road
You can change the internal field velocity vector in the 0-folder.

Quote:
internalField uniform (0 0 0);
alpha=0

Quote:
internalField uniform (1 0 0);
alpha = 45

Quote:
internalField uniform (0.70710678118
0.70710678118
0);
blackpingu is offline   Reply With Quote

Old   May 19, 2019, 15:32
Default
  #3
Member
 
Os
Join Date: Jun 2017
Posts: 80
Rep Power: 8
losiola is on a distinguished road
Quote:
Originally Posted by blackpingu View Post
You can change the internal field velocity vector in the 0-folder.



alpha=0



alpha = 45



Thank you for the reply , But how about the Boundary conditions that i should use on top bottom and outlet since the flow may go with 45 ° for exemple this means i cant just use the symmetry boundary conditions on top and bottom ?
losiola is offline   Reply With Quote

Old   May 20, 2019, 04:45
Default
  #4
New Member
 
Join Date: Sep 2018
Posts: 27
Rep Power: 7
blackpingu is on a distinguished road
You can define it like in the damBreak tutorial:



atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}

change the uniform to whatever angle you have
blackpingu is offline   Reply With Quote

Old   May 20, 2019, 10:25
Default
  #5
Senior Member
 
Join Date: Mar 2014
Posts: 112
Rep Power: 12
mzzmrt is on a distinguished road
It's better to make an "O grid" for such a case. So you can define the velocity vector (x, y, z) in u and use the same mesh for all AoA range...
mzzmrt is offline   Reply With Quote

Reply


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
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 15:15
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 11:14
[PyFoam] Problems with the new PyFoam release zfaraday OpenFOAM Community Contributions 13 December 9, 2014 18:58
[PyFoam] having problems with pyfoam Installation vitorspadetoventurin OpenFOAM Community Contributions 3 December 2, 2014 07:18


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