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

laplacianFoam and GAMG

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2009, 11:09
Default laplacianFoam and GAMG
  #1
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 32
Rep Power: 8
karamiag is on a distinguished road
Hi guys,
I'm doing some experiments to see how the solution is influenced by the number of grid levels in the multi-grid solver. I'm using the grid (128x128) from the cavity case tutorial and laplacianFoam as solver with settings from the flange tutorial. Here is my fvSolution file:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.5 |
| \\ / A nd | Web: http://www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
T GAMG
{
tolerance 1e-10;
relTol 0.001;

smoother GaussSeidel;
nPreSweeps 0;
nPostSweeps 0;
nFinestSweeps 0;

cacheAgglomeration true;
nCellsInCoarsestLevel 4096;
agglomerator faceAreaPair;
mergeLevels 1;
};
}

SIMPLE
{
nNonOrthogonalCorrectors 0;
}

// ************************************************** *********************** //

Changing nCellsInCoarsestLevel between 4096 and 4 I cannot see remarcable differences between the two convergence history as you can see in the attached file. Is it wrigth? If not where I am doing wrong?
Here is also my 0/T file:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 273;

boundaryField
{
Wall-up
{
type fixedValue;
value uniform 273;
}

Wall-sx
{
type zeroGradient;
}

Wall-dx
{
type zeroGradient;
}

Wall-down
{
type fixedValue;
value uniform 1073;
}
}

// ************************************************** *********************** //

Thank you
Attached Images
File Type: gif history.gif (5.2 KB, 23 views)
karamiag is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



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