Integrate function over a closed surface
18 views (last 30 days)
Show older comments
Hi
I need to perform an integral over the surface of a sphere/circle (haven't decided on 2d vs 3d simulation yet) of the force due to an inhomogeneous and time-varying scalar pressure field to calculate the instantaneous net pressure force on the sphere.
So this will require integrating dF = P(r)dA across the surface, where P(r) is an arbitrary function of position from an external origin (a source of expanding gas)
Can this be done directly or would I have to divide the surface into triangles and approximate the pressure on each before summing? If the latter how would I go about this
Cheers
3 Comments
Answers (0)
See Also
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!