cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

7-Bedrock

## Conformal Mapping in MATHCAD PRIME

Good evening.

I would like to implement a MATHCAD PRIME worksheet to map a solution on a circle to another domain. This technique is well known as conformal transformation. However, I tried to solve it numerically without success. I use this to predict the potential flow pressures around a body in 2D. Does anyone knows if this problem has already beel solved and indicating in which thread? I tried with the search function on the website, but no results. Thanks in advance for the support.

1 ACCEPTED SOLUTION

Accepted Solutions
24-Ruby V
(To:gianfry)

Which kind of conformal map function do you have in mind? f(z):=1/z or inversion (f(z)=1/conjugate z).

Here is a quick hack. The mapping is done point by point, not analytically.

You may chose your own mapping function.

Hope it helps.

Prime10 file attached

6 REPLIES 6
24-Ruby V
(To:gianfry)

Which kind of conformal map function do you have in mind? f(z):=1/z or inversion (f(z)=1/conjugate z).

Here is a quick hack. The mapping is done point by point, not analytically.

You may chose your own mapping function.

Hope it helps.

Prime10 file attached

7-Bedrock
(To:Werner_E)

Good night Werner.

Thanks for the mapping solution. Unfortunately the domain I need to map into a unit circle is not described with a function, but by points. I am talking about a wing section.

I think that if I provide a vector of value your algorithm should work. Am I correct in my understanding?

7-Bedrock
(To:gianfry)

24-Ruby V
(To:gianfry)

@gianfry wrote:

Good night Werner.

Thanks for the mapping solution. Unfortunately the domain I need to map into a unit circle is not described with a function, but by points. I am talking about a wing section.

I think that if I provide a vector of value your algorithm should work. Am I correct in my understanding?

As long as the mapping is done by a function this should work.

Actually my approach only works with a matrix of point coordinates - n x 2 matrix, first column x-coordinates, second column y-coordinates. The result of my function is a similar matrix with the coordinated of the mapped points.

I used an explicit function (the sinus) and the parametric equation of an epicycloid just for demonstration. It was necessary to sample x- and y-values anyway so that my function could do its job. So if thats the data structure you have right from the start it should be OK.

7-Bedrock
(To:Werner_E)

Good evening, Werner.

Following your spreadsheet I finally was able to get the transformation I was looking for. Of course it is based on a function. Now I am working on the implementation of a mapping for a general shape into a unit circle, when the mapping function is not known. I found a paper from Theodorsen, dealing with such a type of problems, but before doing that I am working on plotting stremlines of a potential flow around this type of profile. The solution is well known...I need to figure it out numerically.

Thanks again.

Regards,

Gianfranco

7-Bedrock
(To:gianfry)

Good evening, Werner.

The MATHCAD file attached is the updated version of the previous one, with the potential flow and pressure distribution solved over a Joukowsky airfoil through the conformal mapping technique. Since this solution is exact, it is used to validate numerical methods trying to solve the same problem, like the panel methods.

Maybe it will be useful for other colleagues to have a MATHCAD example to start with and it is my way to say thanks to the community.

Of course, should anyone see improvements, feel free to suggest.

Regards,

Gianfranco

Announcements
Top Tags