CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Lift and drag vs distance

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2021, 05:06
Default Lift and drag vs distance
  #1
Member
 
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 98
Rep Power: 13
ufocfd is on a distinguished road
Anyone done paraview scripting for lift and drag profiles vs distance for an aerodynamic body? Eg drag profile along the length of a body. It requires taking multiple slices and then integrating over the slices. Preferably including both viscous and pressure components of the lift and drag.
ufocfd is offline   Reply With Quote

Old   August 14, 2021, 09:21
Default
  #2
Member
 
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 98
Rep Power: 13
ufocfd is on a distinguished road
I managed to get this sorted (kind of) by clipping the surface of interest, and integrating on the clipped surface, and write the integrated result to an output file. Then using the paraview feature to "record test" created an XML file to repeat the process several times, changing the clip location each time. Its a bit of a fiddly process but it worked for the pressure force integration over a body.
ufocfd is offline   Reply With Quote

Reply

Tags
drag, lift, paraview, scripting


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
Calculation of lift and drag coefficients on airfoil CoolHersheys OpenFOAM Post-Processing 5 September 27, 2021 06:04
Lift and Drag at Transonic Speeds are Orders of Magnitude from realistic values ssa44 FLUENT 0 March 22, 2021 15:51
How to calculate lift, drag and lift distribution in Star CCM+? israelcasillas94 STAR-CCM+ 4 November 6, 2020 08:35
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
Correct lift but wrong pressure drag - possible? zx Main CFD Forum 4 July 27, 2007 23:38


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