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

Checkerboarding problem_simpleFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 9, 2021, 11:39
Default Checkerboarding problem_simpleFoam
  #1
New Member
 
Join Date: Jan 2021
Location: Norway
Posts: 22
Rep Power: 5
subhojitkadiacfd is on a distinguished road
Hello Everyone,
I am working on very simple steady state solution (2D) of a channel flow using simpleFoam and having single cell along the flow direction (x).
I have used periodic boundary condition for inlet and outlet, noSlip (for U) for the walls. I have tried different available fvSchemes.
However, getting checkerboarding issue with p, Uy and Uz.
Any suggestions to eliminate the issue will be highly appreciated. Thanks.

Subho
subhojitkadiacfd is offline   Reply With Quote

Old   August 9, 2021, 12:18
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
First: Periodic b.c. often lead to problems. You are in 2D. It may be much better stacking some of the geometries and avoid periodicity in b.c.
Second: Checkerboarding is an issue of Mesh, may be combined with schemes. Try using a finer mesh.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   August 9, 2021, 13:18
Default
  #3
New Member
 
Join Date: Jan 2021
Location: Norway
Posts: 22
Rep Power: 5
subhojitkadiacfd is on a distinguished road
Many thanks for your reply Uwe. In my case, I have restrict to a 2D simulation. I have used fine mesh.

Subhojit
subhojitkadiacfd is offline   Reply With Quote

Old   August 10, 2021, 00:58
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
In most cases, the main question is not
How may I get my simulation running
but
How do I change my real world problem into a simulation.

> I have restrict to a 2D simulation

Normally, there are no such restrictions. We have to select the simulation which gives the most reliable results. Often, this is the simplest one.

If you want to stay your simulation, I recommend using more stable schemes and relaxation.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   August 13, 2021, 11:17
Default
  #5
New Member
 
Join Date: Jan 2021
Location: Norway
Posts: 22
Rep Power: 5
subhojitkadiacfd is on a distinguished road
Hello Uwe,
Thanks for your reply. I am using the following schemes
Code:
ddtSchemes
{
    default         steadyState;
}

gradSchemes
{
    default 		Gauss linear; //cellLimited Gauss linear 1;
}

divSchemes
{
    default				none;
	div(phi,U)  		bounded Gauss limitedLinearV 1;//bounded Gauss linearUpwind grad(U);
    div(phi,k)      	bounded Gauss limitedLinear 1;
    div(phi,epsilon) 	bounded Gauss limitedLinear 1;
	div((nuEff*dev2(T(grad(U))))) Gauss linear;
    div((nu*dev2(T(grad(U))))) Gauss linear;//For LRR, SSG
	div(phi,R)      	bounded Gauss limitedLinear 1; //For LRR, SSG
    div(R)          	Gauss linear; //For LRR, SSG
}

laplacianSchemes
{
    //default         Gauss linear corrected;
	default 		Gauss linear orthogonal;
}

interpolationSchemes
{
    default 		linear;
	//interpolate(U) 	linear;
}

snGradSchemes
{
    //default         corrected;
	default 		orthogonal;
}

fluxRequired
{
	default	no;
	p;
}

wallDist
{
	method			meshWave;
}
Relaxation:
for p 0.3 and for rest 0.7. I have also tried with lower/higher relaxations.
But no noticeable improvements.

Subhojit

Quote:
Originally Posted by piu58 View Post
In most cases, the main question is not
How may I get my simulation running
but
How do I change my real world problem into a simulation.

> I have restrict to a 2D simulation

Normally, there are no such restrictions. We have to select the simulation which gives the most reliable results. Often, this is the simplest one.

If you want to stay your simulation, I recommend using more stable schemes and relaxation.
subhojitkadiacfd is offline   Reply With Quote

Reply

Tags
checkerboarding, simplefoam convergence, steady state


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
Causes of checkerboarding sturgeon OpenFOAM Running, Solving & CFD 15 September 4, 2019 03:35
Checkerboarding > SimpleFoam yambanshee OpenFOAM 2 February 6, 2019 06:12
Checkerboarding stuart23 Main CFD Forum 4 October 16, 2012 10:36
Checkerboarding problem in LES Matteo85 OpenFOAM Running, Solving & CFD 3 September 15, 2012 23:15
Checkerboarding problem in LES Matteo85 OpenFOAM Running, Solving & CFD 0 June 9, 2009 10:47


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