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];
internalField uniform 375;
internalField uniform 366;
boundaryField
{

View File

@ -18,8 +18,8 @@ phaseChangeTwoPhaseModel constant;
constantCoeffs
{
coeffC coeffC [0 0 -1 -1 0 0 0] 250;
coeffE coeffE [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] 50;
}

View File

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

View File

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

View File

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