Update solver syntax to 1.6

This commit is contained in:
Hrvoje Jasak 2010-12-07 14:56:18 +00:00
parent 12c84bf317
commit 3e09a3b38f
3 changed files with 63 additions and 44 deletions

View file

@ -16,8 +16,9 @@ FoamFile
solvers
{
p GAMG
p
{
solver GAMG;
tolerance 1e-8;
relTol 0.05;
@ -28,31 +29,34 @@ solvers
nCellsInCoarsestLevel 20;
agglomerator faceAreaPair;
mergeLevels 1;
};
}
U smoothSolver
U
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
}
k smoothSolver
k
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
}
epsilon smoothSolver
epsilon
{
solver smoothSolver;
smoother GaussSeidel;
nSweeps 2;
tolerance 1e-7;
relTol 0.1;
};
}
}
SIMPLE

View file

@ -16,8 +16,9 @@ FoamFile
solvers
{
p GAMG
p
{
solver GAMG;
tolerance 1e-8;
relTol 0;
@ -30,49 +31,56 @@ solvers
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
};
Ua PBiCG
}
Ua
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Ub PBiCG
}
Ub
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
alpha PBiCG
}
alpha
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
beta PBiCG
}
beta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
Theta PBiCG
}
Theta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
k PBiCG
}
k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
epsilon PBiCG
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
}
}
PISO

View file

@ -16,8 +16,9 @@ FoamFile
solvers
{
p GAMG
p
{
solver GAMG;
tolerance 1e-8;
relTol 0;
@ -30,49 +31,55 @@ solvers
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
};
Ua PBiCG
}
Ua
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
Ub PBiCG
}
Ub
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
alpha PBiCG
}
alpha
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
beta PBiCG
}
beta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-10;
relTol 0;
};
Theta PBiCG
}
Theta
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
}
k
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
k PBiCG
}
epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
epsilon PBiCG
{
preconditioner DILU;
tolerance 1e-05;
relTol 0;
};
}
}
PISO