CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How can I modify config(controlDict, fvSolution, ... etc) to use AmgXWrapper?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2023, 04:56
Question How can I modify config(controlDict, fvSolution, ... etc) to use AmgXWrapper?
New Member
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 3
STK is on a distinguished road
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:

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( 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?
STK is offline   Reply With Quote


amgx, amgxwrapper, gpu, openfoamv2306, petsc4foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

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

All times are GMT -4. The time now is 23:00.