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:
@ -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
|
||||
|
||||
@ -25,7 +25,7 @@ fields
|
||||
p
|
||||
T.gas
|
||||
T.liquid
|
||||
interfaceCompositionPhaseChange:Tf.gasAndLiquid
|
||||
interfaceCompositionPhaseChange:Tf.gas_liquid
|
||||
dMass.gas
|
||||
dMass.liquid
|
||||
dMass
|
||||
|
||||
@ -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
|
||||
|
||||
@ -22,7 +22,7 @@ fields
|
||||
p
|
||||
T.gas
|
||||
T.liquid
|
||||
interfaceCompositionPhaseChange:Tf.gasAndLiquid
|
||||
interfaceCompositionPhaseChange:Tf.gas_liquid
|
||||
dMass.gas
|
||||
dMass.liquid
|
||||
dMass
|
||||
|
||||
@ -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
|
||||
|
||||
@ -22,7 +22,7 @@ fields
|
||||
p
|
||||
T.steam
|
||||
T.water
|
||||
thermalPhaseChange:Tf.steamAndWater
|
||||
thermalPhaseChange:Tf.steam_water
|
||||
dMass.steam
|
||||
dMass.water
|
||||
dMass
|
||||
|
||||
@ -104,7 +104,7 @@ populationBalanceCoeffs
|
||||
(
|
||||
phaseChange
|
||||
{
|
||||
pairs ((gas and liquid));
|
||||
interfaces (gas_liquid);
|
||||
dmdtf thermalPhaseChange:dmdtf;
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -24,7 +24,7 @@ stopAt endTime;
|
||||
|
||||
endTime 6;
|
||||
|
||||
deltaT 0.001;
|
||||
deltaT 0.0001;
|
||||
|
||||
writeControl adjustableRunTime;
|
||||
|
||||
|
||||
@ -119,7 +119,7 @@ populationBalanceCoeffs
|
||||
(
|
||||
phaseChange
|
||||
{
|
||||
pairs ((particles and vapor));
|
||||
interfaces (particles_vapor);
|
||||
dmdtf phaseTransfer:dmidtf;
|
||||
specie TiO2_s;
|
||||
surfaceGrowthType ParkRogak;
|
||||
|
||||
Reference in New Issue
Block a user