Flow in a circular duct: Simsons Rule

  • Thread starter Thread starter mcooper
  • Start date Start date
  • Tags Tags
    Circular Flow
Click For Summary
SUMMARY

The discussion focuses on integrating the function log(ri)log(rj) over a unit circle to form the elements aij of a matrix, where ri represents the distance from a point (x,y) to singularities positioned in a circular pattern around the domain. The user confirms that the integration limits for dy are -1 to 1 and for dx are -sqrt(1-y²) to sqrt(1-y²). The integration will be performed using Simpson's Rule in MATLAB after resolving these confusions regarding the setup of the integral.

PREREQUISITES
  • Understanding of multivariable calculus, specifically double integrals.
  • Familiarity with logarithmic functions and their properties.
  • Knowledge of Simpson's Rule for numerical integration.
  • Proficiency in MATLAB for implementing numerical methods.
NEXT STEPS
  • Research the application of Simpson's Rule in MATLAB for double integrals.
  • Explore the properties of logarithmic functions in the context of distance calculations.
  • Study the concept of singularities in mathematical modeling and their implications.
  • Investigate the Euclidean norm and its applications in integration over geometric domains.
USEFUL FOR

Mathematicians, engineers, and data scientists involved in numerical integration, particularly those working with circular geometries and singularity analysis in computational models.

mcooper
Messages
28
Reaction score
0
I want to integrate log(ri)log(rj) over the unit circle where i,j=1,2,...,N and ri=distance between a point (x,y) and a singularity outside the domain. The answers will form the aij of a matrix.

The method I am using is to pattern the singuarities so that they form a circle around the domain. Therefore every singularity is a distance 2 from the centre of the domain. So does every log(ri/j)=2?

Also what are the limits of intergration? Are they -1 and 1 for dy and -sqrt(1-y2) and sqrt(1-y2) for dx?

I understand this is not specifically a Simpsons Rule question but once these confusions have been sorted I will be going on to solve the integral using Simpsons on Matlab.

Thank you
 
Physics news on Phys.org
Just trying to understand your question. Here's my take on it for you to clear up:

You apparently have N singularity points:

P1(x1,y1),P2(x2,y2)...PN(xN,yN)

For each aij you want to do the following integral, where P(x,y) represents a point in the unit circle and || || is the Euclidean norm?

[tex]a_{ij} = \int \int_C \log(||P-P_i||\cdot \log||P-P_j||\ dA[/tex]

[tex]= \int \int_C \log(\sqrt{(x-x_i)^2+(y-y_i)^2})\cdot \log(\sqrt{(x-x_j)^2+(y-y_j)^2})\ dA[/tex]

To answer your question about the limits, yes, you have them correct for a dx dy integral
 
Correct. I am unsure whether I have to integrate for different points (x,y) in the unit circle (domain) or just choose one, in which case the easiest point to choose would be (0,0) and log(ri) would be 2 for every i=1,...n.

Hopefully I have managed to attach the report that I am basing my problem on. Mine is a more simple problem of the circular pipe but the calculations are similar. The question I have asked is regarding the matrix A at the top of page 3. I am trying ot find the unknowns cj.

Thanks
 

Attachments

Similar threads

Replies
24
Views
16K
  • · Replies 15 ·
Replies
15
Views
1K
  • · Replies 16 ·
Replies
16
Views
11K
  • · Replies 21 ·
Replies
21
Views
3K
  • Poll Poll
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 100 ·
4
Replies
100
Views
13K
  • · Replies 40 ·
2
Replies
40
Views
18K
  • · Replies 55 ·
2
Replies
55
Views
11K
  • · Replies 46 ·
2
Replies
46
Views
9K