|
[Sponsors] |
[General] Calculation of accumulated drag on bodies in Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 2, 2014, 03:54 |
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 |
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 |
|
October 3, 2014, 02:24 |
clarification
|
#2 |
New Member
Jan Östh
Join Date: Feb 2012
Location: Gothenburg/Sweden
Posts: 17
Rep Power: 14 |
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. |
|
November 3, 2014, 05:32 |
|
#3 | |
New Member
Jan Östh
Join Date: Feb 2012
Location: Gothenburg/Sweden
Posts: 17
Rep Power: 14 |
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:
|
||
|
|
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 |