[petsc-users] PetscFV without ghost boundary conditions

Thibault Bridel-Bertomeu thibault.bridelbertomeu at gmail.com
Mon Jan 17 04:23:49 CST 2022


Hi everyone,

I was wondering if it was possible to build a solver based on PetscFV
without using ghost cells for the boundary conditions ?
Would it be possible to call PetscDSAddBoundary with DM_BC_ESSENTIAL and so
on instead of DM_BC_NATURAL_RIEMANN ?

Mostly in the case of an hybrid problem with FVM and FEM (like for instance
ex18.c from the TS tutorials), it would make sense that the boundaries
shared by the two discretizations be set at the same locations, i.e. for
FEM the quadrature points, wouldn't it ?

Thanks !!
Thibault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220117/15e996d8/attachment.html>


More information about the petsc-users mailing list