CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   laplacianFoam and GAMG (https://www.cfd-online.com/Forums/openfoam-solving/64730-laplacianfoam-gamg.html)

karamiag May 21, 2009 11:09

laplacianFoam and GAMG
 
1 Attachment(s)
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 :eek: as you can see in the attached file. Is it wrigth? If not where I am doing wrong?:confused:
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


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