CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Lift and Drag and stressComponents (https://www.cfd-online.com/Forums/openfoam-solving/60465-lift-drag-stresscomponents.html)

maritozzo October 8, 2005 05:40

Hi guys thanks for all the hin
 
Hi guys thanks for all the hints you gave me,now i can run rhoSimpleFoam solver and it gives good results, but now i have a new problem.
I'm triyng to test OpenFoam comparing the results it gives in naca0012 profile analisys, i need to calculate lift and drag coefficients but for the drag coefficient it always gives me zero.
When i run the application it needs transport properties so i insert the file in the constant directory maybe i need to specify some more files?

So i decided to visualize stressComponents but when i run this application it says that there is a dimensional difference between the two members of the equation.

Someone can give me some hints?

mattijs October 10, 2005 05:42

Probably the liftDrag app does
 
Probably the liftDrag app does not pick up your reference length and area correctly. You might need to have a look at the application itself and change its calculation.

maritozzo October 14, 2005 06:49

I Mattijs i looked at the appl
 
I Mattijs i looked at the application and i saw that if i calculate the value

(pressureCoeff + viscousCoeff) & flowDirection)

two times before the return it gives a drag coefficient different from zero(I don't know if it is good or not but it's a value). otherwise it gives a value that seems to be casual


All times are GMT -4. The time now is 07:57.