|
[Sponsors] |
How can I modify config(controlDict, fvSolution, ... etc) to use AmgXWrapper? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 25, 2023, 04:56 |
How can I modify config(controlDict, fvSolution, ... etc) to use AmgXWrapper?
|
#1 |
New Member
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 2 |
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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem modify Newtonian transportModel in OF6 | aeroBassti | OpenFOAM Programming & Development | 1 | April 16, 2021 11:01 |
how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 06:09 |
Effects on fvSolution file on calling mpi run | aaron99 | OpenFOAM Programming & Development | 0 | May 27, 2019 06:12 |
How to lock the fvSolution file ? | aaron99 | OpenFOAM Programming & Development | 5 | May 17, 2019 11:44 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |