|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 ![]() |
Dear all,
I have played with OpenFOAM and customized my very basic first solver (icoFoam) as suggested by the tutorials I have found online. Now my basic knowledge isn't enough to move forward. I've searched online but no tutorial/source code is available (*) that answers this question: How can I implement custom matrix/vector classes?For instance, I'd like to use CUDA to perform some computations, and a tutorial on how to achieve this would be quite useful. Of course, I'd like my classes to be used by OpenFOAM's algorithms, but I don't know if it's technically feasible (being also performant is another step). Thanks for any pointers! (*) PS. I am aware of RapidCFD, but it seems a fork of OpenFOAM, too much probably to begin with. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12 ![]() |
__________________
https://openfoam.top |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: May 2018
Posts: 6
Rep Power: 8 ![]() |
Thanks, zhangyan.
I have successfully compiled foam-extend-4.0, and CUDA solvers in src/. It seems, though, I cannot find any tutorial on how to use the included CUDA solvers. Any hints about this? Thanks! Franco |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12 ![]() |
Sorry, I haven't used it.
__________________
https://openfoam.top |
|
![]() |
![]() |
![]() |
Tags |
cuda, custom types, gpu, tutorial |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with exporting data to Tecplot | v.jab | OpenFOAM Post-Processing | 2 | January 11, 2017 08:56 |
paraview - cell data or point data on plot over line | bye bye my blue | OpenFOAM | 0 | December 13, 2016 06:07 |
Error when reading data file. | WJXu | FLUENT | 7 | September 1, 2015 19:34 |
[General] Warping Cells by Vectors? | ronwelty | ParaView | 10 | April 29, 2014 05:52 |
Fluent 5.5. What the differences with fluent 5.3?? | confused | FLUENT | 2 | July 29, 2001 21:58 |