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

How to explain the lift force in SU2's source code?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2022, 23:27
Question How to explain the lift force in SU2's source code?
  #1
New Member
 
Jay Wee
Join Date: Oct 2022
Posts: 6
Rep Power: 3
jaywee is on a distinguished road
I know the drag always aligns with the freestream direction, so it is quite easy to compute drag by:
drag = <total force vector> * <unit vector of freestream direction>


However, the lift force's direction is not obvious. I think the lift formula should be
<lift vector> = <total force vector> - drag * <unit vector of freestream direction>
then the magnitude of lift could be got by

lift = sqrt(<lift vector> * <lift vector>), which is a complex formula.


But in the SU2's code, the lift formula is very simple: (click here to check source code: https://github.com/su2code/SU2/blob/...Base.inl#L1979)

InvCoeff.CL[iMarker] = -ForceInviscid[0] * sin(Alpha) + ForceInviscid[2] * cos(Alpha);


It looks strange to me, b/c lift has no dependence on Beta. Anyone could help to explain or post some reference link? Thanks.

Last edited by jaywee; October 11, 2022 at 08:17.
jaywee is offline   Reply With Quote

Old   October 22, 2022, 12:59
Default
  #2
Member
 
Ercan Umut
Join Date: Aug 2022
Posts: 41
Rep Power: 3
CleverBoy is on a distinguished road
As a graduate student I am really not sure about this but I guess they are taking normal and axial force's coefficients and using them on the lift and drag calculations. When I first saw the eqns. in code I tought they reminded me of something and found them on the Anderson's Fundamentals of Aerodynamics book. I attached 2 pictures as reference. In my opinion, they are not as easy as they look, at first glance at least you get to used to them in time.
Attached Images
File Type: jpeg anderson2.jpeg (57.3 KB, 46 views)
File Type: jpeg anderson.jpeg (116.6 KB, 41 views)

Last edited by CleverBoy; October 22, 2022 at 16:02.
CleverBoy is offline   Reply With Quote

Old   October 23, 2022, 20:38
Default
  #3
pcg
Senior Member
 
Pedro Gomes
Join Date: Dec 2017
Posts: 465
Rep Power: 13
pcg is on a distinguished road
The result of <force vector> - drag * <drag direction> is not the lift vector, but rather lift + sideforce
pcg is offline   Reply With Quote

Reply

Tags
lift, source code, su2


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
[Other] How to use finite area method in official OpenFOAM 2.2.0? Detian Liu OpenFOAM Meshing & Mesh Conversion 4 November 3, 2015 03:04
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 09:58.