Numerical Integration for Cylindrical Domain with C2 Function and Point Data

Click For Summary
SUMMARY

This discussion focuses on numerical integration of a C2 function over a cylindrical domain using point data. The user aims to integrate the product of a function w(x,y,z) and a set of values V(x,y,z) obtained from approximately 1000 points within the domain. The recommended approach involves using Mathematica's interpolation capabilities to create a continuous function from the discrete data points, followed by numerical integration of the interpolated function. The user acknowledges the challenge posed by non-uniformly spaced data, confirming the necessity of interpolation before integration.

PREREQUISITES
  • Understanding of C2 functions and their properties
  • Familiarity with numerical integration techniques
  • Experience with Mathematica, specifically its interpolation functions
  • Knowledge of cylindrical coordinate systems and Riemann sums
NEXT STEPS
  • Explore Mathematica's Interpolation function for data analysis
  • Learn about numerical integration methods applicable to non-uniform data
  • Study Riemann sums and their application in cylindrical coordinates
  • Investigate advanced numerical techniques for solving PDEs with point data
USEFUL FOR

Mathematicians, physicists, and engineers working on numerical methods for partial differential equations, particularly those dealing with point data in cylindrical domains.

Dazedandconfu
Messages
12
Reaction score
0
ok, I'm not completely sure which section this goes into, but since I'm using this to solve a PDE ima going to put it in here,
I need to integrate w(x,y,z)*V(x,y,z) over a cylindrical domain, it would be fairly simple if V had a "formula" describing the function, but i only have V as a number at a bunch of points(1000 points or so) inside the domain(and on the boundary), w is any C2 function which is zero on the boundaries and not identically zero inside.
I chose a function w and found its values at the same points as V is known, but I'm not sure which is the best way to find an approximation to this integral, any help much appreciated, as always.
 
Physics news on Phys.org
Mathematica has a function to generate an interpolation of data points. You could use that and then just numerically integrate the interpolated function. See "Interpolation". Otherwise, if your data is uniformly spaced, why not just construct a Riemann sum on the data:

\iiint\approx \sum_{n=1}^{1000} f(r,\theta,z) \Delta V

where:

\Delta V=r\Delta r\Delta\theta\Delta z
 
hmm, the data is non uniformly spaced, so the riemann integral cannot be done (without interpolation), so i suppose i'll have to generate a interpolation, and then numerically integrate, thanks!,
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
8K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K