INT: Org integration of VOF, Euler phase solvers and models.

Integration of VOF MULES new interfaces. Update of VOF solvers and all instances
of MULES in the code.
Integration of reactingTwoPhaseEuler and reactingMultiphaseEuler solvers and sub-models
Updating reactingEuler tutorials accordingly (most of them tested)

New eRefConst thermo used in tutorials. Some modifications at thermo specie level
affecting mostly eThermo. hThermo mostly unaffected

New chtMultiRegionTwoPhaseEulerFoam solver for quenching and tutorial.

Phases sub-models for reactingTwoPhaseEuler and reactingMultiphaseEuler were moved
to src/phaseSystemModels/reactingEulerFoam in order to be used by BC for
chtMultiRegionTwoPhaseEulerFoam.

Update of interCondensatingEvaporatingFoam solver.
This commit is contained in:
Sergio Ferraris
2019-06-07 09:38:35 +01:00
committed by Andrew Heather
parent 0628bfb017
commit 8170f2ad92
914 changed files with 68142 additions and 8336 deletions

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type heatAndMomentumTransferMultiphaseSystem;
type basicMultiphaseSystem;
phases (air water);
@ -47,6 +47,14 @@ water
blending
{
default
{
type linear;
minFullyContinuousAlpha.air 0.7;
minPartlyContinuousAlpha.air 0.3;
minFullyContinuousAlpha.water 0.7;
minPartlyContinuousAlpha.water 0.3;
}
drag
{
type linear;
minFullyContinuousAlpha.air 0.7;
@ -150,6 +158,9 @@ heatTransfer
}
);
phaseTransfer
();
lift
();

View File

@ -20,7 +20,7 @@ thermoType
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
thermo eConst;
equationOfState perfectFluid;
specie specie;
energy sensibleInternalEnergy;
@ -39,7 +39,7 @@ mixture
}
thermodynamics
{
Cp 4195;
Cv 4195;
Hf 0;
}
transport

View File

@ -29,7 +29,7 @@ deltaT 0.005;
writeControl runTime;
writeInterval 1;
writeInterval 10;
purgeWrite 0;
@ -51,7 +51,7 @@ maxCo 0.5;
maxDeltaT 1;
functions0
functions
{
fieldAverage1
{

View File

@ -18,6 +18,7 @@ FoamFile
defaultFieldValues
(
volScalarFieldValue alpha.air 1
volScalarFieldValue alpha.water 0
);
regions
@ -28,6 +29,7 @@ regions
fieldValues
(
volScalarFieldValue alpha.air 0
volScalarFieldValue alpha.water 1
);
}
);

View File

@ -15,7 +15,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type heatAndMomentumTransferMultiphaseSystem;
type basicMultiphaseSystem;
phases (water oil mercury air);
@ -82,6 +82,19 @@ blending
minFullyContinuousAlpha.air 0.7;
minPartlyContinuousAlpha.air 0.5;
}
/*
drag
{
type linear;
minFullyContinuousAlpha.water 0.7;
minPartlyContinuousAlpha.water 0.3;
minFullyContinuousAlpha.oil 0.7;
minPartlyContinuousAlpha.oil 0.3;
minFullyContinuousAlpha.mercury 0.7;
minPartlyContinuousAlpha.mercury 0.3;
minFullyContinuousAlpha.air 0.7;
minPartlyContinuousAlpha.air 0.3;
}*/
}
surfaceTension
@ -446,6 +459,9 @@ heatTransfer
lift
();
phaseTransfer
();
wallLubrication
();

View File

@ -26,6 +26,8 @@ thermoType
energy sensibleInternalEnergy;
}
pressureWorkAlphaLimit 0.99;
mixture
{
specie

View File

@ -20,7 +20,7 @@ thermoType
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
thermo eConst;
equationOfState rhoConst;
specie specie;
energy sensibleInternalEnergy;
@ -38,7 +38,7 @@ mixture
}
thermodynamics
{
Cp 135;
Cv 135;
Hf 0;
}
transport

View File

@ -20,7 +20,7 @@ thermoType
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
thermo eConst;
equationOfState rhoConst;
specie specie;
energy sensibleInternalEnergy;
@ -38,7 +38,7 @@ mixture
}
thermodynamics
{
Cp 4195;
Cv 4195;
Hf 0;
}
transport

View File

@ -20,7 +20,7 @@ thermoType
type heRhoThermo;
mixture pureMixture;
transport const;
thermo hConst;
thermo eConst;
equationOfState perfectFluid;
specie specie;
energy sensibleInternalEnergy;
@ -39,7 +39,7 @@ mixture
}
thermodynamics
{
Cp 4195;
Cv 4195;
Hf 0;
}
transport

View File

@ -17,9 +17,9 @@ FoamFile
application reactingMultiphaseEulerFoam;
startFrom startTime;
startFrom latestTime;
startTime 0;
startTime 0.6;
stopAt endTime;
@ -47,7 +47,7 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 0.5;
maxCo 0.2;
maxDeltaT 1;

View File

@ -30,8 +30,8 @@ divSchemes
"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.*,U.*\)" Gauss limitedLinear 1;
"div\(phi.*,U.*\)" Gauss limitedLinear 1;
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;

View File

@ -19,7 +19,8 @@ solvers
{
"alpha.*"
{
nAlphaSubCycles 2;
nAlphaCorr 1;
nAlphaSubCycles 2;
}
p_rgh
@ -32,6 +33,7 @@ solvers
p_rghFinal
{
$p_rgh;
solver PCG;
preconditioner
{
@ -76,8 +78,9 @@ solvers
PIMPLE
{
nOuterCorrectors 1;
nCorrectors 3;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
faceMomentum false;
pRefCell 0;
pRefValue 0;