Skip to content
Snippets Groups Projects
Commit 1bd5d03e authored by sergio's avatar sergio
Browse files

TUT: Adjusting settings for tutorials climbingRod and mixerVessel2D

parent f0c5f762
No related branches found
No related tags found
No related merge requests found
...@@ -4,5 +4,5 @@ cd "${0%/*}" || exit # Run from this directory ...@@ -4,5 +4,5 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
cleanCase cleanCase
rm 0/*.gz
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -17,13 +17,13 @@ FoamFile ...@@ -17,13 +17,13 @@ FoamFile
application compressibleInterFoam; application compressibleInterFoam;
startFrom latestTime; startFrom startTime;
startTime 0; startTime 0;
stopAt endTime; stopAt endTime;
endTime 25; endTime 20;
deltaT 1e-3; deltaT 1e-3;
......
...@@ -23,11 +23,12 @@ ddtSchemes ...@@ -23,11 +23,12 @@ ddtSchemes
gradSchemes gradSchemes
{ {
default Gauss linear; default Gauss linear;
} }
divSchemes divSchemes
{ {
div(rhoPhi,U) Gauss linearUpwindV grad(U); div(rhoPhi,U) Gauss limitedLinearV 1;
div(rhoPhi,T) Gauss linearUpwind grad(T); div(rhoPhi,T) Gauss linearUpwind grad(T);
div(phi,alpha) Gauss vanLeer; div(phi,alpha) Gauss vanLeer;
......
...@@ -21,7 +21,7 @@ solvers ...@@ -21,7 +21,7 @@ solvers
{ {
nAlphaCorr 2; nAlphaCorr 2;
nAlphaSubCycles 1; nAlphaSubCycles 1;
cAlpha 1; cAlpha 0.8;
MULESCorr yes; MULESCorr yes;
nLimiterIter 5; nLimiterIter 5;
...@@ -46,6 +46,7 @@ solvers ...@@ -46,6 +46,7 @@ solvers
preconditioner DIC; preconditioner DIC;
tolerance 1e-9; tolerance 1e-9;
relTol 0.05; relTol 0.05;
minIter 1;
} }
p_rghFinal p_rghFinal
......
...@@ -94,7 +94,8 @@ blending ...@@ -94,7 +94,8 @@ blending
minPartlyContinuousAlpha.mercury 0.3; minPartlyContinuousAlpha.mercury 0.3;
minFullyContinuousAlpha.air 0.7; minFullyContinuousAlpha.air 0.7;
minPartlyContinuousAlpha.air 0.3; minPartlyContinuousAlpha.air 0.3;
}*/ }
*/
} }
surfaceTension surfaceTension
...@@ -102,17 +103,17 @@ surfaceTension ...@@ -102,17 +103,17 @@ surfaceTension
(air and water) (air and water)
{ {
type constant; type constant;
sigma 0.07; sigma 0.0;
} }
(air and oil) (air and oil)
{ {
type constant; type constant;
sigma 0.07; sigma 0.0;
} }
(air and mercury) (air and mercury)
{ {
type constant; type constant;
sigma 0.07; sigma 0.0;
} }
(water and oil) (water and oil)
{ {
......
...@@ -17,9 +17,9 @@ FoamFile ...@@ -17,9 +17,9 @@ FoamFile
application reactingMultiphaseEulerFoam; application reactingMultiphaseEulerFoam;
startFrom latestTime; startFrom startTime;
startTime 0.6; startTime 0;
stopAt endTime; stopAt endTime;
......
...@@ -30,8 +30,8 @@ divSchemes ...@@ -30,8 +30,8 @@ divSchemes
"div\(phi,alpha.*\)" Gauss vanLeer; "div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*,alpha.*\)" Gauss vanLeer; "div\(phir,alpha.*,alpha.*\)" Gauss vanLeer;
"div\(alphaRhoPhi.*,U.*\)" Gauss limitedLinear 1; "div\(alphaRhoPhi.*,U.*\)" Gauss upwind;
"div\(phi.*,U.*\)" Gauss limitedLinear 1; "div\(phi.*,U.*\)" Gauss upwind;
"div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1; "div\(alphaRhoPhi.*,(h|e).*\)" Gauss limitedLinear 1;
"div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1; "div\(alphaRhoPhi.*,K.*\)" Gauss limitedLinear 1;
...@@ -42,7 +42,7 @@ divSchemes ...@@ -42,7 +42,7 @@ divSchemes
laplacianSchemes laplacianSchemes
{ {
default Gauss linear corrected; default Gauss linear uncorrected;
} }
interpolationSchemes interpolationSchemes
...@@ -52,7 +52,7 @@ interpolationSchemes ...@@ -52,7 +52,7 @@ interpolationSchemes
snGradSchemes snGradSchemes
{ {
default corrected; default uncorrected;
} }
// ************************************************************************* // // ************************************************************************* //
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment