CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   change angle of attack in aerofoil (https://www.cfd-online.com/Forums/openfoam/66770-change-angle-attack-aerofoil.html)

nicchani July 23, 2009 15:46

change angle of attack in aerofoil
 
Hi, I would like to know if it is possible to change the angle of attack of an aerofoil in OpenFOAM. I've been told that it's possible in Fluent so I guess there must be something similar in OpenFOAM. Thanks!

Mehrdad July 26, 2009 03:42

Hi,

I am not an experienced user of OpenFOAM. But, I think It is just a matter of changing your B.Cs in the OpenFOAM.

Good luck

naveen August 4, 2009 04:29

angle of attack
 
hi nicchani

Hi, yes it is possible to change the angle of attack of an aerofoil in OpenFOAM too like fluent. just change in the 0 directory there is file named called velocity "u", just change according to your velocity like 51*cos(2) along x direction and 51*sin(2) along y direction as u required for different angle of attacks ( example i have given 2 is the angle of attack) calculate from these cos and sin put those values in the file "u"....

nicchani August 4, 2009 05:09

ok, thanks to both of you for your help! I will try the sin and cos method :)

deepaktbabu April 4, 2012 08:42

hey naveen,
why is 51 there in the equation ?

naveen April 5, 2012 22:40

change angle of attack in aerofoil
 
dear deepaktbabu,

It is the velocity what you are taking from Mach number...just i have given velocity reference for mach number at 0.3...you can give ur velocity depends on ur mach number..

deepaktbabu April 6, 2012 05:39

thank you :)

andrei.cimpoeru March 16, 2013 08:08

I am not quiet sure because one will be bigger and one will be lower for example the cos bit is bigger than the sin bit.......

s.m July 11, 2013 15:06

Quote:

Originally Posted by naveen (Post 353379)
dear deepaktbabu,

It is the velocity what you are taking from Mach number...just i have given velocity reference for mach number at 0.3...you can give ur velocity depends on ur mach number..

Dear Naveen, when we have three element airfoil, we should add the angle of attack to deflection angle of each of them,e.g the main element has 0 degree angle and the flap(another element of three element airfoil) has 30 degree angle.
what should we write for liftDir and dragDir in controlDict according to their angles?

najiba.ae.mist@gmail.com November 14, 2020 04:51

Angle of attack for LES in openfoam using pointwise mesh
 
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (0 0 0);

boundaryField
{
inlet
{
type turbulentInlet;
referenceField uniform (10 0 0);
fluctuationScale (0.02 0.01 0.01);
value uniform (10 0 0);
}

outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);

}

upperWall
{
type noSlip;
}

lowerWall
{
type noSlip;
}

frontAndBack
{
type empty;
}
}

// ************************************************** *********************** //
if this my u file should i put values ucos2 and usin2 for AOA=2? in the highlighted part only ?


All times are GMT -4. The time now is 19:20.