quarkz |
January 6, 2023 03:14 |
Using PETSc with cyclicAMI in OpenFOAM (2206) - not supported?
Hi,
I'm trying to use PETSc with cyclicAMI in OpenFOAM (2206). However, I got the error msg:
Code:
solvers/petscSolver.C at line 671.
[147]
FOAM parallel run exiting
[147]
[46]
[158] From void Foam::petscSolver::buildMat(_p_Mat*&, Foam::List<int>&, PetscInt&) const
[158] in file solvers/petscSolver.C at line 671.
[158]
FOAM parallel run exiting
[158]
[30] cyclicAMI is not supported
[30]
[30]
[30] From void Foam::petscSolver::buildMat(_p_Mat*&, Foam::List<int>&, PetscInt&) const
Here's my PETSc config in fvSolution:
Code:
solver petsc;
petsc
{
options
{
ksp_type cg;
ksp_cg_single_reduction true;
ksp_norm_type none;
// With or without hypre
//#if 0
mat_type aij;
pc_type hypre;
pc_hypre_type boomeramg;
pc_hypre_boomeramg_max_iter "1";
pc_hypre_boomeramg_strong_threshold "0.25";
pc_hypre_boomeramg_grid_sweeps_up "1";
pc_hypre_boomeramg_grid_sweeps_down "1";
pc_hypre_boomeramg_agg_nl "1";
pc_hypre_boomeramg_agg_num_paths "1";
pc_hypre_boomeramg_max_levels "25";
pc_hypre_boomeramg_coarsen_type HMIS;
pc_hypre_boomeramg_interp_type ext+i;
pc_hypre_boomeramg_P_max "1";
pc_hypre_boomeramg_truncfactor "0.3";
So is it supported? I also tried GAMG but the errror is the same.
|