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

Effect of SampleDict on forceCoeffs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 9, 2014, 07:23
Default Effect of SampleDict on forceCoeffs
  #1
New Member
 
Shantanu Kale
Join Date: Dec 2013
Posts: 25
Rep Power: 12
shantanukale is on a distinguished road
Hello....
I am simulating flow over a circular cylinder using OpenFOAM. Everything is going well except values of cl and cd and Strouhal number.
I have two primary questions:
1. Is there any effect of SampleDict file on calculation of force co-efficients?
2. If there 2 in-line or side-by-side cylinders, how to calculate lift and drag for the two cylinders separately...

Thanks a lot in advance.....
shantanukale is offline   Reply With Quote

Old   May 12, 2014, 06:51
Default
  #2
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 13
achyutan is on a distinguished road
Hi,

for your first question, answer is NO. force coefficients are calculated by runtime function objects whereas sampling is a part of post processing.

It is possible to calculate lift,drag over individual surfaces separately. It needs slight modification in forces.C/forceCoeffs.C.
However, your problem seems to be different. If you are not getting correct cl, cd values, you have check for convergence and other issues. Plotting Cp would be a better indicator.
If you need help regarding your pursuit for answering 2nd question, I would be ready to help you.

kind regards
achyutan is offline   Reply With Quote

Old   May 12, 2014, 07:46
Default
  #3
New Member
 
Shantanu Kale
Join Date: Dec 2013
Posts: 25
Rep Power: 12
shantanukale is on a distinguished road
Thanks a lot for your kind reply..
Could you please tell me how should I calculate Cp in openfoam? I tried using paraview calculator. However, I got only one value. How to calculate other values?
I have one more issue with my simulations. The Strouhal number I calculate from lift co-efficient is exactly the half of expected. I am running non-dimensional simulations. Kindly reply..

Thank you once again.
shantanukale is offline   Reply With Quote

Old   May 13, 2014, 05:57
Default
  #4
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 13
achyutan is on a distinguished road
Hi,
There are many threads available in the forum regarding Cp calculation from paraview/parafoam. I suggest you better take out the pressure data on the cylinder surface by sampling and calculate Cp in excel/matlab or any other suitable tool.

First check out your Cp profile and check for convergence of your solution by plotting the residuals. There could be other issues which can be reasons for mismatch of your strouhal number.

I guess you must have integrated the pressure over cylinder surface in the paraview calculator and hence you are getting a single value.
kind regards
achyutan is offline   Reply With Quote

Old   May 13, 2014, 07:08
Default
  #5
New Member
 
Shantanu Kale
Join Date: Dec 2013
Posts: 25
Rep Power: 12
shantanukale is on a distinguished road
Thank u once again. I found one tutorial in FLUENT. They have multiplied the frequency obtained by 2 to obtain exact Strouhal number. Is that the right way to do?
One more doubt, what should be the changes in the forceCoeffs.C file so that I can compute cl and cd separately for both the cylinders.

Thank You....
shantanukale is offline   Reply With Quote

Old   May 15, 2014, 06:10
Default
  #6
Member
 
Join Date: Sep 2012
Posts: 60
Rep Power: 13
achyutan is on a distinguished road
Hi,
Strouhal number definition can differ in the sense that some literature give it as fd/U and in some papers it is defined as fd/2U. So, it depends on which definition u are following for your values to match with validated results.
If you
kind regards
achyutan is offline   Reply With Quote

Old   May 15, 2014, 06:30
Default
  #7
New Member
 
Shantanu Kale
Join Date: Dec 2013
Posts: 25
Rep Power: 12
shantanukale is on a distinguished road
Could you please let me know in which case which formula is applicable? I am unable to find any literature which is based on calculation of vortex shedding frequency from cl plot. Also, how to use FFT in OpenFOAM?

Thank you...
shantanukale 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
RNG diverged during the analysis the flow over a multi element airfoil, why? s.m OpenFOAM Running, Solving & CFD 0 August 5, 2013 08:39
modelling the effect of smear effect in Casing with Drilling babak1 Main CFD Forum 0 July 17, 2013 10:48
Can Flow-3D solve the Joule-Thomson effect? seasoul FLOW-3D 8 December 21, 2011 00:01
Can 'shock waves' occur in viscous fluid flows? diaw Main CFD Forum 104 February 16, 2006 05:44
VOF and strong surface tension effect phsieh2005 Main CFD Forum 1 August 30, 2005 06:56


All times are GMT -4. The time now is 16:34.