[petsc-users] Neumann Boundary Condition with DMDACreate3D

Gourav Kumbhojkar gourav.kumbhojkar at gmail.com
Thu Jan 4 12:08:07 CST 2024


Hi,

I am trying to implement a No-flux boundary condition for a 3D domain. I previously modeled a no flux boundary in 2D domain using DMDACreate2D and “PETSC_BOUNDARY_MIRROR” which worked well.
However, the manual pages say that the Mirror Boundary is not supported for 3D.
Could you please point me to the right resources to implement no flux boundary condition in 3D domains?

Regards,
Gourav K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240104/9d78785f/attachment.html>


More information about the petsc-users mailing list