Divergence Theorem (Gauss’, Ostrogradsky’s) to Measure Flow
Version 1.0.0 (2.62 KB) by
Roche de Guzman
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)
%% 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 LinuxCategories
Find more on Volume Visualization in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |