twoPhaseEulerFoam: updated tutorials

This commit is contained in:
Henry
2012-03-19 16:15:44 +00:00
parent f46e2fadf7
commit e09d04c3ba
11 changed files with 98 additions and 48 deletions

View File

@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object MRFZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0()
// ************************************************************************* //

View File

@ -17,25 +17,22 @@ FoamFile
phase1 phase1
{ {
rho rho [ 1 -3 0 0 0 ] 2640; rho 2640;
nu nu [ 0 2 -1 0 0 ] 1e-06; nu 1e-06;
d d [ 0 1 0 0 0 0 0 ] 0.00048; d 0.00048;
} }
phase2 phase2
{ {
rho rho [ 1 -3 0 0 0 ] 1.28; rho 1.28;
nu nu [ 0 2 -1 0 0 ] 1.328e-05; nu 1.328e-05;
d d [ 0 1 0 0 0 0 0 ] 1; d 1;
} }
Cvm Cvm [ 0 0 0 0 0 ] 0; Cvm 0;
Cl Cl [ 0 0 0 0 0 ] 0; Cl 0;
Ct Ct [ 0 0 0 0 0 ] 0;
alpha1Alpha alpha1Alpha [ 0 0 0 0 0 ] 0;
Ct 0;
// ************************************************************************* // // ************************************************************************* //

View File

@ -49,25 +49,21 @@ solvers
"(k|epsilon)Final" "(k|epsilon)Final"
{ {
solver PBiCG; $k;
preconditioner DILU;
tolerance 1e-05;
relTol 0; relTol 0;
} }
alpha alpha
{ {
solver PBiCG; solver PCG;
preconditioner DILU; preconditioner DIC;
tolerance 1e-10; tolerance 1e-10;
relTol 0.1; relTol 0.1;
} }
alpha1Final alpha1Final
{ {
solver PBiCG; $alpha;
preconditioner DILU;
tolerance 1e-10;
relTol 0; relTol 0;
} }
} }
@ -77,6 +73,7 @@ PIMPLE
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
nAlphaCorr 2; nAlphaCorr 2;
nAlphaSubCycles 3;
correctAlpha yes; correctAlpha yes;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;

View File

@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object MRFZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0()
// ************************************************************************* //

View File

@ -17,25 +17,20 @@ FoamFile
phase1 phase1
{ {
rho rho [ 1 -3 0 0 0 ] 2500; rho 2500;
nu nu [ 0 2 -1 0 0 ] 1e-06; nu 1e-06;
d d [ 0 1 0 0 0 0 0 ] 0.0003; d 0.0003;
} }
phase2 phase2
{ {
rho rho [ 1 -3 0 0 0 ] 1.2; rho 1.2;
nu nu [ 0 2 -1 0 0 ] 1.5e-05; nu 1.5e-05;
d d [ 0 1 0 0 0 0 0 ] 1; d 1;
} }
Cvm Cvm [ 0 0 0 0 0 ] 0; Cvm 0;
Cl 0;
Cl Cl [ 0 0 0 0 0 ] 0; Ct 0;
Ct Ct [ 0 0 0 0 0 ] 0;
alpha1Alpha alpha1Alpha [ 0 0 0 0 0 ] 0;
// ************************************************************************* // // ************************************************************************* //

View File

@ -76,7 +76,8 @@ PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
nAlphaCorr 2; nAlphaCorr 1;
nAlphaSubCycles 3;
correctAlpha yes; correctAlpha yes;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;

View File

@ -0,0 +1,20 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object MRFZones;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
0()
// ************************************************************************* //

View File

@ -17,23 +17,21 @@ FoamFile
phase1 phase1
{ {
nu nu [ 0 2 -1 0 0 0 0 ] 1.6e-05; nu 1.6e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 1; rho 1;
d d [ 0 1 0 0 0 0 0 ] 0.003; d 0.003;
} }
phase2 phase2
{ {
nu nu [ 0 2 -1 0 0 0 0 ] 1e-06; nu 1e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 1000; rho 1000;
d d [ 0 1 0 0 0 0 0 ] 0.0001; d 0.0001;
} }
Cvm Cvm [ 0 0 0 0 0 0 0 ] 0.5; Cvm 0.5;
Cl 0;
Cl Cl [ 0 0 0 0 0 0 0 ] 0; Ct 1;
Ct Ct [ 0 0 0 0 0 0 0 ] 1;
// ************************************************************************* // // ************************************************************************* //

View File

@ -76,7 +76,8 @@ PIMPLE
{ {
nCorrectors 2; nCorrectors 2;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
nAlphaCorr 2; nAlphaCorr 1;
nAlphaSubCycles 2;
correctAlpha yes; correctAlpha yes;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;

View File

@ -47,7 +47,7 @@ runTimeModifiable yes;
adjustTimeStep yes; adjustTimeStep yes;
maxCo 0.2; maxCo 0.5;
maxDeltaT 1; maxDeltaT 1;

View File

@ -76,6 +76,7 @@ PIMPLE
nCorrectors 3; nCorrectors 3;
nNonOrthogonalCorrectors 0; nNonOrthogonalCorrectors 0;
nAlphaCorr 1; nAlphaCorr 1;
nAlphaSubCycles 3;
correctAlpha yes; correctAlpha yes;
pRefCell 0; pRefCell 0;
pRefValue 0; pRefValue 0;