Page 1 of 1

Deactivate the multigrid solver for pressure

Posted: Thu Jan 05, 2017 8:36 am
by msgsvc
Hello,

I am using version 4.0.6 and want to set the solver to PCG(polynomial preconditionning). Although I set the "Equation parameters" Conjugate gradient via GUI, I still found the multigrid as a solver for pressure. Is this a correct set?

I find the "cs_user_parameters-linear_solvers.c" file which just can set multigrid by multigrid uses PCG(or jacobi) as a smoother. It looks like no parameters to deactivate the multigrid solver for pressure.

If I want to deactivate the multigrid solver for pressure and change only PCG(polynomial preconditionning) as solver for pressure or set PCG(jacobi preconditionning) , what should I do?

Could you explain how to set the file?


Best Regards,

Jackie

Re: Deactivate the multigrid solver for pressure

Posted: Sat Jan 07, 2017 3:04 am
by Yvan Fournier
Hello,

Could you post your case setup ? I tested 4.0.6 on my side, and reproduced no issue using the GUI to choose the pressure solver.

When using cs_user_parameters.c, simply take an example for a variable other than the pressure using a Krylov solver and use it for pressure.

Regards,

Yvan