ractingEulerFoam: populationBalance: Refactored scaling
Refactored the function for scaling the size group volume fractions to better handle situations in which their sum drifts away from unity. Scaling is now turned on by default, and can be turned off in the solution dictionary for the population balance. Additional revision and renaming of *Polydisperse tutorials Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
This commit is contained in:
@ -1,14 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
runApplication $(getApplication)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication topoSet
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
runApplication $(getApplication)
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -25,9 +25,10 @@ solvers
|
||||
|
||||
bubbles
|
||||
{
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
renormalize true;
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
scale true;
|
||||
solveOnFinalIterOnly true;
|
||||
}
|
||||
|
||||
p_rgh
|
||||
|
||||
@ -17,7 +17,7 @@ FoamFile
|
||||
|
||||
dimensions [0 0 0 0 0 0 0];
|
||||
|
||||
internalField uniform 0;
|
||||
internalField uniform 1;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
|
||||
@ -1,15 +1,12 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Set application name
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication topoSet
|
||||
runApplication setFields
|
||||
runApplication $application
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -81,21 +81,16 @@ populationBalanceCoeffs
|
||||
|
||||
coalescenceModels
|
||||
(
|
||||
CoulaloglouTavlarides{}
|
||||
LehrMilliesMewes{}
|
||||
);
|
||||
|
||||
binaryBreakupModels
|
||||
();
|
||||
(
|
||||
LehrMilliesMewes{}
|
||||
);
|
||||
|
||||
breakupModels
|
||||
(
|
||||
exponential
|
||||
{
|
||||
C 10.0;
|
||||
exponent 1.0;
|
||||
daughterSizeDistributionModel uniform;
|
||||
}
|
||||
);
|
||||
();
|
||||
|
||||
driftModels
|
||||
(
|
||||
|
||||
@ -24,11 +24,11 @@ RAS
|
||||
turbulence on;
|
||||
printCoeffs on;
|
||||
|
||||
// mixtureKEpsilonCoeffs
|
||||
// {
|
||||
// Cp 1;
|
||||
// C3 1;
|
||||
// }
|
||||
mixtureKEpsilonCoeffs
|
||||
{
|
||||
Cp 1;
|
||||
C3 1;
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -27,7 +27,7 @@ solvers
|
||||
{
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
renormalize false;
|
||||
scale true;
|
||||
solveOnFinalIterOnly true;
|
||||
}
|
||||
|
||||
|
||||
@ -76,24 +76,16 @@ populationBalanceCoeffs
|
||||
|
||||
coalescenceModels
|
||||
(
|
||||
hydrodynamic
|
||||
{
|
||||
C 0.25;
|
||||
}
|
||||
LehrMilliesMewes{}
|
||||
);
|
||||
|
||||
binaryBreakupModels
|
||||
();
|
||||
(
|
||||
LehrMilliesMewes{}
|
||||
);
|
||||
|
||||
breakupModels
|
||||
(
|
||||
exponential
|
||||
{
|
||||
C 0.5;
|
||||
exponent 0.01;
|
||||
daughterSizeDistributionModel uniform;
|
||||
}
|
||||
);
|
||||
();
|
||||
|
||||
driftModels
|
||||
(
|
||||
@ -125,7 +117,13 @@ blending
|
||||
}
|
||||
|
||||
surfaceTension
|
||||
();
|
||||
(
|
||||
(gas and liquid)
|
||||
{
|
||||
type constant;
|
||||
sigma 0.07;
|
||||
}
|
||||
);
|
||||
|
||||
saturationModel
|
||||
{
|
||||
@ -25,11 +25,10 @@ solvers
|
||||
|
||||
bubbles
|
||||
{
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
renormalizeOnRestart true;
|
||||
renormalize true;
|
||||
solveOnFinalIterOnly true;
|
||||
nCorr 1;
|
||||
tolerance 1e-4;
|
||||
scale true;
|
||||
solveOnFinalIterOnly true;
|
||||
}
|
||||
|
||||
p_rgh
|
||||
Reference in New Issue
Block a user