I work with a grid-based code, this means that all of my quantities are defined on a mesh. I need to compute, for every point of the mesh the divergence of the velocity field.(adsbygoogle = window.adsbygoogle || []).push({});

All I have is, for every cell of my mesh, the values of the 3-d velocity in his 26 neighbors.

I call neighbors the cells with center (i,j,k) with i,j,k=-1,0,1 and (0,0,0) being the center of the cell.

What's the best discretization of the divergence operator under these assumptions?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Discretization of the divergence operator

Loading...

Similar Threads - Discretization divergence operator | Date |
---|---|

A Help with Discrete Sine Transform | Sep 29, 2017 |

I How does divergence calculate all of flow through a surface? | May 24, 2017 |

How to discretize an integral | Mar 24, 2015 |

Showing convexity of a discrete function | Jun 14, 2014 |

Trapezoidal Integral of Discrete Values | Apr 5, 2014 |

**Physics Forums - The Fusion of Science and Community**