CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How does libforces.so work? Forces and Coefficients

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2013, 12:09
Default How does libforces.so work? Forces and Coefficients
  #1
Member
 
Join Date: Jul 2013
Posts: 98
Rep Power: 13
HHOS is on a distinguished road
Hello;

I am just trying to understand how OpenFOAM works and I started with the calculation of Forces and Drag and Lift coefficients, which is pretty common thing, I guess.

When I set up a case in Fluent, I plot the drag and lift coefficients, but I "cheat" the software, so to speak, changing the Reference values so that the Coefficient is the same as the force and I can monitor directly the forces easily.

So I tried the same in OpenFOAM, changing the Rho=1, lref=1, Aref=2 and so on, and even if the results are really close regarding the number, the exponent doesn't fit, so I am wondering if I have done some kind of mistake in another simulations... The difference is 1000, so...

What I got:

Cd 9.61567598E-08 Fx 9.598367763E-05
Cl 4.250502218E-10 Fy 4.2428513135E-07


Let's see if someone has ever thought about it
HHOS is offline   Reply With Quote

Old   August 1, 2013, 12:43
Default
  #2
Senior Member
 
Artur's Avatar
 
Artur
Join Date: May 2013
Location: Southampton, UK
Posts: 372
Rep Power: 20
Artur will become famous soon enough
Depending on the solver you are using, the rhoInf might not be used by the calculator but rather you will be shown force/unit density (calculated from the pressure/density) if I am not mistaken. So if you are, for instance, using simple algorithm for an incompressible fluid then that could explain the difference.
Artur is offline   Reply With Quote

Old   August 2, 2013, 03:39
Default
  #3
Member
 
Join Date: Jul 2013
Posts: 98
Rep Power: 13
HHOS is on a distinguished road
Well, since the fluid that I am using is water, I have thought about that, but the results that I have from a previous calculation seem to fit perfectly with those that I got in Fluent, which are for sure in Newtons.

Code:
                                     Pressure Forces                                      Viscous Forces                                       

                       ---------------------------------------------   --------------------------------------------- 
CALCULATED WITH FLUENT (7.1568559e-07 -2.1600499e-12 -4.6092907e-11)   (1.0075142e-06 6.5814021e-13 6.7834627e-12)  

AFTER 10000 ITERATIONS
WITH OPENFOAM          (7.4138412e-07 -1.54826353-12 -4.8549109e-11)   (1.0146894e-06 6.8149384e-13 -4.520761e-11)
The only difference between the cases, is that in the one that fits I set up a laminar flow, and in the other one I set it up with the Spalart-Almaras... But in both cases the solver was "simpleFoam", so, something doesn't make too much sense here...

I hope that OpenFOAM gives the results in the same units, whichever they are!!!
HHOS is offline   Reply With Quote

Reply

Tags
force coefficients, force library, forces and force coeff.


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
Forces on cylinder in Openfoam krsp OpenFOAM Post-Processing 29 April 8, 2017 12:05
Obtaining Forces and Force Coefficients ShuToshio OpenFOAM 3 July 25, 2012 01:05
Forces for airfoil test case Martin_ OpenFOAM Running, Solving & CFD 1 July 2, 2012 12:58
Forces and Coefficients jferrari OpenFOAM Running, Solving & CFD 8 June 13, 2012 07:23
[Fluent] Aerodynamic Forces and Coefficients in 180-grid info_bahaider FLUENT 0 January 4, 2012 05:28


All times are GMT -4. The time now is 14:00.