CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] calculate drag coefficient in postProcessing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2017, 06:06
Default calculate drag coefficient in postProcessing
  #1
Member
 
mo_na's Avatar
 
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10
mo_na is on a distinguished road
Dear all,

I am trying to calculate the drag coefficient for a body, that is doing a pitch motion in regular waves. (I attached a sketch to give you an idea of the setup.)

Drag coefficient: cd=2*Fd/(rho*U*|U|*A)
Fd: Drag force, calculated with forces function
A: reference area
rho: density

I figured that I can't use the forceCoeffs function, because U is not the free stream velocity in this case, but the relative velocity between the body and the fluid particles.
So the velocity I need here is U=u(t)-v(t), where u(t) is the flow velocity in drag direction (x) and v(t) the velocity of the body, also in x-direction. (Please correct me if I am wrong here)

Now I am wondering if any of you have some advice how to obtain those two values.

1)u(t)
This value varies throughout the flow filed around the body, so should I set several probes and then take an average value or try to pick a characteristic point?

2)v(t)
I am already outputting the angular velocity omega of the body. With v=omega*radius I will obtain the tangential velocity. But how can I obtain the x-component from that?


My plan is to calculate cd(t) in postprocessing with all these above values.
Any suggestions on how to do this are very appreciated!

Cheers,
Mona
Attached Images
File Type: png dynamicmesh.png (39.4 KB, 11 views)
mo_na 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
Unrealistic value for drag coefficient tw463 Main CFD Forum 13 May 10, 2020 15:59
drag coefficient in ansys fluent 12.0 krishna FLUENT 19 April 12, 2018 00:49
how to calculate coefficient of drag emregungor FLUENT 0 July 22, 2015 05:48
How can I calculate force for lift coefficient and drag coefficient ? gemxx CFX 3 July 4, 2015 08:37
is it possible to calculate drag coefficient of sphere anlaytically? S.Rhee Main CFD Forum 0 December 8, 2014 00:32


All times are GMT -4. The time now is 06:47.