Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to update to newer OpenFOAM v2306 #109

Open
adrielpoo opened this issue Nov 29, 2023 · 3 comments
Open

Attempt to update to newer OpenFOAM v2306 #109

adrielpoo opened this issue Nov 29, 2023 · 3 comments

Comments

@adrielpoo
Copy link

We are trying to update RapidCFD to a newer version of OpenFOAM v2306. We try to copy files directly from OpenFOAM to RapidCFD (Ospecific and Pstream) and currently trying to sort out dependencies errors. Has anybody tried this method before? and/or has any advice?

@TonkomoLLC
Copy link
Contributor

TonkomoLLC commented Nov 29, 2023

That's great news that you are working to modernize RapidCFD. I cannot give specific advice without knowing about the errors, and even then I might not know the answer (because I don't have a lot of experience with upgrading PStream and OSspecific). But you asked in general about advice... OpenFOAM has evolved so much in the past 9 years I am not sure if it is easier to copy updates from OpenFOAM-v2306 to RapidCFD (which sounds like your approach), or to start with a fresh working copy of OpenFOAM-v2306 and modify -v2306 with the GPU/CUDA related code from RapidCFD.

@klausbu
Copy link

klausbu commented Dec 12, 2023

Would you please add the option to access the full matrix in CSR format, if it's distributed (parallel run) then the full distributed, local parts individually to avoid data doubling when implementing external GPU libraries in addition to the standard solvers. I can provide a conversion routine, that works on the CPU but it's copying the data which should be avoided especially on the GPU with usually limited GPU memory. I mean a switch to switch between LDU and L+D+U in CSR format that can be used within the PCG source code which is my template to add external solvers.

@TonkomoLLC
Copy link
Contributor

For your posts today (this and #110) , I hope that @daniel-jasinski can reply
I cannot efficiently help you here, unfortunately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants