ENH: Updating interCondensatingEvaporatingFoam tutorial case

This commit is contained in:
sergio
2019-02-01 15:12:08 -08:00
parent b3b9dd9b18
commit b3c9bd480b
5 changed files with 9 additions and 17 deletions

View File

@ -16,7 +16,7 @@ FoamFile
dimensions [0 0 0 1 0 0 0]; dimensions [0 0 0 1 0 0 0];
internalField uniform 375; internalField uniform 366;
boundaryField boundaryField
{ {

View File

@ -18,8 +18,8 @@ phaseChangeTwoPhaseModel constant;
constantCoeffs constantCoeffs
{ {
coeffC coeffC [0 0 -1 -1 0 0 0] 250; coeffC coeffC [0 0 -1 -1 0 0 0] 50;
coeffE coeffE [0 0 -1 -1 0 0 0] 250; coeffE coeffE [0 0 -1 -1 0 0 0] 50;
} }

View File

@ -23,13 +23,13 @@ startTime 0;
stopAt endTime; stopAt endTime;
endTime 4; endTime 10;
deltaT 1e-4; deltaT 1e-4;
writeControl adjustableRunTime; writeControl adjustableRunTime;
writeInterval 0.1; writeInterval 0.5;
purgeWrite 0; purgeWrite 0;
@ -45,9 +45,9 @@ timePrecision 6;
runTimeModifiable yes; runTimeModifiable yes;
adjustTimeStep no; adjustTimeStep yes;
maxCo 1.0; maxCo 2.0;
maxDeltaT 1e-2; maxDeltaT 1e-2;

View File

@ -33,7 +33,7 @@ divSchemes
div(phi,omega) Gauss upwind; div(phi,omega) Gauss upwind;
div(phi,epsilon) Gauss upwind; div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind; div(phi,k) Gauss upwind;
div(rhoPhi,e) Gauss upwind; div(rhoCpPhi,T) Gauss upwind;
div(rhoPhi,K) Gauss upwind; div(rhoPhi,K) Gauss upwind;
div(phi,alpha) Gauss vanLeer; div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear; div(phirb,alpha) Gauss linear;

View File

@ -96,15 +96,7 @@ solvers
relTol 0; relTol 0;
}; };
"e.*" "(k.*|omega.*|Theta.*|T.*).*"
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-7;
relTol 0.0;
}
"(k.*|omega.*|Theta.*).*"
{ {
solver PBiCGStab; solver PBiCGStab;
preconditioner DILU; preconditioner DILU;