j-fu / VoronoiFVM.jl

Solution of nonlinear multiphysics partial differential equation systems using the Voronoi finite volume method
MIT License
183 stars 33 forks source link

Added boundary flux and boundary source #11

Closed mattlie82 closed 3 years ago

mattlie82 commented 3 years ago

Added bflux and bsource to describe surface fluxes and (fixed) sources.

The example in Example311_HeatEquation_BoundaryDiffusion.jl still shows problems (artefacts near boundaries). Moreover, it is currently not possible to describe anything but homogeneous Neumann boundary conditions for the surface fluxes. This needs additionally functionality in ExtendableGrids.jl.

mattlie82 commented 3 years ago

Tests fail due to allocations during assembly in boundary face loop.

j-fu commented 3 years ago

Ok, kann es sein dass Du ein modifiziertes ExtendableGrids nutzt ? Dann bräuchte erst einmal den PR dort.

mattlie82 commented 3 years ago

Ok, kann es sein dass Du ein modifiziertes ExtendableGrids nutzt ? Dann bräuchte erst einmal den PR dort.

I did, see https://github.com/j-fu/ExtendableGrids.jl/pull/8