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

Troubleshooting - Airfoil 2D case using simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2020, 23:57
Unhappy Troubleshooting - Airfoil 2D case using simpleFoam
  #1
New Member
 
Juan Han NG
Join Date: Nov 2020
Posts: 1
Rep Power: 0
Jh97 is on a distinguished road
Hi all,


I hope for some help to troubleshoot my simulation case. The results seem very weird where the residuals of pressure oscillates and the flow field in paraview looks unsteady (See attached figures).






The setup is listed below:
Turbulence Model: SpalartAllmaras
Re = 1e5
Airfoil: NACA4412



dynamic pressure

Quote:
boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
freestream
{
type fixedValue;
value uniform 0;
}
airfoil
{
type zeroGradient;
}
defaultFaces
{
type empty;
}
}

Velocity
Quote:
boundaryField
{
inlet
{
type fixedValue;
value uniform ( 1.46 0 0 );
}
outlet
{
type zeroGradient;
}
freestream
{
type fixedValue;
value uniform ( 1.46 0 0 );
}
airfoil
{
type noSlip;
value uniform ( 0 0 0 );
}
defaultFaces
{
type empty;
}
}

nut
Quote:
{
inlet
{
type freestream;
freestreamValue uniform 0;
value uniform 0;
}
outlet
{
type freestream;
freestreamValue uniform 0;
value uniform 0;
}
freestream
{
type freestream;
freestreamValue uniform 0;
value uniform 0;
}
airfoil
{
type nutUSpaldingWallFunction;
value uniform 0;
}
defaultFaces
{
type empty;
}
}

nuTilda
Quote:
{
inlet
{
type freestream;
freestreamValue uniform 1.46e-05;
value uniform 1.46e-05;
}
outlet
{
type freestream;
freestreamValue uniform 1.46e-05;
value uniform 1.46e-05;
}
freestream
{
type freestream;
freestreamValue uniform 1.46e-05;
value uniform 1.46e-05;
}
airfoil
{
type fixedValue;
value uniform 0;
}
defaultFaces
{
type empty;
}
}

checkMesh
Quote:
Checking geometry...
Overall domain bounding box ( -39.5912 -0.01 -40 ) ( 80 0.01 40 )
Overall domain volume 177.611
Mesh has 2 geometric (non-empty/wedge) directions ( 1 0 1 )
Mesh has 2 solution (non-empty) directions ( 1 0 1 )
All edges aligned with or perpendicular to non-empty directions.
Boundary openness ( 8.5522e-20 -1.35312e-15 -1.99324e-19 ) OK.
Max cell openness = 2.95391e-16 OK.
Max aspect ratio = 663.526 OK.
Minimum face area = 3.96081e-07. Maximum face area = 0.218572. Face area magnitudes OK.
Min volume = 7.92163e-09. Max volume = 0.00437143. Total volume = 177.611. Cell volumes OK.
Mesh non-orthogonality Max: 61.7016 average: 6.45041
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 0.923873 OK.
Coupled point location match (average 0) OK.

Mesh OK.

fvscheme
Quote:
ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
}

divSchemes
{
default Gauss linear;
div(phi,U) bounded Gauss linearUpwind grad(U);
div(phi,nuTilda) bounded Gauss linearUpwind grad(nuTilda);
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default Gauss linear corrected;
}

interpolationSchemes
{
default linear;
}

snGradSchemes
{
default corrected;
}

wallDist
{
method meshWave;
}

fvsolution
Quote:
solvers
{
p
{
solver GAMG;
tolerance 1e-06;
relTol 0.1;
smoother GaussSeidel;
agglomerator faceAreaPair;
mergeLevels 1;
cacheAgglomeration true;
nCellsInCoarsestLevel 200;
nPreSweeps 0;
nPostSweeps 2;
nFinestSweeps 2;
minIter 1;
}

U
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-08;
relTol 0.1;
}

nuTilda
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-08;
relTol 0.1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 0;
pRefCell 0;
pRefValue 0;

residualControl
{
p 1e-5;
U 1e-5;
nuTilda 1e-5;
}
}

relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
nuTilda 0.7;
}
}

If anyone has any idea on the possible reason for this unsteady behavior of flow, please kindly comment here!
Attached Images
File Type: png Screenshot from 2020-11-27 12-44-20.png (8.3 KB, 10 views)
File Type: png Screenshot from 2020-11-27 12-55-14.png (72.5 KB, 14 views)
Jh97 is offline   Reply With Quote

Reply

Tags
airfoil 2d, naca4412, simple foam, spalart allmaras model, unsteady


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
Airfoil with simpleFoam and kOmegaSST: high drag values? Tsiolkovsky OpenFOAM Running, Solving & CFD 6 November 21, 2018 05:56
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
Forces for airfoil test case Martin_ OpenFOAM Running, Solving & CFD 1 July 2, 2012 11:58
Solving 2D airfoil case using simpleFoam boongsin12 OpenFOAM Running, Solving & CFD 17 November 28, 2011 10:18
Example subsonic airfoil case doug OpenFOAM Running, Solving & CFD 1 September 9, 2010 17:24


All times are GMT -4. The time now is 14:37.