mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
add test case based on OpenFOAM tutorial by J. Guerrero to compare p, U, T, rho from compressible rhoPimpleFoam solver to cfdemSolverRhoPimple
74 lines
1.5 KiB
C++
74 lines
1.5 KiB
C++
/*--------------------------------*- 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;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
|
|
p
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
minIter 2;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
relTol 0;
|
|
minIter 2;
|
|
}
|
|
|
|
"U.*"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
minIter 2;
|
|
}
|
|
|
|
hFinal
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
minIter 2;
|
|
}
|
|
|
|
"rho.*"
|
|
{
|
|
solver diagonal;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 1;
|
|
|
|
rhoMin 0.5; // OF4
|
|
rhoMax 2.0; // OF4
|
|
pMinFactor 0.5; // OF5, OF6
|
|
pMaxFactor 2.0; // OF5, OF6
|
|
}
|
|
|
|
// ************************************************************************* //
|