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

[General] Surface integral and plotting of value along axis

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 5, 2017, 10:01
Default Surface integral and plotting of value along axis
  #1
Member
 
Lennart
Join Date: Feb 2016
Posts: 46
Rep Power: 10
elmo555 is on a distinguished road
Dear Foamers,

I'd like to integrate my drag calculation along an axis (in this case the x-axis) in order to plot it over the length of my object. The drag (pressure drag) is calculated in the following way:

paraview.png

The calculator just computes Normals_X*p.

Now instead of integrating over the entire surface at once, I'd like to progress the integration in x-direction while storing all the intermediate values. These could then be plotted to obtain results similar to the ones I found in literature:

ref.png

Your help is appreciated, thanks!
elmo555 is offline   Reply With Quote

Reply

Tags
drag, line integral, openfoam, visualization


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



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