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

Bounding k problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2021, 10:45
Default Bounding k problem
  #1
New Member
 
Tommaso Negosanti
Join Date: Oct 2021
Posts: 7
Rep Power: 4
tommynego95 is on a distinguished road
Hi all,

I recently encountered a problem that i cannot overcome and i'd like to ask you expert CFD users some hints.
My k value is getting unbounded through the whole simulation and i suspect this fact is not letting the simulation converge and keeps residuals high.
Solver used for the simulation is simpleFoam and as turbulence model i'm using kOmegaSST.
Y+ values are averaging at 46.5 and the maximum value reached 486.
The mesh i'm using has been reported as image down below as the residuals.
In the residuals image we have:
Top-left: Residuals
Top-middle: pressure
Top-right: Velocities
Bottom-left: k
Bottom-middle: bounded quantities
Bottom-right: continuity equation errors

Pressure, velocities and k values are probed in the wake zone of the geometry

CheckMesh command gives the following:
Quote:
Checking geometry...
Overall domain bounding box (-3 0 0) (9 3 1)
Mesh has 2 geometric (non-empty/wedge) directions (1 1 0)
Mesh has 2 solution (non-empty) directions (1 1 0)
All edges aligned with or perpendicular to non-empty directions.
Boundary openness (-3.5492e-17 2.1743e-16 -6.57894e-14) OK.
Max cell openness = 1.9803e-16 OK.
Max aspect ratio = 4.00001 OK.
Minimum face area = 7.09312e-07. Maximum face area = 0.2. Face area magnitudes OK.
Min volume = 7.09312e-07. Max volume = 0.01. Total volume = 35.9615. Cell volumes OK.
Mesh non-orthogonality Max: 24.585 average: 2.81328
Non-orthogonality check OK.
Face pyramids OK.
Max skewness = 2.86834 OK.
Coupled point location match (average 0) OK.

Mesh OK.
What i tried to solve the problem:
  • Setting gradient limiter to 1 for k value and using an upwind as discretization for the divergence term.
  • Re-meshing domain refining elements on where i think vortices forms
  • Lowered URF (under-relaxation factors) to favour convergence
  • Tried to start the simulation with a potentialFoam solution and applied an applyBoundaryCondition with an -ybl of 0.003.
  • Starting from a converged kEpsilon simulation


Here are my initial and boundary conditions:
U
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

internalField uniform (45 0 0);

boundaryField
{
inlet
{
type fixedValue;
value uniform (45 0 0);
}
outlet
{
type inletOutlet;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}
top_symm
{
type slip;
value $internalField;
}
back_2d
{
type empty;
}
front_2d
{
type empty;
}
bot_symm
{
type symmetry;
}
wall_small
{
type fixedValue;
value uniform (0 0 0);
}
}


// ************************************************** *********************** //
p
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
location "0";
object p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

internalField uniform 0;

boundaryField
{
inlet
{
type zeroGradient;
}
outlet
{
type fixedValue;
value uniform 0;
}
top_symm
{
//type zeroGradient;
type slip;
}
back_2d
{
type empty;
}
front_2d
{
type empty;
}
bot_symm
{
type symmetry;
}
wall_small
{
type zeroGradient;
}
}


// ************************************************** *********************** //
k
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 2 -2 0 0 0 0];

I 0.05;
internalField uniform 7.59375;

boundaryField
{
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity $I; //turbulent intensity
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 7.59375;
value uniform 7.59375;
}
top_symm
{/*
type kqRWallFunction;
value uniform 7.59375;*/
type slip;
}
back_2d
{
type empty;
}
front_2d
{
type empty;
}
bot_symm
{
type symmetry;
}
wall_small
{
type kqRWallFunction;
value uniform 7.59375;
}
}


// ************************************************** *********************** //
omega
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

l 0.00005443310539518174;
internalField uniform 50625.00000000001;

boundaryField
{
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength $l;
value $internalField;
}
outlet
{
type inletOutlet;
inletValue uniform 50625.00000000001;
value uniform 50625.00000000001;
}
top_symm
{/*
type omegaWallFunction;
value uniform 20736;*/
type slip;
}
back_2d
{
type empty;
}
front_2d
{
type empty;
}
bot_symm
{
type symmetry;
}
wall_small
{
type omegaWallFunction;
value uniform 20736;
}
}


// ************************************************** *********************** //
nut
Quote:
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

U 45;
I 0.05;
l 0.00005443310539518174;
visc #calc "1.224744871*($U*$I*$l)";
internalField uniform $visc;

boundaryField
{
inlet
{
type calculated;
value uniform $visc;
}
outlet
{
type calculated;
value uniform $visc;
}
top_symm
{/*
type nutkWallFunction;
value uniform 1e-10;*/
type slip;
}
back_2d
{
type empty;
}
front_2d
{
type empty;
}
bot_symm
{
type symmetry;
}
wall_small
{
type nutkWallFunction;
value uniform 1e-10;
}
}


// ************************************************** *********************** //
Attached Images
File Type: jpg residuals.jpg (121.3 KB, 15 views)
File Type: jpg mesh.jpg (126.1 KB, 12 views)
File Type: jpg mesh_zoom.jpg (199.3 KB, 15 views)
tommynego95 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
Is COMSOL Multi Physics is suitable to solve complex flow problem? steve lee COMSOL 8 January 5, 2023 02:31
Mesh& steptime independant: conduction-convection problem Fati1 Main CFD Forum 1 October 28, 2018 13:52
Gambit - meshing over airfoil wrapping (?) problem JFDC FLUENT 1 July 11, 2011 05:59
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13


All times are GMT -4. The time now is 23:49.