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

[General] Calculation of accumulated drag on bodies in Paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 2, 2014, 03:54
Default Calculation of accumulated drag on bodies in Paraview
  #1
New Member
 
Jan Östh
Join Date: Feb 2012
Location: Gothenburg/Sweden
Posts: 17
Rep Power: 14
Jan.Östh is on a distinguished road
Dear all

I'm planning to do some pre-processing of external aerodynamics cfd simulations in Paraview. I have figured out how to compute the pressure drag in Paraview, and the friction drag shouldn't be any problem either.

My question regards the calculation of the accumulated drag over a body, that is, to compute the drag on the body as a function of the body's length. Does anyone know if it is possible to combine filters to get this, or if there's a pre-defined filter that can be used.

Best regards
Jan
Jan.Östh is offline   Reply With Quote

Old   October 3, 2014, 02:24
Default clarification
  #2
New Member
 
Jan Östh
Join Date: Feb 2012
Location: Gothenburg/Sweden
Posts: 17
Rep Power: 14
Jan.Östh is on a distinguished road
To be a little more general for those of you not familiar to the concept of cumulative drag on bodies, I will try to explain in general terms what I want to accomplish.

I have a closed body surrounded by the fluid flow. The streamwise direction is aligned with the x-axis in a Cartesian coordinate system. On the body I have a property F = F(x,y,z) for all (x,y,z) on the body.

The function F_acc = F_acc(x'), which is what I want to compute, is then given by the integral equation F_acc(x') = Int_{delta Body(x')} F dS

Here, the surface "delta Body(x')" is a subset of the original body, defined by the local coordinate x'.
x' starts at the front of the body and extends downstream in the direction of the x-axis in the global coordinate system. Thus, for instance, delta Body(x' = 0.5) represents cutting the original body in half and keeping the front part.

The question regards if it's possible in a easy way to compute the integral Int_{delta Body(x')} F dS in Paraview.

I see a way to do this the 'manual' way, just by slicing up the body into pieces and doing an integration over each piece, and then collecting the results from each integration into a plot, however, it's a bit inconvenient.

Any tips are welcomed.

Last edited by Jan.Östh; October 3, 2014 at 04:47.
Jan.Östh is offline   Reply With Quote

Old   November 3, 2014, 05:32
Default
  #3
New Member
 
Jan Östh
Join Date: Feb 2012
Location: Gothenburg/Sweden
Posts: 17
Rep Power: 14
Jan.Östh is on a distinguished road
I just found out that this feature is already present as an in-built run-time post processing in OpenFOAM v.2.2 and later versions:

http://www.openfoam.org/version2.2.0...processing.php

Quote:
updated forces - forces and force coefficients can now be additionally written into data bins, along a user-defined direction, as shown below for the motorbike tutorial case:
I was still using v2.1.
Jan.Östh 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
Source Code: Calculation of Drag Friendly OpenFOAM Programming & Development 0 October 17, 2017 10:29
drag and lift calculation of a cylinder in wind tunnel fewgoodmen Main CFD Forum 4 February 24, 2014 16:05
Boundary condition and drag calculation. Kwame George Main CFD Forum 0 November 12, 2005 11:15
Drag calculation from Navier stokes equat SONA Main CFD Forum 0 August 9, 2004 16:14


All times are GMT -4. The time now is 04:55.