mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Rotor source - corrected definition of Cl/Cd for series profile
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -48,7 +48,7 @@ Foam::scalar Foam::seriesProfile::evaluate
|
|||||||
|
|
||||||
forAll(values, i)
|
forAll(values, i)
|
||||||
{
|
{
|
||||||
result += values[i]*cos((i+1)*xIn);
|
result += values[i]*sin((i + 1)*xIn);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,8 +28,8 @@ Description
|
|||||||
Series-up based profile data - drag and lift coefficients computed as
|
Series-up based profile data - drag and lift coefficients computed as
|
||||||
sum of cosine series
|
sum of cosine series
|
||||||
|
|
||||||
Cd = sum_i(CdCoeff)*cos(i*AOA)
|
Cd = sum_i(CdCoeff)*sin(i*AOA)
|
||||||
Cl = sum_i(ClCoeff)*cos(i*AOA)
|
Cl = sum_i(ClCoeff)*sin(i*AOA)
|
||||||
|
|
||||||
where:
|
where:
|
||||||
AOA = angle of attack [deg] converted to [rad] internally
|
AOA = angle of attack [deg] converted to [rad] internally
|
||||||
|
|||||||
Reference in New Issue
Block a user