[petsc-users] Book for the PETSc finite volume method

Rongliang Chen rongliang.chan at gmail.com
Tue Oct 28 11:33:37 CDT 2014


Hi Jed,

I am solving the 3D compressible Navier-Stokes equations. I have read 
the ex11.c for several days and still do not fully understand this. I 
will look at the older version as you suggested. Maybe I need to go to 
your office to ask you some questions. :-)

Best regards,
Rongliang

On 10/28/2014 10:15 AM, Jed Brown wrote:
> Rongliang Chen <rongliang.chan at gmail.com> writes:
>
>> Thanks Matt and Jed,
>>
>> I am trying to write a parallel FVM code on unstructured grid for
>> compressible NS equations. I found that the finite volume code on the
>> structured mesh is easy to write but for the unstructured mesh, it is
>> really untrivial. I want to follow the PETSc's DMPlexFV but it is not
>> easy to read, so I want to find a good book for it.
> There is no book specific to PETSc's interfaces.  What sort of equations
> are you solving?  For hyperbolic systems, you can look at
> src/ts/examples/tutorials/ex11.c.  Make sure to set up global/tags so
> you can jump to the library implementations, or look at an older version
> that doesn't hide the actual discretization in overly-specialized
> library functions.  (Matt and I wrote this example together, but
> disagree about which parts belong in the library.)



More information about the petsc-users mailing list