PrincetonUniversity / athena-public-version

(MOVED) Athena++ GRMHD code and adaptive mesh refinement (AMR) framework. Active repository --->
https://github.com/PrincetonUniversity/athena
BSD 3-Clause "New" or "Revised" License
160 stars 118 forks source link

Vacuum Boundary Conditions for Self Gravity #60

Closed michaeljennings11 closed 4 years ago

michaeljennings11 commented 4 years ago

I need to implement boundary conditions for the gravitational potential in the following manner: shearing-periodic in x, periodic in y, and vacuum in z. Is this currently possible in the public version of Athena++?

In the documentation for "Self Gravity with FFT" it says other boundary conditions other than periodic are not yet implemented. Is this possible with multigrid? The documentation page for "Self-Gravity with Multigrid" is non-existent so I am unsure how to even enroll it in Athena++.

changgoo commented 4 years ago

It is not available in the public version of Athena++ (nor in the development version officially). I think various people have their own version for that though. Athena C-version has an FFT gravity solver with the boundary conditions you wish to use (https://github.com/PrincetonUniversity/Athena-Cversion/blob/master/src/gravity/selfg_fft_disk.c). We are working on it (with some improvements), but will not be immediately available in the public version.

changgoo commented 4 years ago

The multigrid solver is under development and not available in the public version yet.

michaeljennings11 commented 4 years ago

Thank you for your help!

Michael

On Sep 4, 2020, at 6:57 PM, Chang-Goo Kim notifications@github.com wrote:

 The multigrid solver is under development and not available in the public version yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.