compressibleTwoPhaseEulerFoam/bubbleColumn: Updated phase names

This commit is contained in:
Henry
2013-01-09 14:32:10 +00:00
parent 53f17ac021
commit 438d82ec91
13 changed files with 36 additions and 2186 deletions

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 volScalarField;
object T1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0];
internalField uniform 300;
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type inletOutlet;
phi phi1;
inletValue $internalField;
value $internalField;
}
inlet
{
type fixedValue;
value $internalField;
}
frontAndBackPlanes
{
type empty;
}
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,45 +0,0 @@
/*--------------------------------*- 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 volScalarField;
object T2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 1 0 0 0];
internalField uniform 350;
boundaryField
{
walls
{
type zeroGradient;
}
outlet
{
type inletOutlet;
phi phi2;
inletValue uniform 300;
value $internalField;
}
inlet
{
type fixedValue;
value $internalField;
}
frontAndBackPlanes
{
type empty;
}
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -1,41 +0,0 @@
/*--------------------------------*- 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 binary;
class volVectorField;
object U1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0.1 0);
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type pressureInletOutletVelocity;
phi phi1;
value $internalField;
}
walls
{
type fixedValue;
value uniform (0 0 0);
}
}
// ************************************************************************* //

View File

@ -1,41 +0,0 @@
/*--------------------------------*- 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 binary;
class volVectorField;
object U2;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
inlet
{
type fixedValue;
value $internalField;
}
outlet
{
type pressureInletOutletVelocity;
phi phi2;
value $internalField;
}
walls
{
type fixedValue;
value uniform (0 0 0);
}
}
// ************************************************************************* //

View File

@ -1,41 +0,0 @@
/*--------------------------------*- 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 volScalarField;
object alpha1;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 0 0 0 0 0];
internalField uniform 0;
boundaryField
{
inlet
{
type fixedValue;
value uniform 0.5;
}
outlet
{
type inletOutlet;
phi phi1;
inletValue uniform 1;
value uniform 1;
}
walls
{
type zeroGradient;
}
}
// ************************************************************************* //

View File

@ -15,13 +15,13 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dragModel1 SchillerNaumann; dragModelair SchillerNaumann;
dragModel2 SchillerNaumann; dragModelwater SchillerNaumann;
heatTransferModel1 RanzMarshall; heatTransferModelair RanzMarshall;
heatTransferModel2 RanzMarshall; heatTransferModelwater RanzMarshall;
dispersedPhase both; dispersedPhase both;
residualPhaseFraction 1e-3; residualPhaseFraction 1e-3;
residualSlip 1e-2; residualSlip 1e-2;

View File

@ -38,6 +38,7 @@ FoamFile
defaultFaces defaultFaces
{ {
type empty; type empty;
inGroups 1(empty);
nFaces 3750; nFaces 3750;
startFace 3850; startFace 3850;
} }

View File

@ -15,16 +15,10 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
phase1 phases (air water);
air
{ {
rho 1;
rho0 0;
R 287;
Cp 1007;
nu 1.589e-05;
kappa 2.63e-2;
diameterModel isothermal; diameterModel isothermal;
isothermalCoeffs isothermalCoeffs
{ {
@ -33,15 +27,9 @@ phase1
} }
} }
phase2 water
{ {
rho 1027; //R 1e10;
rho0 1027;
R 1e10;
Cp 4195;
nu 3.55e-7;
kappa 0.668;
diameterModel constant; diameterModel constant;
constantCoeffs constantCoeffs

View File

@ -60,21 +60,21 @@ functions
outputControl outputTime; outputControl outputTime;
fields fields
( (
U1 Uair
{ {
mean on; mean on;
prime2Mean off; prime2Mean off;
base time; base time;
} }
U2 Uwater
{ {
mean on; mean on;
prime2Mean off; prime2Mean off;
base time; base time;
} }
alpha1 alphaair
{ {
mean on; mean on;
prime2Mean off; prime2Mean off;

View File

@ -29,23 +29,23 @@ divSchemes
{ {
default none; default none;
div(phi,alpha1) Gauss limitedLinear01 1; div(phi,alpha) Gauss limitedLinear01 1;
div(phir,alpha1) Gauss limitedLinear01 1; div(phir,alpha) Gauss limitedLinear01 1;
div(alphaPhi1,U1) Gauss limitedLinearV 1; div(alphaPhi,Uair) Gauss limitedLinearV 1;
div(alphaPhi2,U2) Gauss limitedLinearV 1; div(alphaPhi,Uwater) Gauss limitedLinearV 1;
div(phi1,U1) Gauss limitedLinearV 1; div(phiair,Uair) Gauss limitedLinearV 1;
div(phi2,U2) Gauss limitedLinearV 1; div(phiwater,Uwater) Gauss limitedLinearV 1;
div((alpha1*Rc1)) Gauss linear; div((alphaair*Rc)) Gauss linear;
div((alpha2*Rc2)) Gauss linear; div((alphawater*Rc)) Gauss linear;
div(alphaPhi1,T1) Gauss limitedLinear 1; div(alphaPhi,hair) Gauss limitedLinear 1;
div(alphaPhi2,T2) Gauss limitedLinear 1; div(alphaPhi,hwater) Gauss limitedLinear 1;
div(alphaPhi2,k) Gauss limitedLinear 1; div(alphaPhiwater,k) Gauss limitedLinear 1;
div(alphaPhi2,epsilon) Gauss limitedLinear 1; div(alphaPhiwater,epsilon) Gauss limitedLinear 1;
div(phi,Theta) Gauss limitedLinear 1; div(phi,Theta) Gauss limitedLinear 1;
div(phid1,p) Gauss upwind; div(phidair,p) Gauss upwind;
div(phid2,p) Gauss upwind; div(phidwater,p) Gauss upwind;
div(phi1,K1) Gauss limitedLinear 1; div(phiair,Kair) Gauss limitedLinear 1;
div(phi2,K2) Gauss limitedLinear 1; div(phiwater,Kwater) Gauss limitedLinear 1;
} }
laplacianSchemes laplacianSchemes
@ -67,7 +67,7 @@ fluxRequired
{ {
default no; default no;
p ; p ;
alpha1 ; alphaair ;
} }

View File

@ -47,10 +47,10 @@ solvers
relTol 0; relTol 0;
} }
"T.*" "h.*"
{ {
solver PBiCG; solver PCG; //PBiCG;
preconditioner DILU; preconditioner DIC; //DILU;
tolerance 1e-8; tolerance 1e-8;
relTol 0; relTol 0;
} }
@ -105,7 +105,7 @@ relaxationFactors
equations equations
{ {
"U.*" 1; "U.*" 1;
"T.*" 1; "h.*" 1;
"alpha.*" 1; "alpha.*" 1;
"Theta.*" 1; "Theta.*" 1;
"k.*" 1; "k.*" 1;

View File

@ -27,7 +27,7 @@ regions
box (0 0 -0.1) (0.15 0.701 0.1); box (0 0 -0.1) (0.15 0.701 0.1);
fieldValues fieldValues
( (
volScalarFieldValue alpha1 0 volScalarFieldValue alphaair 0
); );
} }
); );