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
Deactivate the multigrid solver for pressure
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Deactivate the multigrid solver for pressure
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
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