zeinelserfy |
October 9, 2019 07:00 |
simulating flow over naca0012 using LES (WALE subgrid model)
I am trying to run les simulation for flow over Naca0012 using WALE subgrid model.I first created the 3-D domain and run the case for steady state case using simpleFoam and then i used the converged solution as initial solution for the les by renaming the folder (6000 to 1e-5) then i decomposed the domain. I am using pimpleFoam for les simulation but the problem is that the simulation is not converging and the pressure equation solver reach the maximum no fo iteration (1000)without reaching a converged solution.
Is there any examples or have anyone worked on les for aerofoil ?
This the RANS results which is set as initial value for les
the velocity fields
https://www.simscale.com/forum/uploa...0ca7bb93a4.png
pressure fields
https://www.simscale.com/forum/uploa...c842bfbeb8.png
after running les simulation for few time step results seems to be not converged
the velocity field
https://www.simscale.com/forum/uploa...a082e3dd32.png
pressure field
https://www.simscale.com/forum/uploa...edba997015.png
boundary conditions
U
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (71.3 0 0);
boundaryField
{
aerofoil
{
type fixedValue;
value uniform (0 0 0);
}
top
{
type symmetryPlane;
}
bottom
{
type symmetryPlane;
}
inlet
{
type fixedValue;
value uniform (71.3 0 0);
}
outlet
{
{
type freestream;
freestreamValue uniform (71.3 0 0);
value uniform (71.3 0 0);
}
}
front
{
type cyclic;
}
back
{
type cyclic;
}
}
// ************************************************************************* //
p
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -2 0 0 0 0];
internalField uniform 0;
boundaryField
{
aerofoil
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
bottom
{
type symmetryPlane;
}
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
front
{
type cyclic;
}
back
{
type cyclic;
}
}
// ************************************************************************* //
nut
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 2 -1 0 0 0 0];
internalField uniform 0.3;
boundaryField
{
aerofoil
{
type zeroGradient;
}
top
{
type symmetryPlane;
}
bottom
{
type symmetryPlane;
}
inlet
{
type calculated;
value uniform 0.3;
}
outlet
{
type calculated;
value uniform 0.3;
}
front
{
type cyclic;
}
back
{
type cyclic;
}
}
// ************************************************************************* //
turbulence properties
Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.2.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object turbulenceProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType LES;
LES
{
LESModel WALE;
turbulence on;
printCoeffs on;
delta vanDriest;
vanDriestCoeffs
{
delta cubeRootVol;
cubeRootVolCoeffs
{
deltaCoeff 1;
}
Aplus 26;
Cdelta 0.158;
}
}
// ************************************************************************* //
the log files for the solver
Code:
PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 9.57422e-05, Final residual = 1.81812e-09, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.000310804, Final residual = 9.27005e-09, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.00020072, Final residual = 8.29752e-07, No Iterations 1
Setting residual field for first solver iteration for solver field: p
GAMG: Solving for p, Initial residual = 0.00708105, Final residual = 0.000695998, No Iterations 9
time step continuity errors : sum local = 6.92239e-12, global = -2.6458e-13, cumulative = -1.06871e-07
GAMG: Solving for p, Initial residual = 0.000863465, Final residual = 0.000201283, No Iterations 1000
time step continuity errors : sum local = 1.99187e-12, global = -5.66889e-14, cumulative = -1.06871e-07
ExecutionTime = 5589.05 s ClockTime = 11577 s
yPlus yPlus write:
writing field yPlus
patch aerofoil y+ : min = 0.00605518, max = 2.25921, average = 0.535984
wallShearStress wallShear write:
writing field wallShearStress
min/max(aerofoil) = (-1069.08 -49.9867 -4.19134), (647.826 514.472 4.15718)
functionObjects::vorticity vorticity1 writing field: vorticity
forceCoeffs forceCoeffs1 execute:
Coefficients
Cd : 0.0738408 (pressure: 0.0689114 viscous: 0.00492941)
Cs : 6.77456e-10 (pressure: -1.25113e-18 viscous: 6.77456e-10)
Cl : 3.00569 (pressure: 3.01024 viscous: -0.00454994)
CmRoll : -0.150284 (pressure: -0.150512 viscous: 0.000227497)
CmPitch : 0.933706 (pressure: 0.936566 viscous: -0.00286007)
CmYaw : 0.00369203 (pressure: 0.00344556 viscous: 0.000246471)
Cd(f) : -0.113364
Cd(r) : 0.187205
Cs(f) : 0.00369203
Cs(r) : -0.00369203
Cl(f) : 2.43655
Cl(r) : 0.569138
Courant Number mean: 0.000346019 max: 0.893467
deltaT = 7.73047e-08
Time = 8.04068e-06
PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 9.46517e-05, Final residual = 1.82501e-09, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.000308434, Final residual = 9.37502e-09, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.000199936, Final residual = 8.34842e-07, No Iterations 1
Setting residual field for first solver iteration for solver field: p
GAMG: Solving for p, Initial residual = 0.00703103, Final residual = 0.000696314, No Iterations 7
time step continuity errors : sum local = 6.93153e-12, global = -2.75319e-13, cumulative = -1.06872e-07
GAMG: Solving for p, Initial residual = 0.000853688, Final residual = 0.000198625, No Iterations 1000
time step continuity errors : sum local = 1.96743e-12, global = -5.63175e-14, cumulative = -1.06872e-07
ExecutionTime = 5621.8 s ClockTime = 11643 s
yPlus yPlus write:
writing field yPlus
patch aerofoil y+ : min = 0.00981989, max = 2.25001, average = 0.53326
wallShearStress wallShear write:
writing field wallShearStress
min/max(aerofoil) = (-1060.39 -50.7689 -4.17043), (639.549 509.112 4.1795)
functionObjects::vorticity vorticity1 writing field: vorticity
forceCoeffs forceCoeffs1 execute:
Coefficients
Cd : 0.0722708 (pressure: 0.0673676 viscous: 0.00490315)
Cs : 6.55462e-10 (pressure: -1.22961e-18 viscous: 6.55462e-10)
Cl : 2.94238 (pressure: 2.94688 viscous: -0.00450319)
CmRoll : -0.147119 (pressure: -0.147344 viscous: 0.00022516)
CmPitch : 0.913849 (pressure: 0.91668 viscous: -0.00283127)
CmYaw : 0.00361352 (pressure: 0.00336837 viscous: 0.000245157)
Cd(f) : -0.110984
Cd(r) : 0.183254
Cs(f) : 0.00361352
Cs(r) : -0.00361352
Cl(f) : 2.38504
Cl(r) : 0.557341
Courant Number mean: 0.000348545 max: 0.893368
deltaT = 7.78785e-08
Time = 8.11856e-06
PIMPLE: iteration 1
smoothSolver: Solving for Ux, Initial residual = 9.35858e-05, Final residual = 1.83204e-09, No Iterations 1
smoothSolver: Solving for Uy, Initial residual = 0.000306084, Final residual = 9.47784e-09, No Iterations 1
smoothSolver: Solving for Uz, Initial residual = 0.000198762, Final residual = 8.40133e-07, No Iterations 1
Setting residual field for first solver iteration for solver field: p
GAMG: Solving for p, Initial residual = 0.00700483, Final residual = 0.000694214, No Iterations 7
time step continuity errors : sum local = 6.92003e-12, global = -2.74424e-13, cumulative = -1.06872e-07
|