mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: mixerVesselAMI: change relative solvers to smoothers.
This commit is contained in:
@ -8,6 +8,9 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
application=`getApplication`
|
application=`getApplication`
|
||||||
|
|
||||||
./makeMesh
|
./makeMesh
|
||||||
runApplication $application
|
|
||||||
|
#runApplication $application
|
||||||
|
runApplication decomposePar
|
||||||
|
runParallel $application 4
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
|
|
||||||
application pimpleDyMFoam;
|
application pimpleDyMFoam;
|
||||||
|
|
||||||
startFrom startTime; // latestTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
@ -47,6 +47,6 @@ runTimeModifiable true;
|
|||||||
|
|
||||||
adjustTimeStep yes;
|
adjustTimeStep yes;
|
||||||
|
|
||||||
maxCo 2;
|
maxCo 0.5;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -15,19 +15,14 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
singleProcessorFaceSets ((AMI -1));
|
//- Force AMI to be on single processor. Can cause imbalance with some
|
||||||
|
// decomposers.
|
||||||
|
//singleProcessorFaceSets ((AMI -1));
|
||||||
|
|
||||||
numberOfSubdomains 4;
|
numberOfSubdomains 4;
|
||||||
|
|
||||||
method scotch;
|
method scotch;
|
||||||
|
|
||||||
simpleCoeffs
|
|
||||||
{
|
|
||||||
n ( 2 2 1 );
|
|
||||||
delta 0.001;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
distributed no;
|
distributed no;
|
||||||
|
|
||||||
roots ( );
|
roots ( );
|
||||||
|
|||||||
@ -30,7 +30,7 @@ gradSchemes
|
|||||||
divSchemes
|
divSchemes
|
||||||
{
|
{
|
||||||
default none;
|
default none;
|
||||||
div(phi,U) Gauss upwind;
|
div(phi,U) Gauss linearUpwind grad(U);
|
||||||
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
div((nuEff*dev(T(grad(U))))) Gauss linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -28,8 +28,8 @@ solvers
|
|||||||
nCellsInCoarsestLevel 10;
|
nCellsInCoarsestLevel 10;
|
||||||
mergeLevels 1;
|
mergeLevels 1;
|
||||||
|
|
||||||
tolerance 0.02;
|
tolerance 0.02;
|
||||||
relTol 0;
|
relTol 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
@ -48,8 +48,8 @@ solvers
|
|||||||
|
|
||||||
U
|
U
|
||||||
{
|
{
|
||||||
solver PBiCG;
|
solver smoothSolver;
|
||||||
preconditioner DILU;
|
smoother GaussSeidel;
|
||||||
tolerance 1e-05;
|
tolerance 1e-05;
|
||||||
relTol 0.1;
|
relTol 0.1;
|
||||||
}
|
}
|
||||||
@ -73,8 +73,8 @@ solvers
|
|||||||
PIMPLE
|
PIMPLE
|
||||||
{
|
{
|
||||||
correctPhi no;
|
correctPhi no;
|
||||||
nOuterCorrectors 2;
|
nOuterCorrectors 1;
|
||||||
nCorrectors 1;
|
nCorrectors 2;
|
||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
|
|
||||||
pRefCell 0;
|
pRefCell 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user