tutorials/multiphase/multiphaseEulerFoam: Multiphase blending changes
Updated tutorials for the changes to the blending system. Cases using "none" blending have been updated to use "continuous" or "segregated" as appropriate. The bed tutorial has been extended to include a proper switch to a bed drag model (AttouFerschneider) when the solid phase displaces the fluids. This change made the trickleBed case a subset of the bed case, so the trickleBed has been removed.
This commit is contained in:
@ -41,8 +41,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase gas;
|
phase gas;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -40,8 +40,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase gas;
|
phase gas;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -143,8 +143,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -144,8 +144,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -186,8 +186,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -109,8 +109,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -128,8 +128,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -109,8 +109,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -149,8 +149,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -40,8 +40,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase steam;
|
phase steam;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -115,8 +115,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -45,8 +45,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase gas;
|
phase gas;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -113,8 +113,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -47,8 +47,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase air;
|
phase air;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -121,8 +121,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -161,8 +161,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -204,8 +204,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -291,8 +291,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase liquid;
|
phase liquid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,14 @@ massSource
|
|||||||
selectionMode points;
|
selectionMode points;
|
||||||
points ((0.075 0.925 0.05));
|
points ((0.075 0.925 0.05));
|
||||||
|
|
||||||
massFlowRate 1;
|
massFlowRate
|
||||||
|
{
|
||||||
|
type square;
|
||||||
|
amplitude 0.5;
|
||||||
|
frequency 0.5;
|
||||||
|
level 0.5;
|
||||||
|
markSpace 0.3333;
|
||||||
|
}
|
||||||
|
|
||||||
phase water;
|
phase water;
|
||||||
rho thermo:rho.water;
|
rho thermo:rho.water;
|
||||||
|
|||||||
@ -49,7 +49,7 @@ solid
|
|||||||
diameterModel constant;
|
diameterModel constant;
|
||||||
constantCoeffs
|
constantCoeffs
|
||||||
{
|
{
|
||||||
d 1e-3;
|
d 1e-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
residualAlpha 1e-6;
|
residualAlpha 1e-6;
|
||||||
@ -57,15 +57,26 @@ solid
|
|||||||
|
|
||||||
blending
|
blending
|
||||||
{
|
{
|
||||||
|
drag
|
||||||
|
{
|
||||||
|
type linear;
|
||||||
|
minFullyContinuousAlpha.air 0.8;
|
||||||
|
minPartlyContinuousAlpha.air 0.5;
|
||||||
|
minFullyContinuousAlpha.water 0.8;
|
||||||
|
minPartlyContinuousAlpha.water 0.5;
|
||||||
|
minFullyContinuousAlpha.solid none;
|
||||||
|
minPartlyContinuousAlpha.solid none;
|
||||||
|
}
|
||||||
|
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type linear;
|
type linear;
|
||||||
minFullyContinuousAlpha.air 0.7;
|
minFullyContinuousAlpha.air 0.8;
|
||||||
minPartlyContinuousAlpha.air 0.3;
|
minPartlyContinuousAlpha.air 0.2;
|
||||||
minFullyContinuousAlpha.water 0.7;
|
minFullyContinuousAlpha.water 0.8;
|
||||||
minPartlyContinuousAlpha.water 0.3;
|
minPartlyContinuousAlpha.water 0.2;
|
||||||
minFullyContinuousAlpha.solid 0;
|
minFullyContinuousAlpha.solid none;
|
||||||
minPartlyContinuousAlpha.solid 0;
|
minPartlyContinuousAlpha.solid none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -86,22 +97,37 @@ drag
|
|||||||
residualRe 1e-3;
|
residualRe 1e-3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
air_segregatedWith_water
|
||||||
|
{
|
||||||
|
type segregated;
|
||||||
|
m 0.5;
|
||||||
|
n 8;
|
||||||
|
}
|
||||||
|
|
||||||
water_dispersedIn_air
|
water_dispersedIn_air
|
||||||
{
|
{
|
||||||
type SchillerNaumann;
|
type SchillerNaumann;
|
||||||
residualRe 1e-3;
|
residualRe 1e-3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
air_water_displacedBy_solid
|
||||||
|
{
|
||||||
|
type AttouFerschneider;
|
||||||
|
gas air;
|
||||||
|
liquid water;
|
||||||
|
solid solid;
|
||||||
|
E1 280;
|
||||||
|
E2 4.8;
|
||||||
|
}
|
||||||
|
|
||||||
solid_dispersedIn_air
|
solid_dispersedIn_air
|
||||||
{
|
{
|
||||||
type Ergun;
|
$air_water_displacedBy_solid;
|
||||||
residualRe 1e-3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
solid_dispersedIn_water
|
solid_dispersedIn_water
|
||||||
{
|
{
|
||||||
type Ergun;
|
$air_water_displacedBy_solid;
|
||||||
residualRe 1e-3;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ startTime 0;
|
|||||||
|
|
||||||
stopAt endTime;
|
stopAt endTime;
|
||||||
|
|
||||||
endTime 10;
|
endTime 20;
|
||||||
|
|
||||||
deltaT 0.002;
|
deltaT 0.002;
|
||||||
|
|
||||||
|
|||||||
@ -54,8 +54,7 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type segregated;
|
||||||
continuousPhase none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -43,8 +43,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase air;
|
phase air;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -45,8 +45,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase water;
|
phase water;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -132,8 +132,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase vapor;
|
phase vapor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -144,8 +144,8 @@ blending
|
|||||||
{
|
{
|
||||||
default
|
default
|
||||||
{
|
{
|
||||||
type none;
|
type continuous;
|
||||||
continuousPhase vapor;
|
phase vapor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object T.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object T.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object T.water;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 1 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 300;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format binary;
|
|
||||||
class volVectorField;
|
|
||||||
object U.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type noSlip;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format binary;
|
|
||||||
class volVectorField;
|
|
||||||
object U.water;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type noSlip;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object alpha.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.5;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object alpha.solid;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0.5;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,28 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object alpha.water;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 0 0 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object p;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 1e5;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type calculated;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
@ -1,29 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object p_rgh;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [1 -1 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 1e5;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
"(bottom|top|walls)"
|
|
||||||
{
|
|
||||||
type fixedFluxPressure;
|
|
||||||
value $internalField;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
||||||
|
|
||||||
runApplication blockMesh
|
|
||||||
runApplication setFields
|
|
||||||
runApplication $(getApplication)
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
@ -1,21 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class uniformDimensionedVectorField;
|
|
||||||
location "constant";
|
|
||||||
object g;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -2 0 0 0 0];
|
|
||||||
value (0 -9.81 0);
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object momentumTransport.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
simulationType laminar;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,19 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object momentumTransport.water;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
simulationType laminar;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,111 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object phaseProperties;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
type basicMultiphaseSystem;
|
|
||||||
|
|
||||||
phases (air water solid);
|
|
||||||
|
|
||||||
air
|
|
||||||
{
|
|
||||||
type pureIsothermalPhaseModel;
|
|
||||||
diameterModel none;
|
|
||||||
|
|
||||||
residualAlpha 1e-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
water
|
|
||||||
{
|
|
||||||
type pureIsothermalPhaseModel;
|
|
||||||
diameterModel none;
|
|
||||||
|
|
||||||
residualAlpha 1e-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
solid
|
|
||||||
{
|
|
||||||
type pureStationaryIsothermalPhaseModel;
|
|
||||||
diameterModel constant;
|
|
||||||
constantCoeffs
|
|
||||||
{
|
|
||||||
d 1e-3;
|
|
||||||
}
|
|
||||||
|
|
||||||
residualAlpha 1e-6;
|
|
||||||
}
|
|
||||||
|
|
||||||
blending
|
|
||||||
{
|
|
||||||
default
|
|
||||||
{
|
|
||||||
type none;
|
|
||||||
continuousPhase none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
surfaceTension
|
|
||||||
{
|
|
||||||
air_water
|
|
||||||
{
|
|
||||||
type constant;
|
|
||||||
sigma 0.07;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
drag
|
|
||||||
{
|
|
||||||
air_water
|
|
||||||
{
|
|
||||||
type AttouFerschneider;
|
|
||||||
gas air;
|
|
||||||
liquid water;
|
|
||||||
solid solid;
|
|
||||||
E1 280;
|
|
||||||
E2 4.8;
|
|
||||||
}
|
|
||||||
|
|
||||||
air_solid
|
|
||||||
{
|
|
||||||
$air_water;
|
|
||||||
}
|
|
||||||
|
|
||||||
water_solid
|
|
||||||
{
|
|
||||||
$air_water;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
virtualMass
|
|
||||||
{}
|
|
||||||
|
|
||||||
heatTransfer
|
|
||||||
{}
|
|
||||||
|
|
||||||
phaseTransfer
|
|
||||||
{}
|
|
||||||
|
|
||||||
lift
|
|
||||||
{}
|
|
||||||
|
|
||||||
wallLubrication
|
|
||||||
{}
|
|
||||||
|
|
||||||
turbulentDispersion
|
|
||||||
{}
|
|
||||||
|
|
||||||
interfaceCompression
|
|
||||||
{}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,47 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object physicalProperties.air;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
thermoType
|
|
||||||
{
|
|
||||||
type heRhoThermo;
|
|
||||||
mixture pureMixture;
|
|
||||||
transport const;
|
|
||||||
thermo hConst;
|
|
||||||
equationOfState perfectGas;
|
|
||||||
specie specie;
|
|
||||||
energy sensibleInternalEnergy;
|
|
||||||
}
|
|
||||||
|
|
||||||
mixture
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
molWeight 28.9;
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Cp 1007;
|
|
||||||
Hf 0;
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
mu 1.84e-05;
|
|
||||||
Pr 0.7;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object physicalProperties.solid;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
thermoType
|
|
||||||
{
|
|
||||||
type heRhoThermo;
|
|
||||||
mixture pureMixture;
|
|
||||||
transport const;
|
|
||||||
thermo hConst;
|
|
||||||
equationOfState rhoConst;
|
|
||||||
specie specie;
|
|
||||||
energy sensibleInternalEnergy;
|
|
||||||
}
|
|
||||||
|
|
||||||
mixture
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
molWeight 100;
|
|
||||||
}
|
|
||||||
equationOfState
|
|
||||||
{
|
|
||||||
rho 2500;
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Cp 6000;
|
|
||||||
Hf 0;
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
mu 0;
|
|
||||||
Pr 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "constant";
|
|
||||||
object physicalProperties.water;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
thermoType
|
|
||||||
{
|
|
||||||
type heRhoThermo;
|
|
||||||
mixture pureMixture;
|
|
||||||
transport const;
|
|
||||||
thermo eConst;
|
|
||||||
equationOfState rPolynomial;
|
|
||||||
specie specie;
|
|
||||||
energy sensibleInternalEnergy;
|
|
||||||
}
|
|
||||||
|
|
||||||
mixture
|
|
||||||
{
|
|
||||||
specie
|
|
||||||
{
|
|
||||||
molWeight 18;
|
|
||||||
}
|
|
||||||
equationOfState
|
|
||||||
{
|
|
||||||
C (0.001278 -2.1055e-06 3.9689e-09 4.3772e-13 -2.0225e-16);
|
|
||||||
}
|
|
||||||
thermodynamics
|
|
||||||
{
|
|
||||||
Cv 4195;
|
|
||||||
Hf 0;
|
|
||||||
}
|
|
||||||
transport
|
|
||||||
{
|
|
||||||
mu 3.645e-4;
|
|
||||||
Pr 2.289;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
object blockMeshDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
convertToMeters 1;
|
|
||||||
|
|
||||||
vertices
|
|
||||||
(
|
|
||||||
(0 0 0)
|
|
||||||
(0.15 0 0)
|
|
||||||
(0.15 1 0)
|
|
||||||
(0 1 0)
|
|
||||||
(0 0 0.1)
|
|
||||||
(0.15 0 0.1)
|
|
||||||
(0.15 1 0.1)
|
|
||||||
(0 1 0.1)
|
|
||||||
);
|
|
||||||
|
|
||||||
blocks
|
|
||||||
(
|
|
||||||
hex (0 1 2 3 4 5 6 7) (25 75 1) simpleGrading (1 1 1)
|
|
||||||
);
|
|
||||||
|
|
||||||
patches
|
|
||||||
(
|
|
||||||
patch top
|
|
||||||
(
|
|
||||||
(3 7 6 2)
|
|
||||||
)
|
|
||||||
patch bottom
|
|
||||||
(
|
|
||||||
(1 5 4 0)
|
|
||||||
)
|
|
||||||
wall walls
|
|
||||||
(
|
|
||||||
(0 4 7 3)
|
|
||||||
(2 6 5 1)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "system";
|
|
||||||
object controlDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
application multiphaseEulerFoam;
|
|
||||||
|
|
||||||
startFrom startTime;
|
|
||||||
|
|
||||||
startTime 0;
|
|
||||||
|
|
||||||
stopAt endTime;
|
|
||||||
|
|
||||||
endTime 100;
|
|
||||||
|
|
||||||
deltaT 0.5;
|
|
||||||
|
|
||||||
writeControl runTime;
|
|
||||||
|
|
||||||
writeInterval 1;
|
|
||||||
|
|
||||||
purgeWrite 0;
|
|
||||||
|
|
||||||
writeFormat ascii;
|
|
||||||
|
|
||||||
writePrecision 6;
|
|
||||||
|
|
||||||
writeCompression off;
|
|
||||||
|
|
||||||
timeFormat general;
|
|
||||||
|
|
||||||
timePrecision 6;
|
|
||||||
|
|
||||||
runTimeModifiable yes;
|
|
||||||
|
|
||||||
adjustTimeStep no;
|
|
||||||
|
|
||||||
maxCo 0.5;
|
|
||||||
|
|
||||||
maxDeltaT 1;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,23 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
object fvConstraints;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
limitp
|
|
||||||
{
|
|
||||||
type limitPressure;
|
|
||||||
|
|
||||||
min 1e4;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,60 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "system";
|
|
||||||
object fvSchemes;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
ddtSchemes
|
|
||||||
{
|
|
||||||
default Euler;
|
|
||||||
}
|
|
||||||
|
|
||||||
gradSchemes
|
|
||||||
{
|
|
||||||
default Gauss linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
divSchemes
|
|
||||||
{
|
|
||||||
default none;
|
|
||||||
|
|
||||||
"div\(phi,alpha.*\)" Gauss vanLeer;
|
|
||||||
"div\(phir,alpha.*,alpha.*\)" Gauss vanLeer;
|
|
||||||
|
|
||||||
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinearV 1;
|
|
||||||
"div\(phi.*,U.*\)" Gauss limitedLinearV 1;
|
|
||||||
|
|
||||||
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
|
|
||||||
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
|
|
||||||
"div\(alphaRhoPhi.*,\(p\|thermo:rho.*\)\)" Gauss limitedLinear 1;
|
|
||||||
|
|
||||||
"div\(\(\(\(alpha.*\*thermo:rho.*\)*nuEff.*\)\*dev2\(T\(grad\(U.*\)\)\)\)\)" Gauss linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
laplacianSchemes
|
|
||||||
{
|
|
||||||
default Gauss linear uncorrected;
|
|
||||||
}
|
|
||||||
|
|
||||||
interpolationSchemes
|
|
||||||
{
|
|
||||||
default linear;
|
|
||||||
}
|
|
||||||
|
|
||||||
snGradSchemes
|
|
||||||
{
|
|
||||||
default uncorrected;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "system";
|
|
||||||
object fvSolution;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
solvers
|
|
||||||
{
|
|
||||||
"alpha.*"
|
|
||||||
{
|
|
||||||
nAlphaCorr 1;
|
|
||||||
nAlphaSubCycles 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
p_rgh
|
|
||||||
{
|
|
||||||
solver GAMG;
|
|
||||||
smoother DIC;
|
|
||||||
tolerance 1e-8;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
p_rghFinal
|
|
||||||
{
|
|
||||||
$p_rgh;
|
|
||||||
relTol 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
"U.*"
|
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother symGaussSeidel;
|
|
||||||
tolerance 1e-5;
|
|
||||||
relTol 0;
|
|
||||||
minIter 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
"e.*"
|
|
||||||
{
|
|
||||||
solver smoothSolver;
|
|
||||||
smoother symGaussSeidel;
|
|
||||||
tolerance 1e-8;
|
|
||||||
relTol 0;
|
|
||||||
minIter 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
PIMPLE
|
|
||||||
{
|
|
||||||
nOuterCorrectors 3;
|
|
||||||
nCorrectors 1;
|
|
||||||
nNonOrthogonalCorrectors 0;
|
|
||||||
|
|
||||||
partialElimination true;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
relaxationFactors
|
|
||||||
{
|
|
||||||
equations
|
|
||||||
{
|
|
||||||
".*" 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,39 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
========= |
|
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
||||||
\\ / O peration | Website: https://openfoam.org
|
|
||||||
\\ / A nd | Version: dev
|
|
||||||
\\/ M anipulation |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
format ascii;
|
|
||||||
class dictionary;
|
|
||||||
location "system";
|
|
||||||
object setFieldsDict;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
defaultFieldValues
|
|
||||||
(
|
|
||||||
volScalarFieldValue alpha.air 0.5
|
|
||||||
volScalarFieldValue alpha.water 0.0
|
|
||||||
volScalarFieldValue alpha.solid 0.5
|
|
||||||
);
|
|
||||||
|
|
||||||
regions
|
|
||||||
(
|
|
||||||
boxToCell
|
|
||||||
{
|
|
||||||
box (0 0.5001 -0.1) (0.15 1.0 0.1);
|
|
||||||
fieldValues
|
|
||||||
(
|
|
||||||
volScalarFieldValue alpha.air 0.35
|
|
||||||
volScalarFieldValue alpha.water 0.15
|
|
||||||
volScalarFieldValue alpha.solid 0.5
|
|
||||||
);
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
Reference in New Issue
Block a user