Repository navigation
Vectorized (GPU) cfd solver - #14412
Open
RiccardoRossi wants to merge 174 commits into
Open
RiccardoRossi wants to merge 174 commits into
RiccardoRossi wants to merge 174 commits into
Conversation
…unidentified problem with dirichlet conditions
…iphysics/Kratos into vectorized_cfd_solver
…vely the safety factor and the number of iterations used in the estimation of lambda_max for the amg preconditioner
mrhashemi
reviewed
Jul 29, 2026
mrhashemi
reviewed
Jul 29, 2026
mrhashemi
previously approved these changes
Oct 9, 2026
roigcarlo
force-pushed
the
vectorized_cfd_solver
branch
from
October 13, 2026 09:49
4457fe0 to
62a2a1c
Compare
RiccardoRossi
force-pushed
the
vectorized_cfd_solver
branch
from
October 13, 2026 09:55
62a2a1c to
393adab
Compare
Member
|
sorry for the force-push noise :S |
Co-authored-by: sunethwarna <7856520+sunethwarna@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
this PR adds a semi explicit CFD solver which can either run on the CPU or GPU. Myself and @rubenzorrilla we have been working on this for quite a while and it is currently in a reasonable state.
it requires the library cupy and pyamg
The solver is entirely written in python but leverages blas calls to be efficient.
With the current version and using a mid-tier GPU it is about 10 times faster than the gpu.
Having said this, honestly the style is a good fit to the gpu but probably not for use on cpu. Efficient and parallel use of the CPU will depend on the undetying blas.
user can set gpu or OpenMP as: