tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet: Added a potentialFoam initializer step

This commit is contained in:
Henry
2015-02-18 10:01:05 +00:00
parent 3ec4a1d6df
commit f86da34506
9 changed files with 88 additions and 24 deletions

View File

@ -16,43 +16,44 @@ FoamFile
ddtSchemes
{
default Euler;
default Euler;
}
interpolationSchemes
{
default linear;
default linear;
}
divSchemes
{
default none;
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,omega) Gauss linearUpwind grad(omega);
div(phi,k) Gauss linearUpwind grad(k);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
default none;
div(rhoPhi,U) Gauss linearUpwind grad(U);
div(phi,omega) Gauss linearUpwind grad(omega);
div(phi,k) Gauss linearUpwind grad(k);
div(phi,alpha) Gauss vanLeer;
div(phirb,alpha) Gauss linear;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
}
gradSchemes
{
default Gauss linear;
default Gauss linear;
}
laplacianSchemes
{
default Gauss linear limited corrected 0.5;
default Gauss linear limited corrected 0.5;
}
snGradSchemes
{
default limited corrected 0.5;
default limited corrected 0.5;
}
fluxRequired
{
default none;
default none;
Phi;
p_rgh;
pcorr;
alpha.water;

View File

@ -59,12 +59,6 @@ solvers
maxIter 50;
};
pcorr
{
$p_rgh;
relTol 0;
};
p_rghFinal
{
solver PCG;
@ -91,6 +85,23 @@ solvers
relTol 0;
maxIter 50;
};
pcorr
{
$p_rgh;
relTol 0;
};
Phi
{
$p_rgh;
relTol 0;
};
}
potentialFlow
{
nNonOrthogonalCorrectors 3;
}
PIMPLE
@ -103,12 +114,9 @@ PIMPLE
relaxationFactors
{
fields
{
}
equations
{
"U.*" 1;
"U.*" 1;
}
}