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 <[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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/>

Reply via email to