mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
84 lines
1.7 KiB
C++
Executable File
84 lines
1.7 KiB
C++
Executable File
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 6
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"(p|rho)"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(p|rho)Final"
|
|
{
|
|
$p;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|e|epsilon|R|nuTilda)"
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|e|k|nuTilda)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
}
|
|
|
|
"(voidfraction|Ksl|UsNext|voidfractionNext|sSmoothField|vSmoothField|fSmooth)"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 6;
|
|
nCorrectors 2;
|
|
periodicBoxSwitch yes;
|
|
nNonOrthogonalCorrectors 0;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
|
|
}
|
|
equations
|
|
{
|
|
"p" 0.3;
|
|
"U" 0.6;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|