multiphaseEulerFoam: Add "none" diameterModel for phases that are always continuous

This model will generate an error if the diameter is requested. This
will happen if another sub model is included that depends on the
diameter of the continuous phase. It therefore provides a check that the
sub-modelling combination is valid.

Patch contributed by Institute of Fluid Dynamics,
Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
This commit is contained in:
Will Bainbridge
2022-01-19 15:17:47 +00:00
parent 3cc9475b45
commit 66f325fc41
27 changed files with 212 additions and 136 deletions

View File

@ -33,11 +33,8 @@ gas
liquid
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;

View File

@ -29,19 +29,16 @@ solids
d 462e-6;
}
residualAlpha 1e-5;
residualAlpha 1e-5;
}
gas
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 1;
}
residualAlpha 1e-5;
diameterModel none;
residualAlpha 1e-5;
}
blending
@ -49,7 +46,6 @@ blending
default
{
type none;
residualAlpha 1e-6;
continuousPhase gas;
}
}

View File

@ -75,12 +75,7 @@ water
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-6;
}

View File

@ -38,11 +38,7 @@ air
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 1;
}
diameterModel none;
residualAlpha 0;
}

View File

@ -34,11 +34,7 @@ gas
liquid
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;

View File

@ -71,11 +71,7 @@ gas
liquid
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;

View File

@ -69,11 +69,7 @@ gas
liquid
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;

View File

@ -93,11 +93,7 @@ gas2
liquid
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 0.00045;
}
diameterModel none;
Sc 0.7;
residualAlpha 1e-6;

View File

@ -21,11 +21,7 @@ phases (water oil mercury air);
water
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-3;
}
@ -33,11 +29,7 @@ water
oil
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-3;
}
@ -45,11 +37,7 @@ oil
mercury
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-3;
}
@ -57,11 +45,7 @@ mercury
air
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 3e-3;
}
diameterModel none;
residualAlpha 1e-3;
}

View File

@ -34,11 +34,7 @@ particles
air
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 1;
}
diameterModel none;
residualAlpha 0;
}

View File

@ -36,11 +36,7 @@ steam
water
{
type purePhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-3;
}

View File

@ -86,11 +86,7 @@ vapor
{
type reactingPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1;
}
diameterModel none;
residualAlpha 1e-5;
}

View File

@ -88,11 +88,7 @@ vapor
{
type reactingPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1;
}
diameterModel none;
Sct 1.0;

View File

@ -21,12 +21,7 @@ phases (air water solid);
air
{
type pureIsothermalPhaseModel;
diameterModel isothermal;
isothermalCoeffs
{
d0 3e-3;
p0 1e5;
}
diameterModel none;
residualAlpha 1e-6;
}
@ -34,11 +29,7 @@ air
water
{
type pureIsothermalPhaseModel;
diameterModel constant;
constantCoeffs
{
d 1e-4;
}
diameterModel none;
residualAlpha 1e-6;
}