|
[Sponsors] |
March 21, 2011, 08:27 |
lift and drag coefficient of box
|
#1 |
Member
|
Hello!
I visualized turbulent flow around a box. I try to calculate lift and drag coefficients. In controlDict I add functions { forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; patches ( box ); rhoName rhoInf; log true; rhoInf 1.2041; CofR ( 0 0 0 ); liftDir (0 1 0); dragDir (0 0 1); pitchAxis (0 0 0); magUInf 4.0; lRef 0.8; Aref 0.64; } } At the end of time, I have a file forces. The results are wrong: Cd=-1.85 Cl=-12665 Size of box: fin is 0.8m Size of tunnel: fin is 5.6m, heigh is 2.4m Where I have a mistake? |
|
March 30, 2011, 11:12 |
|
#2 |
Member
|
Nobody has problems with problem like this?..
|
|
March 30, 2011, 11:44 |
|
#3 |
New Member
Fatih
Join Date: Sep 2010
Location: Hamburg
Posts: 12
Rep Power: 16 |
hi akuji,
if your simulation is 2D, then you have to check your Aref. lets say your 2D mesh is only 1 mm thick than you have to set your Aref Aref=lRef*thickness-of-mesh=0.8/0.001 Edit: Sorry, it should be Aref=0.8*0.001 not 0.8/0.001 Last edited by ang_dipl_ing_fd; March 31, 2011 at 07:15. |
|
March 31, 2011, 07:18 |
|
#4 | |
Member
|
Quote:
And...if my mesh is 3D? (It's really 3d) |
||
March 31, 2011, 16:28 |
|
#5 |
New Member
Fatih
Join Date: Sep 2010
Location: Hamburg
Posts: 12
Rep Power: 16 |
in openfoam it is always 3D. with 2D i meant that front and back patches are empty. the 3rd dimension is the thickness of the volume.
best regards |
|
April 7, 2011, 06:39 |
|
#6 |
Member
|
Well, I find a right solution. But I still have a question.
rhoName rhoInf; log true; rhoInf 1.2041; CofR ( 0 0 0 ); liftDir (0 -0.01 0); dragDir (0 0 1); pitchAxis (0 0 0); magUInf 4.0; lRef 0.8; Aref 0.64; Why I need to set liftDir 0.01? |
|
April 7, 2011, 06:51 |
|
#7 |
Member
|
And one more question
I find information, that wrong to calculate lift coefficient if square of windward surface is not equal of square of downwind surface. What to do in this case? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
lift & drag coefficient on airfoil | n. natik | FLUENT | 8 | March 31, 2015 20:02 |
Drag and Lift coefficient from Least square regression | tparente | Main CFD Forum | 1 | September 2, 2010 15:08 |
Drag coefficient & Lift coefficient?? | mehrdadeng | CFX | 15 | December 9, 2009 22:49 |
Automotive test case | vinz | OpenFOAM Running, Solving & CFD | 98 | October 27, 2008 09:43 |
drag and lift coefficient | Noé | Siemens | 5 | July 13, 2004 11:21 |