[petsc-users] DMForest

Sepideh Kavousi skavou1 at lsu.edu
Mon Sep 10 11:10:21 CDT 2018


Matthew,

It must be definitely because of my limited knowledge but, as an engineer, the documentation for DMForest is not clear to me. Does DMforest change the mesh of domain dynamically as the system changes?


I am studying solidification problem by solving cahn-hillard equation.  The solid phase starts from a point and it grows in the liquid phase by time. Does DMForest dynamically refine mesh at regions close to interface and coarse at domain far from the interface ( interface is moving)?

Thanks,

Sepideh

________________________________
From: Matthew Knepley <knepley at gmail.com>
Sent: Thursday, September 6, 2018 6:46:55 PM
To: Sepideh Kavousi
Cc: PETSc
Subject: Re: [petsc-users] DMForest

On Thu, Sep 6, 2018 at 6:04 PM Sepideh Kavousi <skavou1 at lsu.edu<mailto:skavou1 at lsu.edu>> wrote:

Hello,

I have a Petsc code solving PDE using FD method, and I generated the structures grid with DMDA. I was planning to implement adaptive mesh refinement to the same structures mesh but the documentation on the DMForest is not easy to find. I checked the petsc/src/dm/impls/forest/examples/tutorials but I found one tutorial which did not have so much information. I also found src/ts/examples/tutorials/ex11.c but it was for DMPlex, and finite volume method.

I wonder if there is another example for DMForest?

TS ex11 works for Plex or Forest.

  Thanks,

     Matt


Thanks,


--
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

https://www.cse.buffalo.edu/~knepley/<http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180910/663090af/attachment.html>


More information about the petsc-users mailing list