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
{
rho rho [ 1 -3 0 0 0 ] 2640;
nu nu [ 0 2 -1 0 0 ] 1e-06;
d d [ 0 1 0 0 0 0 0 ] 0.00048;
rho 2640;
nu 1e-06;
d 0.00048;
}
phase2
{
rho rho [ 1 -3 0 0 0 ] 1.28;
nu nu [ 0 2 -1 0 0 ] 1.328e-05;
d d [ 0 1 0 0 0 0 0 ] 1;
rho 1.28;
nu 1.328e-05;
d 1;
}
Cvm Cvm [ 0 0 0 0 0 ] 0;
Cvm 0;
Cl Cl [ 0 0 0 0 0 ] 0;
Ct Ct [ 0 0 0 0 0 ] 0;
alpha1Alpha alpha1Alpha [ 0 0 0 0 0 ] 0;
Cl 0;
Ct 0;
// ************************************************************************* //

View File

@ -49,25 +49,21 @@ solvers
"(k|epsilon)Final"
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
$k;
relTol 0;
}
alpha
{
solver PBiCG;
preconditioner DILU;
solver PCG;
preconditioner DIC;
tolerance 1e-10;
relTol 0.1;
}
alpha1Final
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
$alpha;
relTol 0;
}
}
@ -77,6 +73,7 @@ PIMPLE
nCorrectors 2;
nNonOrthogonalCorrectors 0;
nAlphaCorr 2;
nAlphaSubCycles 3;
correctAlpha yes;
pRefCell 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
{
rho rho [ 1 -3 0 0 0 ] 2500;
nu nu [ 0 2 -1 0 0 ] 1e-06;
d d [ 0 1 0 0 0 0 0 ] 0.0003;
rho 2500;
nu 1e-06;
d 0.0003;
}
phase2
{
rho rho [ 1 -3 0 0 0 ] 1.2;
nu nu [ 0 2 -1 0 0 ] 1.5e-05;
d d [ 0 1 0 0 0 0 0 ] 1;
rho 1.2;
nu 1.5e-05;
d 1;
}
Cvm Cvm [ 0 0 0 0 0 ] 0;
Cl Cl [ 0 0 0 0 0 ] 0;
Ct Ct [ 0 0 0 0 0 ] 0;
alpha1Alpha alpha1Alpha [ 0 0 0 0 0 ] 0;
Cvm 0;
Cl 0;
Ct 0;
// ************************************************************************* //

View File

@ -76,7 +76,8 @@ PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
nAlphaCorr 2;
nAlphaCorr 1;
nAlphaSubCycles 3;
correctAlpha yes;
pRefCell 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
{
nu nu [ 0 2 -1 0 0 0 0 ] 1.6e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 1;
d d [ 0 1 0 0 0 0 0 ] 0.003;
nu 1.6e-05;
rho 1;
d 0.003;
}
phase2
{
nu nu [ 0 2 -1 0 0 0 0 ] 1e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 1000;
d d [ 0 1 0 0 0 0 0 ] 0.0001;
nu 1e-06;
rho 1000;
d 0.0001;
}
Cvm Cvm [ 0 0 0 0 0 0 0 ] 0.5;
Cl Cl [ 0 0 0 0 0 0 0 ] 0;
Ct Ct [ 0 0 0 0 0 0 0 ] 1;
Cvm 0.5;
Cl 0;
Ct 1;
// ************************************************************************* //

View File

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

View File

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

View File

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