mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
This is a small, simple tutorial for testing the implementation of large, incomplete data bases. In this tutorial case, rStatAnalysis is used as post-processor and it uses a data base in memory, which is smaller than the number of snapshots on disk.
106 lines
2.2 KiB
C++
106 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 2.3.0 |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0.0001;
|
|
maxIter 100;
|
|
smoother DIC;
|
|
nPreSweeps 1;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
scaleCorrection true;
|
|
directSolveCoarsestLevel false;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 330;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0.001;
|
|
}
|
|
|
|
/*U
|
|
{
|
|
type coupled;
|
|
solver PBiCICG;
|
|
preconditioner DILU;
|
|
tolerance (1e-08 1e-08 1e-08);
|
|
relTol (0 0 0);
|
|
}*/
|
|
|
|
UFinal
|
|
{
|
|
$U;
|
|
}
|
|
|
|
Phi
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-08;
|
|
relTol 0.001;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 10;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 1;
|
|
|
|
residualControl
|
|
{
|
|
U
|
|
{
|
|
relTol 0;
|
|
tolerance 0.00001;
|
|
}
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
/*equations
|
|
{
|
|
p 0.4;
|
|
U 0.6;
|
|
}*/
|
|
}
|
|
|
|
potentialFlow
|
|
{
|
|
nNonOrthogonalCorrectors 20;
|
|
}
|
|
|
|
// ************************************************************************* //
|