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

Need help in airfoil simulation by OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2018, 01:42
Default Need help in airfoil simulation by OpenFOAM
  #1
New Member
 
kevin
Join Date: Nov 2018
Posts: 6
Rep Power: 8
kevin.pku is on a distinguished road
Hello everyone,

I am a new guy in OpenFOAM. I did a 2D airfoil simulation by OpenFOAM. Unfortunately, the airfoil drag coefficient from the simulation is negative, this
is unphyiscal. I tried my best but still can not find the reason. It may be
caused by the mesh generation, case setup, or postprocessing setup. Could anyone help me? Thank you.

1. The mesh of the airfoil is a C-Mesh. In order to run the .msh file in OpenFOAM, I extrude the 2D airfoil mesh to 3D, in which I keep the boundary setup of OUTFLOW, WALL and FRONTANDBACK, but remove the INLET.

2. The setup of the initial velocity and pressure in the 0/U file is as follows:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (6.894 1.216 0);

boundaryField
{
OUTFLOW
{
type freestream;
freestreamValue uniform (6.894 1.216 0);
}
FRONTANDBACK
{
type empty;
}

WALL
{
type noSlip;
}


}

3. The AoA is 10 deg, and the initial Re is about 1e+7.

4. The setup of function for calculating force coefficients in the system/controlDict file is as follows

functions
{

forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (wall);
log true;
rho rhoInf;
rhoInf 1;
CofR (0 0 0);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (0 0 1);
magUInf 7;
lRef 1;
Aref 1;
writeControl timeStep;
writeInteval 100;
}
};


5. The results of Cm, Cd, Cl are as follows

Cm = 4.613587e-01
Cd = -1.192186e-01
Cl = 1.315706e+00
kevin.pku is offline   Reply With Quote

Old   November 18, 2018, 13:43
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
How large is your C diameter in relation to the chord length of the blade?
How 'converged' is your result?
What does your streamlines over the blade look like?
yambanshee 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
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
Airfoil 2D cfd simulation Cocorito90 OpenFOAM Running, Solving & CFD 14 December 19, 2016 04:43
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 5, 2016 04:18
OpenFoam Airfoil simulation - replacing Fluent with OpenFOAM shereez234 OpenFOAM Running, Solving & CFD 1 November 3, 2015 04:54
Airfoil simulation using moving wall Alejandro Fidelity CFD 9 November 4, 2008 03:00


All times are GMT -4. The time now is 18:04.