Algorithm-how to proceed (numerical techniques)

  • Thread starter Thread starter shalini.singh
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on integrating a function defined at the vertices of triangular and quadrilateral elements within a 2D domain. The user, Shalini, seeks an algorithm to perform numerical integration along specified strips intersecting these elements. Key inputs include the vertices of the elements, function values at these vertices, and the geometry of the strip. A proposed algorithm involves identifying intersected elements, determining function values at intersection points, and applying numerical integration techniques. Concerns are raised about the clarity of the problem description and the implications of integrating over closed paths.

PREREQUISITES
  • Understanding of 2D geometric elements (triangles and quadrilaterals)
  • Knowledge of numerical integration techniques
  • Familiarity with function interpolation at non-vertex points
  • Basic principles of calculus and integration
NEXT STEPS
  • Research numerical integration methods, focusing on techniques like Simpson's Rule and Trapezoidal Rule
  • Explore function interpolation methods, particularly linear and polynomial interpolation
  • Study Chebyshev polynomials and their applications in numerical analysis
  • Investigate algorithms for determining intersections of lines with polygons
USEFUL FOR

Mathematicians, engineers, and computer scientists involved in computational geometry, numerical analysis, and anyone working on algorithms for integrating functions over complex domains.

shalini.singh
Messages
1
Reaction score
0
My problem is like this:

I have a 2 dimensional domain

Now, that domain is made up of eleemnts- these elemnts are triangular
or quadrilateral in shape. Each triangualr and quadrilateral element has 3 and 4 vertices (a triangular element has 3 vertices and quadrilateral has 4 vertices).

We have fixed function values at these vertices- the function is (Say) F

In that 2-D domain we define a strip (a strip is just a part of the area of that domain), A strip may have several sections - (those) lines as in attached figure (summary-figure.jpg)- the vertical lines are sections.

What I need is::

I need to integrate the resultant (function) along the length of each design strip section and
hence across the width of the design strip.

I could think to proceed in the following steps::

The inputs are:

A) All the triangle/quadrilateral vertices
B) Function values at all the vertices
C) The line over which you want to integrate
D)geometry of the strip

The broad algorithm would be like this:
1. Find which quadrilaterals/triangles this line intersects
2. Find the function values at the points of intersection of the line with the sides of these quadrilatrals/triangles
3. Use numerical integration to integrate the function from these values

Can anyone help me with a better algorithm?

Also, how would I proceed with 3 above?What would be the best for numerical integration?

Someone suggested about Chebyshev polynomials- but I do not have any idea of it!

Please please can anyone help?It si very urgent

Shalini
 

Attachments

  • summary-figure.JPG
    summary-figure.JPG
    19.5 KB · Views: 622
Physics news on Phys.org
To get a better algorithm you will have to get a better problem description first. It is not clear what the function values are if the point isn't a vertex, i.e. it is not clear what to integrate or maybe just sum. However this is essential to know. Also the role of your strips and sections is not clear. And last but not least, integration over a closed path, let it be a triangle, quadrilateral or circle yields always zero as result. This is because volumes, areas in our case, are oriented and we move backwards the same amount as we move forward, so we end up with zero.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
6K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K
  • Poll Poll
  • · Replies 27 ·
Replies
27
Views
10K