mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: updated multiphaseInterFoam damBtreak4Phase/Fine tutorials
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: 1.7.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -37,17 +37,18 @@ writeFormat ascii;
|
||||
|
||||
writePrecision 6;
|
||||
|
||||
writeCompression off;
|
||||
writeCompression uncompressed;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 0.5;
|
||||
maxAlphaCo 0.5;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: 1.7.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: 1.7.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -51,7 +51,10 @@ snGradSchemes
|
||||
|
||||
fluxRequired
|
||||
{
|
||||
default yes;
|
||||
default no;
|
||||
pcorr;
|
||||
p_rgh;
|
||||
"alpha.*";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: 1.7.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -39,7 +39,7 @@ solvers
|
||||
maxIter 100;
|
||||
}
|
||||
|
||||
p
|
||||
p_rgh
|
||||
{
|
||||
solver GAMG;
|
||||
tolerance 1e-07;
|
||||
@ -54,7 +54,7 @@ solvers
|
||||
mergeLevels 1;
|
||||
}
|
||||
|
||||
pFinal
|
||||
p_rghFinal
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner
|
||||
@ -97,5 +97,9 @@ PISO
|
||||
cAlpha 2;
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
{
|
||||
U 1;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: dev |
|
||||
| \\ / O peration | Version: 1.7.0 |
|
||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -17,10 +17,10 @@ FoamFile
|
||||
|
||||
defaultFieldValues
|
||||
(
|
||||
volScalarFieldValue alphaAir 1
|
||||
volScalarFieldValue alphaWater 0
|
||||
volScalarFieldValue alphaOil 0
|
||||
volScalarFieldValue alphaMercury 0
|
||||
volScalarFieldValue alphaair 1
|
||||
volScalarFieldValue alphawater 0
|
||||
volScalarFieldValue alphaoil 0
|
||||
volScalarFieldValue alphamercury 0
|
||||
volVectorFieldValue U ( 0 0 0 )
|
||||
);
|
||||
|
||||
@ -31,10 +31,10 @@ regions
|
||||
box ( 0 0 -1 ) ( 0.1461 0.292 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alphaWater 1
|
||||
volScalarFieldValue alphaOil 0
|
||||
volScalarFieldValue alphaMercury 0
|
||||
volScalarFieldValue alphaAir 0
|
||||
volScalarFieldValue alphawater 1
|
||||
volScalarFieldValue alphaoil 0
|
||||
volScalarFieldValue alphamercury 0
|
||||
volScalarFieldValue alphaair 0
|
||||
);
|
||||
}
|
||||
boxToCell
|
||||
@ -42,10 +42,10 @@ regions
|
||||
box ( 0.1461 0 -1 ) ( 0.2922 0.292 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alphaWater 0
|
||||
volScalarFieldValue alphaOil 1
|
||||
volScalarFieldValue alphaMercury 0
|
||||
volScalarFieldValue alphaAir 0
|
||||
volScalarFieldValue alphawater 0
|
||||
volScalarFieldValue alphaoil 1
|
||||
volScalarFieldValue alphamercury 0
|
||||
volScalarFieldValue alphaair 0
|
||||
);
|
||||
}
|
||||
boxToCell
|
||||
@ -53,10 +53,10 @@ regions
|
||||
box ( 0 0 -1 ) ( 0.1461 0.1 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alphaWater 0
|
||||
volScalarFieldValue alphaOil 0
|
||||
volScalarFieldValue alphaMercury 1
|
||||
volScalarFieldValue alphaAir 0
|
||||
volScalarFieldValue alphawater 0
|
||||
volScalarFieldValue alphaoil 0
|
||||
volScalarFieldValue alphamercury 1
|
||||
volScalarFieldValue alphaair 0
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user