[petsc-users] using DMDA with python

E. Tadeu e.tadeu at gmail.com
Wed Oct 5 11:19:24 CDT 2016


Matt,

  Do you know if there is any example of solving Navier Stokes using a
staggered approach by using a different DM object such as DMPlex?


  Thanks,
    Edson


On Tue, Oct 4, 2016 at 11:12 PM, Matthew Knepley <knepley at gmail.com> wrote:

> On Tue, Oct 4, 2016 at 9:02 PM, Somdeb Bandopadhyay <sb020287 at gmail.com>
> wrote:
>
>> Dear all,
>>             I want to write a solver for incompressible navier stokes
>> using python and I want to use PETsc (particularly dmda & ksp) for this.
>> May I know if this type of work is feasible/already done?
>>
>
> How do you plan to discretize your system? DMDA supports only collocation
> discretizations, so some sort of penalty for pressure would
> have to be employed.
>
>   Thanks,
>
>      Matt
>
>
>>             I intend to run my solver in a cluster and so am slightly
>> concerned about the performance if I use python with petsc.
>>             My deepest apologies if this mail of mine caused you any
>> inconvenience.
>>
>> Somdeb
>>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which their
> experiments lead.
> -- Norbert Wiener
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20161005/d6c5de68/attachment.html>


More information about the petsc-users mailing list