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

[OpenFOAM] Calculating Lift and Drag in Paraview (paraFoam)

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 9, 2018, 06:54
Default coeff of Lift and Drag in paraview
  #21
New Member
 
Adarsh Singh
Join Date: Aug 2017
Posts: 2
Rep Power: 0
adasin is on a distinguished road
Hi,
Is it possible to calculate the cl and cd on the surface generated by immersed boundary method, in paraview? I have pressure value all over the surface.
adasin is offline   Reply With Quote

Old   January 31, 2018, 01:10
Default
  #22
New Member
 
mohammad amin adibipoor
Join Date: Jul 2017
Posts: 5
Rep Power: 8
amin.adibipoor is on a distinguished road
Quote:
Originally Posted by louisgag View Post
In 2D, you might want to try something like this in paraview on the surfaces you want to evaluate,

1. filter: generate surface normals (disable splitting, activate compute cell normals)
2. filter: calculator using something like this for moments : Normals_Y*p*yourDensity*(yourCoRx-16) + Normals_X*p*yourDensity*(yourCoRy-coordsY) replacing yourDensity and yourCoR* by appropriate values or simplify it to get forces
3. filter: integrate variables and look for the results of the integration in the table that appears

in the end this procedure gives you sum_cells(P*rho*A*norm_y)

I think this can be easily adapted to 3D.

cheers
Hi
Thanks for the tip
Only one question
What do you mean ba "yourDensity"? Body or water?
amin.adibipoor is offline   Reply With Quote

Old   January 31, 2018, 03:00
Default
  #23
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
The fluid, obviously, as you are looking for the forces exerted by it and using it's pressure...
louisgag is offline   Reply With Quote

Old   August 6, 2018, 01:33
Default
  #24
New Member
 
Chayanit Nigaltia
Join Date: Jan 2018
Posts: 29
Rep Power: 8
CHAYANIT is on a distinguished road
Are you not considering velocity in coefficients calculation?
CHAYANIT is offline   Reply With Quote

Old   August 6, 2018, 07:51
Default
  #25
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 338
Rep Power: 18
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Chayanit Nigaltia:


the formulas I gave give force/moment values.
If you want a specific coefficient you have to compute it from there.
louisgag is offline   Reply With Quote

Old   March 31, 2019, 10:47
Default
  #26
New Member
 
ok
Join Date: Mar 2019
Location: Bangladesh
Posts: 3
Rep Power: 7
Md. Rakib Hossain is on a distinguished road
Quote:
Originally Posted by scott View Post
I found a solution:

Extract Surfaces
Generate Surface Normals
Use the calculator to multiply pressure by the surface normals (Normals*p)

This then prints the values in the data tab at the right in three columns, one for each normal direction.

I then integrate these to get total forces on the area using Integrate Variables.

Let me know if you see any problems with this approach!

Cheers,

Scott
I just follow this procedure but the x component of force i.e. drag force shows a negative value.
Can you help?
Md. Rakib Hossain is offline   Reply With Quote

Old   August 22, 2019, 06:26
Default how to calculate drag force
  #27
New Member
 
Rajesh Dattatray Ingale
Join Date: Aug 2019
Posts: 1
Rep Power: 0
rajesh1155 is on a distinguished road
hi,
i getting drag coefficient 0.4066 and the drag force is 0.3411 N but by manual calculation i m getting 0.06N
please help me on this.
rajesh1155 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
Calculation of lift and drag coefficients on airfoil CoolHersheys OpenFOAM Post-Processing 5 September 27, 2021 06:04
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
calculating lift and drag coefficients _ running in parallel Mike_star OpenFOAM Programming & Development 1 April 4, 2016 11:16
[OpenFOAM] Display lift and Drag in paraview SamerAli ParaView 1 May 16, 2013 12:51
calculating drag and lift in fluent morteza08 FLUENT 4 December 13, 2012 15:34


All times are GMT -4. The time now is 01:31.