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

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)
159 Downloads
Updated 23 Feb 2019

View License

%% 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 (2024). 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!
Version Published Release Notes
1.0.0