CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
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?
  #1
STK
New Member
 
Seungtae Kim
Join Date: Jun 2023
Posts: 7
Rep Power: 2
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: 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?
STK is offline   Reply With Quote

Reply

Tags
amgx, amgxwrapper, gpu, openfoamv2306, petsc4foam


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 14:25.