ENH: GAMG: bit more testing of procAgglom+cyclicAMI

This commit is contained in:
mattijs 2024-05-22 18:02:28 +01:00
parent 03fb8f043e
commit 1ad1957c41
3 changed files with 40 additions and 1 deletions

View File

@ -11,4 +11,18 @@ runApplication decomposePar
runParallel $(getApplication) -debug-switch GAMGAgglomeration
# Try again with random decomposition. Needs a few more cells to create
# proper agglomeration - otherwise processorAgglomerator complains
decompDict="-decomposeParDict system/decomposeParDict.random"
runApplication -s random \
decomposePar -force $decompDict
runParallel -s random refineMesh -overwrite $decompDict
runParallel -s random \
$(getApplication) $decompDict -debug-switch GAMGAgglomeration
#------------------------------------------------------------------------------

View File

@ -17,7 +17,7 @@ FoamFile
application laplacianFoam;
startFrom latestTime;
startFrom startTime; //latestTime;
startTime 0;

View File

@ -0,0 +1,25 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2312 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
//- The total number of domains (mandatory)
numberOfSubdomains 4;
//- The decomposition method (mandatory)
method random;
// NOTE: no patch constraints!
// ************************************************************************* //