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

3D coordinates definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2018, 05:53
Default 3D coordinates definition
  #1
New Member
 
Join Date: May 2018
Posts: 19
Rep Power: 8
lejonetfrannorden is on a distinguished road
Hello everyone,

I am a newbie in SU2. I created an airfoil mesh in 2D without a problem in coordinate axes (e.g. Normal and Axial directions). Then I set the Freesream velocity equal to (39.780000, 4.180000, 0.000000) which results in 6 degrees of angle of attack as expected.

Definition of my coordinate axes are as follows in Pointwise:
x-axis: parallel to chordline, downstream direction
y-axis: normal to chordline, lift direction
z-axis: port side of the wing
They form a right handed coordinate system.


However, when I use the same freestream velocity in the SU2 config file, SU2 interprets this as 6 degrees of sideslip angle. I am very confused about this topic, and hope you guys can enlighten me!
Hence I guess due to this sideslip angle I get very low CL values such as 0.007. Does this indicate that there really is a sideslip and no angle of attack? I have NACA0015 with AR=1 and c=1 m, due to symmetry there should be little to none lift at zero degrees of angle of attack. Additionally, I am in an early phase of the solution (~1100 iterations) should I expect dramatic changes in CL then?

Regards,
LejonetFranNorden
lejonetfrannorden is offline   Reply With Quote

Old   May 16, 2018, 08:28
Default
  #2
New Member
 
Laurent van den Bos
Join Date: Jun 2015
Posts: 4
Rep Power: 10
LaurentvdB is on a distinguished road
What kind of simulation are you doing (RANS/Euler/Compressible/Incompressible/?)? Is your SU2 mesh 2D or 3D?

In case of compressible flow, there is a parameter AOA (Angle of Attack) that you can use to directly set the angle. I am not sure whether the compressible solver uses the FREESTREAM_VELOCITY at all (see config_template.cfg in the root folder).
LaurentvdB is offline   Reply With Quote

Old   May 16, 2018, 08:50
Default
  #3
New Member
 
Join Date: May 2018
Posts: 19
Rep Power: 8
lejonetfrannorden is on a distinguished road
Quote:
Originally Posted by LaurentvdB View Post
What kind of simulation are you doing (RANS/Euler/Compressible/Incompressible/?)? Is your SU2 mesh 2D or 3D?

In case of compressible flow, there is a parameter AOA (Angle of Attack) that you can use to directly set the angle. I am not sure whether the compressible solver uses the FREESTREAM_VELOCITY at all (see config_template.cfg in the root folder).
Hello Laurent,

Sorry, I was not clear enough. My mesh is 3D and I am using incompressible solver with RANS - SA turbulence model, hence the freestream velocity. I do not experience the aformentioned problem in 2D case.

Regards,
LejonetFranNorden
lejonetfrannorden is offline   Reply With Quote

Old   May 23, 2018, 21:03
Default
  #4
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 13
hlk is on a distinguished road
From your description, I'm not sure if you mean that it is printing out text saying that the sideslip is 6 degrees, or if the resulting velocity vectors have a sideslip angle in the resulting volume solution. If the former, it sounds like you probably have it set up correctly and it's just a terminology difference.


The assumed coordinate system for wings has the y direction pointing along the span ("port" in your description), with the z direction up and the x in the streamwise direction. This is an industry convention, it's pretty much arbitrary (like how sometimes we joke that the 0th law of fluid dynamics is that flow goes from left to right).



Since the code has no way of differentiating what orientation your wing is in, or even that it is a wing, the print-out of whether it is a sideslip or angle of attack is likely based on the standard aviation coordinate system, which would assume that the 2nd coordinate is along the direction of the wing span. This would not effect the eventual volume solution, just which word is used in the text output.



If this is what the problem is, then your Cl, Cd, and Csideforce will be correspondingly flipped around to different axes.

Note that if the reference area is being automatically computed, it is the projection in the z axis for 3D geometries, so to get the correct nondimensionalization for lift/drag coefficients you will need to either input the reference area manually or reorient your mesh.
hlk 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
[Scripting]: How to get the coordinates of a 2D airfoil @ different angles of attack? CfdIntro Main CFD Forum 2 December 12, 2017 10:23
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
[General] Spherical Coordinates Bing ParaView 0 June 10, 2014 07:58
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Coordinate's tranformation tommy FLUENT 0 February 13, 2004 02:19


All times are GMT -4. The time now is 05:03.