|
[Sponsors] |
Lift drag forces and coefficients in OpenFOAM |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 10, 2020, 09:16 |
Lift drag forces and coefficients in OpenFOAM
|
#1 |
New Member
Join Date: May 2020
Posts: 12
Rep Power: 6 |
Hi all
I am studying wake downstream of a cylinder using LES. I am calculating LIFT and DRAG coefficient using both "forcecoeff" function and "force" function but I can not get similar results. This is my "force" and "force coefficient" functions : forces_object { type forces; functionObjectLibs ("libforces.so"); enabled true; //writeControl outputTime; writeControl adjustableRunTime; writeInterval 0.001; patches ("cylinder"); pName p; Uname U; ////Density only for incompressible flows rho rhoInf; rhoInf 1000; ////Centre of rotation CofR (0 0 0); } /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// forceCoeffs1 { // Mandatory entries type forceCoeffs; libs ("libforces.so"); patches ("cylinder"); // Optional entries // Field names p p; U U; rho rhoInf; rhoInf 1000; // Reference pressure [Pa] pRef 0; // Include porosity effects? porosity no; // Store and write volume field representations of forces and moments writeFields no; // Centre of rotation for moment calculations CofR (0 0 0); // Lift direction liftDir (0 1 0); // Drag direction dragDir (1 0 0); // Pitch axis pitchAxis (0 0 1); // Freestream velocity magnitude [m/s] magUInf 0.5; // Reference length [m] lRef 0.25; // Reference area [m2] Aref 0.00625; writeControl adjustableRunTime; writeInterval 0.001; } //////////////////////////// I use a Python script to calculate Lift and Drag forces which simply add pressure and viscous forces in "force.dat" file for horizontal and vertical direction. Now when I use formula CL=Lift /(0.5*rho*U^2*Aref) or CD=Drag /(0.5*rho*U^2*Aref) using the same Aref I determined in forceoeff function, I get different results. I do not know why? Any one have any idea? Thank you in advance. Best |
|
June 7, 2022, 14:37 |
|
#2 | |
Member
zink
Join Date: Oct 2015
Posts: 30
Rep Power: 11 |
Hi,
I am facing a similar issue, even though, my area and length dimensions are also correct. But the results of the force coefficient and forces file don't match. Any leads will be helpful. Regards, Quote:
|
||
August 15, 2022, 12:13 |
|
#3 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
I have met the same problem. I am doing a 2D problem. I found the dimensionless calculation is correct, the dimension varies far away.!!!
|
|
September 17, 2022, 11:53 |
|
#4 |
New Member
Join Date: Sep 2020
Posts: 28
Rep Power: 6 |
||
September 17, 2022, 12:30 |
|
#5 |
Member
Join Date: May 2010
Posts: 74
Rep Power: 16 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculation of lift and drag coefficients on airfoil | CoolHersheys | OpenFOAM Post-Processing | 5 | September 27, 2021 07:04 |
Unable to calculate lift and drag coefficients and forces using icoFaom | EssKay | OpenFOAM Running, Solving & CFD | 3 | September 24, 2020 16:58 |
Lift and Drag Coefficients Too High | SteveFRUCD | STAR-CCM+ | 1 | September 30, 2019 10:27 |
getting wrong forces and force coefficients in openfoam | maddy11 | OpenFOAM | 2 | January 23, 2019 02:09 |
drag and lift coefficients in axisymmetric and 3D simulations! | CFD-Lover | OpenFOAM Running, Solving & CFD | 0 | July 1, 2017 17:33 |