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

Calculate spanwise lift and drag distribution

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2023, 04:10
Question Calculate spanwise lift and drag distribution
  #1
35k
New Member
 
Hannes
Join Date: Nov 2020
Posts: 2
Rep Power: 0
35k is on a distinguished road
Greetings fellow CFD lovers and Tecplot experts,

I am currently analyzing the flow around a three dimensional airfoil + flap configuration, using DLR TAU as the flow solver. I obtain the surface solution for both airfoil and flap, with multiple output variables, primarily c_p and c_f for my case.

For my analysis, I want to plot the spanwise distribution of the lift and drag coefficients. From my understanding, that should be possible with the given surface solution and variables. I am using Tecplot for postprocessing, but also have access to Matlab if necessary.

Any ideas on how to achieve that? That specific problem came up a few times in different forums, yet with no satisfactory answer. Thanks for any advice!

Last edited by 35k; September 17, 2023 at 04:11. Reason: Typo
35k is offline   Reply With Quote

Old   September 21, 2023, 15:28
Default
  #2
Senior Member
 
Scott Fowler
Join Date: May 2009
Posts: 119
Rep Power: 17
wsfowler is on a distinguished road
We have a Python script on our GitHub site which should accomplish what you want: https://github.com/Tecplot/handyscri...nts_VS_Span.py

The script has some hard coded values between lines 234-257 that will need to be adjusted for your data. These values work with the OneraM6 dataset that is included in the 360 installation.

This script requires PyTecplot, which in turn requires a Tecplot 360 license with active maintenance.

The general idea is:
1) Compute Pressure XYZ components using the mesh normal direction
2) Extract a bunch of slices in the spanwise direction
3) Integrate the Pressure XYZ components for each slice
4) Create a new linear zone to store the integrated results vs. slice locations and plot the results

If you have active maintenance you can also contact our suppor staff for more help.

Scott
wsfowler is offline   Reply With Quote

Reply

Tags
calculate distribution, integrate coefficients, postprocess, spanwise distribution, tecplot


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
How to calculate lift, drag and lift distribution in Star CCM+? israelcasillas94 STAR-CCM+ 4 November 6, 2020 08:35
How does FLUENT calculate lift and drag? xTamx420 FLUENT 0 May 30, 2011 13:35
how to calculate mean value of lift and drag aamer Main CFD Forum 9 December 21, 2010 00:23
spanwise lift distribution plot Vincent FLUENT 2 May 5, 2006 00:55


All times are GMT -4. The time now is 00:59.