piso
Inherits from: simpler
Piso (Pressure Implicit with Split Operator) - method to solve N_S.
Parameters:
- [seuil_convergence_implicite] (type: float) Convergence criteria.
- [nb_corrections_max] (type: int) Maximum number of corrections performed by the PISO algorithm to achieve the projection of the velocity field. The algorithm may perform less corrections then nb_corrections_max if the accuracy of the projection is sufficient. (By default nb_corrections_max is set to 21).
- [seuil_convergence_solveur] (type: float) value of the convergence criteria for the resolution of the implicit system build by solving several times per time step the Navier_Stokes equation and the scalar equations if any. This value MUST be used when a coupling between problems is considered (should be set to a value typically of 0.1 or 0.01).
- [seuil_generation_solveur] (type: float) Option to create a GMRES solver and use vrel as the convergence threshold (implicit linear system Ax=B will be solved if residual error ||Ax-B|| is lesser than vrel).
- [seuil_verification_solveur] (type: float) Option to check if residual error ||Ax-B|| is lesser than vrel after the implicit linear system Ax=B has been solved.
- [seuil_test_preliminaire_solveur] (type: float) Option to decide if the implicit linear system Ax=B should be solved by checking if the residual error ||Ax-B|| is bigger than vrel.
- [solveur] (type: solveur_sys_base) Method (different from the default one, Gmres with diagonal preconditioning) to solve the linear system.
- [no_qdm] (type: flag) Keyword to not solve qdm equation (and turbulence models of these equation).
- [nb_it_max] (type: int) Keyword to set the maximum iterations number for the Gmres.
- [controle_residu] (type: flag) Keyword of Boolean type (by default 0). If set to 1, the convergence occurs if the residu suddenly increases.
implicite
Inherits from: piso
similar to PISO, but as it looks like a simplified solver, it will use fewer timesteps. But it may run faster because the pressure matrix is not re-assembled and thus provides CPU gains.
Parameters:
- [seuil_convergence_implicite] (type: float) Convergence criteria.
- [nb_corrections_max] (type: int) Maximum number of corrections performed by the PISO algorithm to achieve the projection of the velocity field. The algorithm may perform less corrections then nb_corrections_max if the accuracy of the projection is sufficient. (By default nb_corrections_max is set to 21).
- [seuil_convergence_solveur] (type: float) value of the convergence criteria for the resolution of the implicit system build by solving several times per time step the Navier_Stokes equation and the scalar equations if any. This value MUST be used when a coupling between problems is considered (should be set to a value typically of 0.1 or 0.01).
- [seuil_generation_solveur] (type: float) Option to create a GMRES solver and use vrel as the convergence threshold (implicit linear system Ax=B will be solved if residual error ||Ax-B|| is lesser than vrel).
- [seuil_verification_solveur] (type: float) Option to check if residual error ||Ax-B|| is lesser than vrel after the implicit linear system Ax=B has been solved.
- [seuil_test_preliminaire_solveur] (type: float) Option to decide if the implicit linear system Ax=B should be solved by checking if the residual error ||Ax-B|| is bigger than vrel.
- [solveur] (type: solveur_sys_base) Method (different from the default one, Gmres with diagonal preconditioning) to solve the linear system.
- [no_qdm] (type: flag) Keyword to not solve qdm equation (and turbulence models of these equation).
- [nb_it_max] (type: int) Keyword to set the maximum iterations number for the Gmres.
- [controle_residu] (type: flag) Keyword of Boolean type (by default 0). If set to 1, the convergence occurs if the residu suddenly increases.