tutorials/multiphase/multiphaseEulerFoam: Backwards compatible changes

These changes are not required for the cases to run with the new
phaseInterface system. The syntax prior to this commit will be read in
the new phaseInterface system's backwards compatibility mode.
This commit is contained in:
Will Bainbridge
2022-01-19 09:38:25 +00:00
parent 807e517274
commit 64a6562a1e
36 changed files with 832 additions and 1861 deletions

View File

@ -47,25 +47,23 @@ blending
}
surfaceTension
(
(gas and liquid)
{
gas_liquid
{
type constant;
sigma 0.07;
}
);
}
drag
(
);
{}
virtualMass
(
);
{}
interfaceComposition.gas
(
(gas and liquid)
interfaceComposition
{
gas_liquid_inThe_gas
{
type nonRandomTwoLiquid;
species (H2O C3H8O);
@ -112,62 +110,42 @@ interfaceComposition.gas
}
}
}
);
}
interfaceComposition.liquid
(
);
heatTransfer.gas
(
(liquid in gas)
heatTransfer
{
liquid_dispersedIn_gas_inThe_gas
{
type RanzMarshall;
residualAlpha 1e-4;
}
);
heatTransfer.liquid
(
(liquid in gas)
liquid_dispersedIn_gas_inThe_liquid
{
type spherical;
residualAlpha 1e-4;
}
);
}
diffusiveMassTransfer.gas
(
(liquid in gas)
diffusiveMassTransfer
{
liquid_dispersedIn_gas_inThe_gas
{
type Frossling;
Le 1.0;
}
);
diffusiveMassTransfer.liquid
(
(liquid in gas)
{
type spherical;
Le 1.0;
}
);
}
phaseTransfer
(
);
{}
lift
(
);
{}
wallLubrication
(
);
{}
turbulentDispersion
(
);
{}
// ************************************************************************* //

View File

@ -46,25 +46,23 @@ blending
}
surfaceTension
(
(gas and liquid)
{
gas_liquid
{
type constant;
sigma 0.07;
}
);
}
drag
(
);
{}
virtualMass
(
);
{}
interfaceComposition.gas
(
(gas and liquid)
interfaceComposition
{
gas_liquid_inThe_gas
{
type saturated;
species ( H2O );
@ -74,57 +72,42 @@ interfaceComposition.gas
type ArdenBuck;
}
}
);
}
interfaceComposition.liquid
(
);
heatTransfer.gas
(
(liquid in gas)
heatTransfer
{
liquid_dispersedIn_gas_inThe_gas
{
type RanzMarshall;
residualAlpha 1e-4;
}
);
heatTransfer.liquid
(
(liquid in gas)
liquid_dispersedIn_gas_inThe_liquid
{
type spherical;
residualAlpha 1e-4;
}
);
}
diffusiveMassTransfer.gas
(
(liquid in gas)
diffusiveMassTransfer
{
liquid_dispersedIn_gas_inThe_gas
{
type Frossling;
Le 1.0;
}
);
diffusiveMassTransfer.liquid
(
);
}
phaseTransfer
(
);
{}
lift
(
);
{}
wallLubrication
(
);
{}
turbulentDispersion
(
);
{}
// ************************************************************************* //

View File

@ -149,30 +149,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -150,30 +150,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -192,30 +192,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -115,30 +115,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -134,60 +134,46 @@ blending
}
drag
(
(air1 in water)
{
air1_dispersedIn_water
{
type SchillerNaumann;
residualRe 1e-3;
swarmCorrection
{
type none;
}
}
(air2 in water)
air2_dispersedIn_water
{
type SchillerNaumann;
residualRe 1e-3;
swarmCorrection
{
type none;
}
$air1_dispersedIn_water;
}
(air3 in water)
air3_dispersedIn_water
{
type SchillerNaumann;
residualRe 1e-3;
swarmCorrection
{
type none;
}
$air1_dispersedIn_water;
}
);
}
heatTransfer
();
{}
interfaceCompression
();
{}
lift
();
{}
phaseTransfer
();
{}
surfaceTension
();
{}
turbulentDispersion
();
{}
virtualMass
();
{}
wallLubrication
();
{}
// ************************************************************************* //

View File

@ -115,30 +115,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -155,30 +155,30 @@ blending
}
surfaceTension
();
{}
interfaceCompression
();
{}
drag
();
{}
virtualMass
();
{}
heatTransfer
();
{}
phaseTransfer
();
{}
lift
();
{}
wallLubrication
();
{}
turbulentDispersion
();
{}
// ************************************************************************* //

View File

@ -46,82 +46,55 @@ blending
}
surfaceTension
(
(steam and water)
{
steam_water
{
type constant;
sigma 0.07;
}
);
}
saturation
(
(steam and water)
{
steam_water
{
type constant;
pSat 1e5;
Tsat 372.76;
}
);
}
drag
(
);
{}
virtualMass
(
);
{}
interfaceComposition.steam
(
(steam and water)
{
type saturated;
species ( H2O );
Le 1.0;
saturationPressure
{
type ArdenBuck;
}
}
);
interfaceComposition.water
(
);
heatTransfer.steam
(
(water in steam)
heatTransfer
{
water_dispersedIn_steam_inThe_steam
{
type RanzMarshall;
residualAlpha 1e-4;
}
);
heatTransfer.water
(
(water in steam)
water_dispersedIn_steam_inThe_water
{
type spherical;
residualAlpha 1e-4;
}
);
}
phaseTransfer
(
);
{}
lift
(
);
{}
wallLubrication
(
);
{}
turbulentDispersion
(
);
{}
// ************************************************************************* //