TUT: clean up multiphase tutorials

This commit is contained in:
Kutalmis Bercin
2020-01-29 17:19:43 +00:00
parent 647e161511
commit 01514e4d43
1349 changed files with 5623 additions and 241919 deletions

View File

@ -24,22 +24,26 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
left
{
type fixedValue;
value uniform 375;
}
right
{
type zeroGradient;
value $internalField;
}
frontAndBack
{
type empty;

View File

@ -25,21 +25,25 @@ boundaryField
type fixedValue;
value $internalField;
}
top
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
left
{
type fixedValue;
value $internalField;
}
right
{
type fixedValue;
value $internalField;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alphat;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -13,6 +13,7 @@ FoamFile
object phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type massTransferMultiphaseSystem;
phases (liquid gas);
@ -46,4 +47,6 @@ massTransferModel
Tactivate 366;
}
);
// ************************************************************************* //

View File

@ -25,8 +25,6 @@ thermoType
energy sensibleEnthalpy;
}
// ************************************************************************* //
species
(
air
@ -80,3 +78,6 @@ air
Pr 0.7;
}
}
// ************************************************************************* //

View File

@ -48,4 +48,5 @@ mixture
}
}
// ************************************************************************* //

View File

@ -50,7 +50,9 @@ adjustTimeStep yes;
maxDeltaT 1e-1;
maxCo 1.5;
maxAlphaCo 1.5;
maxAlphaDdt 1;
// ************************************************************************* //

View File

@ -37,8 +37,6 @@ solvers
// Compressiion factor for species in each alpha phase
// NOTE: It should be similar to cAlpha
cYi 1;
}
"(U.*|epsilon.*|k.*)"
@ -58,8 +56,6 @@ solvers
residualAlpha 1e-5;
}
p_rgh
{
solver PCG;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,22 +24,26 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
left
{
type fixedValue;
value $internalField;
}
right
{
type zeroGradient;
value $internalField;
}
frontAndBack
{
type empty;

View File

@ -25,21 +25,25 @@ boundaryField
type fixedValue;
value $internalField;
}
top
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
left
{
type fixedValue;
value $internalField;
}
right
{
type fixedValue;
value $internalField;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object air.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.gas;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 1;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.liquid;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.mercury;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object alpha.oil;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type zeroGradient;
}
top
{
type inletOutlet;
inletValue uniform 0;
value uniform 1;
}
left
{
type zeroGradient;
}
right
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -85,4 +85,6 @@ surfaceTension
massTransferModel
(
);
// ************************************************************************* //

View File

@ -25,8 +25,6 @@ thermoType
energy sensibleEnthalpy;
}
// ************************************************************************* //
species
(
air
@ -104,3 +102,6 @@ CO2
Pr 0.7;
}
}
// ************************************************************************* //

View File

@ -75,4 +75,5 @@ fluxRequired
XO2.liquid;
"alpha.*";
}
// ************************************************************************* //

View File

@ -16,7 +16,7 @@ FoamFile
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// NOTE: The inert specie is defined everywhere.
// As it is not solved it fullfills the thermo requirement of Sum Y = 1
// As it is not solved it fulfills the thermo requirement of Sum Y = 1
// in phases where there are not species
defaultFieldValues
(

View File

@ -25,23 +25,26 @@ boundaryField
type fixedValue;
value uniform 311;
}
right
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
bottom
{
type zeroGradient;
value $internalField;
}
top
{
type zeroGradient;
value $internalField;
}
frontAndBack
{
type empty;

View File

@ -25,21 +25,25 @@ boundaryField
type fixedValue;
value uniform (0 0 0);
}
top
{
type fixedValue;
value uniform (0 0 0);
}
bottom
{
type fixedValue;
value uniform (0 0 0);
}
right
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
frontAndBack
{
type empty;

View File

@ -24,21 +24,24 @@ boundaryField
{
type zeroGradient;
}
right
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
bottom
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,21 +24,24 @@ boundaryField
{
type zeroGradient;
}
right
{
type inletOutlet;
inletValue uniform 1;
value uniform 1;
}
bottom
{
type zeroGradient;
}
top
{
type zeroGradient;
}
frontAndBack
{
type empty;

View File

@ -24,20 +24,24 @@ boundaryField
{
type fixedFluxPressure;
}
right
{
type totalPressure;
p0 $internalField;
value $internalField;
}
bottom
{
type fixedFluxPressure;
}
top
{
type fixedFluxPressure;
}
frontAndBack
{
type empty;

View File

@ -13,6 +13,7 @@ FoamFile
object phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type massTransferMultiphaseSystem;
phases (solid liquid);

View File

@ -25,8 +25,6 @@ thermoType
energy sensibleEnthalpy;
}
// ************************************************************************* //
mixture
{
specie

View File

@ -25,8 +25,6 @@ thermoType
energy sensibleEnthalpy;
}
// ************************************************************************* //
mixture
{
specie
@ -49,3 +47,4 @@ mixture
}
}
// ************************************************************************* //

View File

@ -50,8 +50,11 @@ adjustTimeStep yes;
maxDeltaT 1;
maxCo 1.;
maxAlphaCo 1.;
maxAlphaDdt 2.3;
maxDi 25;
// ************************************************************************* //

View File

@ -30,7 +30,6 @@ solvers
nAlphaSubCycles 2;
cAlphas ((liquid and solid) 0);
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-8;