[petsc-users] Example for unstructured grid, metis, petsc

Matthew Knepley knepley at gmail.com
Mon Aug 22 08:10:59 CDT 2016


On Mon, Aug 22, 2016 at 8:02 AM, Hoang Giang Bui <hgbk2008 at gmail.com> wrote:

> Dear Matt
>
> The last option is in fact very interesting. Do you know if we can already
> use it a priori from the master branch?
>

Yes. It is working on SNES ex12, ex62, and TS ex11. We have some more work
to do testing adaptivity, but simple
gradient indicators are working right I think.

  Thanks,

     Matt


> Giang
>
> On Mon, Aug 22, 2016 at 12:45 PM, Matthew Knepley <knepley at gmail.com>
> wrote:
>
>> On Mon, Aug 22, 2016 at 4:05 AM, Praveen C <cpraveen at gmail.com> wrote:
>>
>>> Dear all
>>>
>>> We are developing a 3d unstructured grid finite volume code for
>>> compressible turbulent flows.
>>>
>>> Our approach is to use metis/parmetis to partition the mesh.
>>> Then read these partitioned mesh files in the MPI-based cfd code for
>>> computation.
>>>
>>> Are there any examples available in PETSc which are similar to this.
>>>
>>
>> That is a pretty difficult problem. The closest example we have is
>> probably TS ex11, which can solve
>> things like the shallow water equation and Euler. Currently it reads in a
>> mesh, partitions in memory,
>> and distributes the mesh using MPI. After that it can regularly refine.
>> In the next release, we will
>> introduce the ability to
>>
>>   - read a mesh in parallel
>>
>>   - adaptively refine in parallel using the Pragmatic package
>>
>>   - load balance after adaptive refinement
>>
>>   - use adaptive quadtree meshes from p4est
>>
>>   Thanks,
>>
>>      Matt
>>
>>
>>> Thanks
>>> praveen
>>>
>> --
>> 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
>>
>
>


-- 
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/20160822/a266ca71/attachment-0001.html>


More information about the petsc-users mailing list