tutorials/multiphase/multiphaseEulerFoam: Non-backwards compatible changes

These changes are required for the cases to run with the new
phaseInterface system.
This commit is contained in:
Will Bainbridge
2022-01-19 09:37:51 +00:00
parent 6bd200d0b5
commit 807e517274
14 changed files with 110 additions and 26 deletions

View File

@ -74,9 +74,9 @@ plot \
'postProcessing_'.gY0.'_'.lY0.'/plot/0/T.liquid' w l lc 2 t 'Liquid', \
for [gY in gYs] for [lY in lYs] \
'postProcessing_'.gY.'_'.lY.'/plot/0/T.liquid' w l lc 2 notitle, \
'postProcessing_'.gY0.'_'.lY0.'/plot/0/interfaceCompositionPhaseChange:Tf.gasAndLiquid' w l lc 3 t 'Interface', \
'postProcessing_'.gY0.'_'.lY0.'/plot/0/interfaceCompositionPhaseChange:Tf.gas_liquid' w l lc 3 t 'Interface', \
for [gY in gYs] for [lY in lYs] \
'postProcessing_'.gY.'_'.lY.'/plot/0/interfaceCompositionPhaseChange:Tf.gasAndLiquid' w l lc 3 notitle
'postProcessing_'.gY.'_'.lY.'/plot/0/interfaceCompositionPhaseChange:Tf.gas_liquid' w l lc 3 notitle
set ytics nomirror
set y2tics

View File

@ -25,7 +25,7 @@ fields
p
T.gas
T.liquid
interfaceCompositionPhaseChange:Tf.gasAndLiquid
interfaceCompositionPhaseChange:Tf.gas_liquid
dMass.gas
dMass.liquid
dMass

View File

@ -109,9 +109,9 @@ plot \
'postProcessing_'.gY0.'_'.gHe0.'_'.lHe0.'/plot/0/T.liquid' w l lc 2 t 'Liquid', \
for [gY in gYs] for [ gHe in gHes ] for [ lHe in lHes ] \
'postProcessing_'.gY.'_'.gHe.'_'.lHe.'/plot/0/T.liquid' w l lc 2 notitle, \
'postProcessing_'.gY0.'_'.gHe0.'_'.lHe0.'/plot/0/interfaceCompositionPhaseChange:Tf.gasAndLiquid' w l lc 3 t 'Interface', \
'postProcessing_'.gY0.'_'.gHe0.'_'.lHe0.'/plot/0/interfaceCompositionPhaseChange:Tf.gas_liquid' w l lc 3 t 'Interface', \
for [gY in gYs] for [ gHe in gHes ] for [ lHe in lHes ] \
'postProcessing_'.gY.'_'.gHe.'_'.lHe.'/plot/0/interfaceCompositionPhaseChange:Tf.gasAndLiquid' w l lc 3 notitle
'postProcessing_'.gY.'_'.gHe.'_'.lHe.'/plot/0/interfaceCompositionPhaseChange:Tf.gas_liquid' w l lc 3 notitle
set ytics nomirror
set y2tics

View File

@ -22,7 +22,7 @@ fields
p
T.gas
T.liquid
interfaceCompositionPhaseChange:Tf.gasAndLiquid
interfaceCompositionPhaseChange:Tf.gas_liquid
dMass.gas
dMass.liquid
dMass

View File

@ -81,9 +81,9 @@ plot \
'postProcessing_'.gHe0.'_'.lHe0.'/plot/0/T.water' w l lc 2 t 'Water', \
for [gHe in gHes] for [lHe in lHes] \
'postProcessing_'.gHe.'_'.lHe.'/plot/0/T.water' w l lc 2 notitle, \
'postProcessing_'.gHe0.'_'.lHe0.'/plot/0/thermalPhaseChange:Tf.steamAndWater' w l lc 3 t 'Interface', \
'postProcessing_'.gHe0.'_'.lHe0.'/plot/0/thermalPhaseChange:Tf.steam_water' w l lc 3 t 'Interface', \
for [gHe in gHes] for [lHe in lHes] \
'postProcessing_'.gHe.'_'.lHe.'/plot/0/thermalPhaseChange:Tf.steamAndWater' w l lc 3 notitle
'postProcessing_'.gHe.'_'.lHe.'/plot/0/thermalPhaseChange:Tf.steam_water' w l lc 3 notitle
set ytics nomirror
set y2tics

View File

@ -22,7 +22,7 @@ fields
p
T.steam
T.water
thermalPhaseChange:Tf.steamAndWater
thermalPhaseChange:Tf.steam_water
dMass.steam
dMass.water
dMass

View File

@ -104,7 +104,7 @@ populationBalanceCoeffs
(
phaseChange
{
pairs ((gas and liquid));
interfaces (gas_liquid);
dmdtf thermalPhaseChange:dmdtf;
}

View File

@ -130,8 +130,8 @@ populationBalanceCoeffs
(
phaseChange
{
pairs ((gas and liquid) (gas2 and liquid));
dmdtf thermalPhaseChange:dmdtf;
interfaces (gas_liquid gas2_liquid);
dmdtf thermalPhaseChange:dmdtf;
}
densityChange

View File

@ -22,17 +22,38 @@ boundaryField
{
leftWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
oil { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
rightWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
oil { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
lowerWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
oil { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
atmosphere

View File

@ -22,17 +22,38 @@ boundaryField
{
leftWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
water { theta0 90; }
}
value $internalField;
}
rightWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
water { theta0 90; }
}
value $internalField;
}
lowerWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
water { theta0 90; }
}
value $internalField;
}
atmosphere

View File

@ -22,17 +22,38 @@ boundaryField
{
leftWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
rightWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
lowerWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
water { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
atmosphere

View File

@ -22,17 +22,38 @@ boundaryField
{
leftWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
rightWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
lowerWall
{
type zeroGradient;
type alphaContactAngle;
contactAngleProperties
{
air { theta0 90; }
oil { theta0 90; }
mercury { theta0 90; }
}
value $internalField;
}
atmosphere

View File

@ -24,7 +24,7 @@ stopAt endTime;
endTime 6;
deltaT 0.001;
deltaT 0.0001;
writeControl adjustableRunTime;

View File

@ -119,7 +119,7 @@ populationBalanceCoeffs
(
phaseChange
{
pairs ((particles and vapor));
interfaces (particles_vapor);
dmdtf phaseTransfer:dmidtf;
specie TiO2_s;
surfaceGrowthType ParkRogak;