## Divergence Theorem (Gauss’, Ostrogradsky’s) to Measure Flow

version 1.0.0 (2.62 KB) by
Example showing that the volume integral of the divergence of f = surface integral of the magnitude of f normal to the surface (f dot n)

Updated Sat, 23 Feb 2019 21:09:35 +0000

%% Divergence Theorem to Measure the Flow in a Control Volume (Rectangular Prism)
% Example Proof: flow = volume integral of the divergence of f (flux density*dV) = surface integral of the magnitude of f normal to the surface (f dot n) (flux*dS)
% by Prof. Roche C. de Guzman

### Cite As

Roche de Guzman (2022). Divergence Theorem (Gauss’, Ostrogradsky’s) to Measure Flow (https://www.mathworks.com/matlabcentral/fileexchange/70371-divergence-theorem-gauss-ostrogradsky-s-to-measure-flow), MATLAB Central File Exchange. Retrieved .

##### MATLAB Release Compatibility
Created with R2018b
Compatible with any release
##### Platform Compatibility
Windows macOS Linux

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!