[petsc-users] Interaction between multiple DMDA grid

Somdeb Bandopadhyay sb020287 at gmail.com
Wed Dec 28 15:49:22 CST 2016


Hi all,
  I am trying to modify a single block incompressible solver for flow over
open cavity. One way I could do it, is to set part of the domain as flagged
and apply velocity field=0 all over it. But it does not seem to be
appropriate way (I am wasting alot of grid, just to have a small cavity).
So I was wondering, is there any example to interact between two DMDA
grids? I am using petsc to solve the poisson equation so if I can just
create two set of grid (say DA_grid1 and DA_grid2) and have a interface
between them, my problem would be alot more easier.

Thanks a lot in advance.

Somdeb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161229/c7677beb/attachment.html>


More information about the petsc-users mailing list