test/IO/fileHandler: Updated to use foamRun

This commit is contained in:
Will Bainbridge
2023-05-25 13:23:58 +01:00
parent b9b6eeb9ef
commit 5b88d10737
9 changed files with 164 additions and 20 deletions

View File

@ -19,12 +19,16 @@ vertices
(
(0 77.9423 6.2)
(135 0 6.2)
(0 -77.9423 6.2)
(300 -77.9423 6.2)
(165 0 6.2)
(300 77.9423 6.2)
(300 500 6.2)
(0 500 6.2)
(0 77.9423 0)
(135 0 0)
(0 -77.9423 0)
(300 -77.9423 0)
(165 0 0)
(300 77.9423 0)
(300 500 0)
@ -34,8 +38,9 @@ vertices
blocks
(
hex (6 9 10 11 0 3 4 5 ) (20 40 1) simpleGrading (1 1 1)
hex (7 8 9 6 1 2 3 0) (20 8 1) simpleGrading (1 1 1)
hex (8 13 14 15 0 5 6 7) (24 50 1) simpleGrading (1 1 1)
hex (9 12 13 8 1 4 5 0) (24 8 1) simpleGrading (1 1 1)
hex (10 11 12 9 2 3 4 1) (24 6 1) simpleGrading (1 1 1)
);
boundary
@ -45,12 +50,12 @@ boundary
type wall;
faces
(
(1 7 8 2)
(0 6 7 1)
(2 8 9 3)
(0 5 11 6)
(3 4 10 9)
(4 10 11 5)
(0 7 15 8)
(1 0 8 9)
(13 14 6 5)
(12 13 5 4)
(2 1 9 10)
(11 12 4 3)
);
}
@ -59,12 +64,33 @@ boundary
type wall;
faces
(
(0 3 4 5)
(1 2 3 0)
(6 11 10 9)
(6 9 8 7)
(4 5 0 1)
(5 6 7 0)
(15 14 13 8)
(8 13 12 9)
(3 4 1 2)
(12 11 10 9)
);
}
inlet
{
type patch;
faces
(
(15 7 6 14)
);
}
outlet
{
type patch;
faces
(
(3 2 10 11)
);
}
);

View File

@ -14,7 +14,9 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application particleFoam;
application foamRun;
solver incompressibleFluid;
startFrom latestTime;

View File

@ -16,22 +16,24 @@ FoamFile
ddtSchemes
{
default none;
default Euler;
}
gradSchemes
{
default none;
default Gauss linear;
}
divSchemes
{
default none;
div(phi,U) Gauss limitedLinearV 1;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}
laplacianSchemes
{
default none;
default Gauss linear corrected;
}
interpolationSchemes

View File

@ -16,6 +16,49 @@ FoamFile
solvers
{
p
{
solver GAMG;
smoother GaussSeidel;
tolerance 1e-6;
relTol 0.01;
}
pFinal
{
$p;
relTol 0;
}
U
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-5;
relTol 0.1;
}
UFinal
{
$U;
relTol 0;
}
}
PIMPLE
{
nOuterCorrectors 1;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
}
relaxationFactors
{
equations
{
".*" 1;
}
}
// ************************************************************************* //