|
[Sponsors] | |||||
How can I modify config(controlDict, fvSolution, ... etc) to use AmgXWrapper? |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
New Member
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 4 ![]() |
Hellow foamers,
I'm seeking the way to solve CHT(conjugate heat transfer) with GPU acceleration. My first attempt is using RapidCFD. But chtMultiRegionFoam(originally commented out) in RapidCFD cannot handle compressible::turbulentTemperatureCoupledBaffleMix ed; boundary condition (which is used in OpenFOAM-2.3.x chtMultiRegionFoam tutorial) And other thread said cudasolver in foam-extended also suffers lack of coupled temperature BC Thus I try OpenFOAM-PETSc4FOAM-AmgXWrapper as shown in slide 4 following link: https://wiki.openfoam.com/images/a/a..._Martineau.pdf I can successfully call petsc thanks to the tutorial in PETSc4FOAM source. But I have absolutely no idea how to call AmgX using AmgXWrapper. Usage page in AmgXWrapper repository gives several command to call AmgXWrapper in PETSc application(https://github.com/barbagroup/AmgXWr...r/doc/usage.md) but I'm not sure where to put those lines like "AmgXSolver solver;" maybe under the petsc dictionary in fvSolution? Should I add libs (libamgxwrapper); in controlDict to call it? Is there any test case such that I can check proper configurations? |
|
|
|
|
|
![]() |
| Tags |
| amgx, amgxwrapper, gpu, openfoamv2306, petsc4foam |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem modify Newtonian transportModel in OF6 | aeroBassti | OpenFOAM Programming & Development | 1 | April 16, 2021 12:01 |
| how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
| Effects on fvSolution file on calling mpi run | aaron99 | OpenFOAM Programming & Development | 0 | May 27, 2019 07:12 |
| How to lock the fvSolution file ? | aaron99 | OpenFOAM Programming & Development | 5 | May 17, 2019 12:44 |
| fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |